二、Catalyst 4006交换机配置方案
2.1、配置4006二层交换(三层交换模块安置在第二个槽)
Console> (enable) set system name bg-sw-02 /设备名称
Bg-sw-02> (enable) set password
Enter old password: <old_password>
Enter new password: <new_password> test /设备口令
Retype new password: <new_password> test
Bg-sw-02> (enable) set enablepass
Enter old password: <old_enablepass>
Enter new password: <new_ enablepass > test /设备口令
Retype new password: <new_ enablepass > test
Bg-sw-02> (enable) set banner motd % Welcome to the c4006 in the office % /提示文本
Bg-sw-02> (enable) set interface sc0 10.234.180.22 255.255.255.0 /设置管理接口 #sh int
Bg-sw-02> (enable) set ip route default 10.234.180.234 /设置默认网关 #sh ip route
Bg-sw-02> (enable) set vtp mode server /设置VTP模式 #sh vtp domain
Bg-sw-02> (enable) set vtp domain Core_Net /设置VTP域名
Bg-sw-02> (enable) set vlan 31 name ZhongSanLu /创建VLAN #sh vlan
Bg-sw-02> (enable) set vlan 32 name YiYang
Bg-sw-02> (enable) set vlan 33 name JianXiu
Bg-sw-02> (enable) set vlan 34 name RaoDian
Bg-sw-02> (enable) set vlan 35 name JinSanLou
Bg-sw-02> (enable) set vlan 36 name WuZi
Bg-sw-02> (enable) set port channel 1/1-2 on /设置Channel #sh port channel
Bg-sw-02> (enable) set trunk 1/1 on dot1q 1-1005
Bg-sw-02> (enable) set port channel 2/1-2 on /设置Channel #sh port channel
Bg-sw-02> (enable) set trunk 2/1 on dot1q 1-1005
Bg-sw-02> (enable) set trunk 4/1 on dot1q 1-1005 /设置trunk口 #sh trunk #
Bg-sw-02> (enable) set trunk 4/3 on dot1q 1-1005
Bg-sw-02> (enable) set trunk 4/4 on dot1q 1-1005
Bg-sw-02> (enable) set spantree root secondary 1-40 dia 4
Bg-sw-02> (enable) set spantree portfast 1/1-2 enable /设spantree端口快速启用
Bg-sw-02> (enable) set spantree portfast 2/1-34 enable
Bg-sw-02> (enable) set spantree portfast 3/1-32 enable
Bg-sw-02> (enable) set spantree portfast 4/1-6 enable
Bg-sw-02> (enable) set spantree uplinkfast enable /设spantree端口快速切换
Bg-sw-02> (enable) set spantree backbonefast enable /设spantree端口快速定位根
2.1、配置三层交换模块(三层交换模块安置在第二)
Console> (enable) session 2 /进入路由子卡
Router(config)# hostname c4006-L3 /设备名
c4006-L3 (config)# enable password test /设口令
c4006-L3 (config)# enable secret test
c4006-L3(config)# banner motd % Welcome to the c4006-l3 in the Office % /设提示文本
c4006-L3 (config)# line vty 0 4 / 进入VTY模式
c4006-L3 (config-line)#login / 登入提示
c4006-L3 (config-line)#password test / 设用户级口令
c4006-L3 (config-line)# end
C4006-L3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
C4006-L3(config)# interface port-channel 1 /建内部虚端口
C4006-L3(config)# interface g3 /进入接口模式
C4006-L3(config-if)# channel-group 1 / 加入到channel组中
C4006-L3(config-if)# exit
C4006-L3(config)# interface g4 /进入接口模式
C4006-L3(config-if)# channel-group 1 / 加入到channel组中
C4006-L3(config-if)# exit
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- 三层交换技术专题 (1708篇文章)
- 交换机与路由器密码恢复 (3943篇文章)
- 交换机的选购 (1634篇文章)
- 常用交换机典型配置 (1634篇文章)
- 交换机故障处理手册 (1693篇文章)
- Cisco交换机专题 (4265篇文章)
- 华为交换机 (2439篇文章)
- 电脑配置手册 (8416篇文章)
- 服务器配置专栏 (10992篇文章)
- 思科交换机配置 (4265篇文章)
- 医疗行业存储解决方案:给医院数据容灾开“药 (0次浏览)
- 一指“扭”乾坤:惠普单键灾难恢复解决方案 (0次浏览)
- 全面细致讲解企业内部组网方案 (0次浏览)
- NEC面向全球市场推出第一款移动WiMAX解决方案 (0次浏览)
- Wsdom为山东联通网络业务保驾护航 (0次浏览)
- 北京石油化工学院借WATM实现网络计费增值 (0次浏览)
- WATM-2500为北大附小远程教育保驾增值 (0次浏览)
- 上海音乐学院借WATM-2500奏出网络管理的最强音 (0次浏览)
- 维维集团采用深信服上网行为管理解决方案 (0次浏览)
- RSA推广enVision安全管理平台 (0次浏览)



