(enable) set system name bg-sw-02 /設(shè)備名稱 Bg-sw-02> (enable) set password Enter old password: Enter new password: test /設(shè)備口令 Retype new password: test Bg-sw-02> (enable) set ena。1 經(jīng)典配置包括Catalyst6509 4006交換機(jī)配置方案( 六 )。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

1 經(jīng)典配置包括Catalyst6509 4006交換機(jī)配置方案( 六 )


Console> (enable) set system name bg-sw-02 /設(shè)備名稱
Bg-sw-02> (enable) set password
Enter old password:
Enter new password: test /設(shè)備口令
Retype new password: test
Bg-sw-02> (enable) set enablepass
Enter old password:
Enter new password: test /設(shè)備口令
Retype new password: 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è)置治理接口 #sh int
Bg-sw-02> (enable) set ip route default 10.234.180.234 /設(shè)置默認(rèn)網(wǎng)關(guān) #sh ip route
Bg-sw-02> (enable) set vtp mode server /設(shè)置VTP模式 #sh vtp domain
Bg-sw-02> (enable) set vtp domain Core_Net /設(shè)置VTP域名
Bg-sw-02> (enable) set vlan 31 name ZhongSanLu /創(chuàng)建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 /設(shè)置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 /設(shè)置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 /設(shè)置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 /設(shè)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 /設(shè)spantree端口快速切換
Bg-sw-02> (enable) set spantree backbonefast enable /設(shè)spantree端口快速定位根
2.1、配置三層交換模塊(三層交換模塊安置在第二)
Console> (enable) session 2 /進(jìn)入路由子卡
Router(config)# hostname c4006-L3 /設(shè)備名
c4006-L3 (config)# enable password test /設(shè)口令
c4006-L3 (config)# enable secret test
c4006-L3(config)# banner motd % Welcome to the c4006-l3 in the Office % /設(shè)提示文本
c4006-L3 (config)# line vty 0 4 / 進(jìn)入VTY模式
c4006-L3 (config-line)#login/ 登入提示
c4006-L3 (config-line)#password test/ 設(shè)用戶級(jí)口令
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 /建內(nèi)部虛端口
C4006-L3(config)# interface g3 /進(jìn)入接口模式
C4006-L3(config-if)# channel-group 1/ 加入到channel組中
C4006-L3(config-if)# exit
C4006-L3(config)# interface g4 /進(jìn)入接口模式
C4006-L3(config-if)# channel-group 1 / 加入到channel組中
C4006-L3(config-if)# exit
C4006-L3(config)# interface port-channel 1.1 /進(jìn)入子接口模式
C4006-L3(config-if)# encapsulation dot1q 1 native / 封裝trunk
C4006-L3(config-if)# ip address 10.234.180.233 255.255.255.0 /加ip地址
C4006-L3(config-if)# no shutdown/開啟端口
C4006-L3(config-if)# standby 1 ip 10.234.180.234 /建HSRP組并設(shè)虛IP地址
C4006-L3(config-if)# standby 1 priority 100 /設(shè)優(yōu)先級(jí)
C4006-L3(config-if)# standby 1 preempt /設(shè)切換許可
C4006-L3(config-if)# interface port-channel 1.31
C4006-L3(config-if)# encapsulation dot1q 31
C4006-L3(config-if)# ip address 10.234.181.61 255.255.255.192
C4006-L3(config-if)# no shutdown
C4006-L3(config-if)# standby 31 ip 10.234.181.62
C4006-L3(config-if)# standby 31 priority 100
C4006-L3(config-if)# standby 31 preempt
C4006-L3(config-if)# interface port-channel 1.32

推薦閱讀