更换思科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