vss配置步驟
----------------------------------------------------
第一步:備份
switch1:
copy running-config startup-config
copy startup-config disk0:old-startup-config
switch2:
第二步:配置SSO(預設已經是SSO,可以不配置,NSF也可以選擇不配置)
switch1 & switch2:
redundancy
mode sso
exit
show run
show redundancy states
----------------------------------
第三步:配置domain和number(domain為100,200,300,switch 1 switch 2)
switch virtual domain 100
switch 1
switch 1 priority 110
switch 1 preempt
switch 2
switch 2 preempt
-----------------------------------------
第四步:配置VSL的portchannel和port
int port-channel 1
switch virtual link 1
no shut
int port-channel 2
switch virtual link 2
interface ten 1/1
channel-group 1 mode on
interface ten 5/4
interface ten 1/1
channel-group 2 mode on
檢查指令
show switch virtual link
show switch virtual link port-channel
show switch virtual link port
----------------------------------------
第五步:切換到virtual mode
switch convert mode virtual
show switch virtual
show switch virtual role
------------------------------------------------
第六步:switch 2 port-channel修改
int port-channel 2
switch virtual link 2
int ten 2/1/1
int ten 2/5/4
第七步:配置參數,優化配置(可選)
1.MAC位址
2.BFD
-------------------------------------------------
配置路由器mac位址指派
mac-address use-virtual
配置BFD Dual-Active detection (需要單獨的跳線)
配置步驟:
int ten 1/5/1
no switchport
ip add 200.230.230.231 255.255.255.0
bfd interval 100 min_rx 100 multiplier 3
no shutdown
int ten 2/5/1
ip add 201.230.230.231 255.255.255.0
bfd interface 100 min_rx 100 muliplier 3