思科VSS配置指南


更換思科VSS成員

4500x-VSS#show switch virtual //virtual命令顯示的交換機提供活動和暫掛信息。

4500X-VSS#redundancy force-switchover  //故障切換

4500X-VSS#show redundancy  //驗證故障切換

4500X-VSS(config)#switch virtual domain 100
4500X-VSS(config-vs-domain)#switch 1
4500X-VSS(config)#interface port-channel 10
4500X-VSS(config-if)#switchport 
4500X-VSS(config-if)#switch virtual link 1
4500X-VSS(config)#int range tenGigabitEthernet 1/1/15-16
4500X-VSS(config-if-range)# channel-group 10 mode on
4500X-VSS# switch convert mode virtual //從獨立的交換機模式到虛擬,交換機將重新加載。

4500X-VSS# show switch virtual //顯示交換機保證每交換機在正確狀態

4500X-VSS# show redundancy     //為了驗證你是回到在Stateful Switchover(SSO)或熱備件狀態

4500X-VSS# show switch virtual link //為了驗證VSL鏈路。

兩台Cisco 6509 VSS配置
1.兩台Cisco 6509形成VSS,分別使用引擎接口T5/4和T5/5作為VSL
2.使用G1/2作為雙活檢測線路,當VSL斷開,使用fast-hello機制,防止VSS雙活的出現。
6509-1:
1)制定switch 1,配置優先級
switch virtual domain 1
 switch 1
 switch 1 priority 110
 switch 2 priority 100
 mac-address use-virtual
2)配置VSL
interface port-channel 1
 no sh
 switch virtual link 1
 exit
int range ten5/4-5
 no sh
 channel-group 1 mode on
 exit
3)特權模式下執行轉換命令到虛擬模式
switch convert mode virtual
輸入”yes”

6509-2:
1)制定switch 2,配置優先級
switch virtual domain 1
 switch 2
 switch 1 priority 110
 switch 2 priority 100
2)配置VSL
int port-channel 2
 no sh
 switch virtual link 2
 exit
int range ten5/4-5
 no sh
 channel-group 2 mode on
 exit
3)特權模式下執行轉換命令
switch convert mode virtual
輸入“yes”

當兩台設備形成VSS后,6509-2的配置會消失需要重新配置VSL:

int port-channel 2
 no sh
 switch virtual link 2
 exit
int range ten2/5/4-5
 channel-group 2 mode on 
 exit

配置雙活檢測(兩邊使用G1/2接口互聯線路)
switch virtual domain 1
 dual-active detection fast-hello
int range g1/1/2,g2/1/2
 shut
 dual-active fast-hello
int range g1/1/2,g2/1/2
 no sh

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM