取消
显示结果 
搜索替代 
您的意思是: 
cancel
4312
查看次数
36
有帮助
4
回复

#分享达人# 最近做的4500E系列双机VSS配置

fortune
VIP Alumni
VIP Alumni
1 . 备份配置
Switch-1#copy running-config startup-config //这个其实是option 可选
Switch-1#copy startup-config disk0:old-startup-config // 备份启动配置文件到disk0: 命名为old
Switch-2#copy running-config startup-config
Switch-2#copy startup-config disk0:old-startup-config // 备份启动配置文件到disk0: 命名为old
SSO and NSF are configured as default on VSS.
2. 加域,配置成员
Switch-1(config)# switch virtual domain 100
Switch-1(config-vs-domain)# switch 1
Switch-1(config-vs-domain)# exit
Switch-2(config)# switch virtual domain 100
Switch-2(config-vs-domain)# switch 2
Switch-2(config-vs-domain)# exit
3. 配置 VSL
Step 1 Switch-1(config)# interface port-channel 10
Step 2 Switch-1(config)# switchport /配置而成端口
Step 3 Switch-1(config-if)# switch virtual link 1
Step 4 Switch-1(config-if)# no shutdown
Step 5 Switch-1(config-if)# exit
将端口加入到channel
Switch-1(config)# interface range tengigabitethernet 3/1-2
Switch-1(config-if)# channel-group 10 mode on
Switch-1(config-if)# no shutdown
Step 1 Switch-2(config)# interface port-channel 20
Step 2 Switch-2(config)# switchport /配置而成端口
Step 3 Switch-2(config-if)# switch virtual link 2
Step 4 Switch-2(config-if)# no shutdown
Step 5 Switch-2(config-if)# exit
将端口加入到channel
Switch-2(config)# interface range tengigabitethernet 3/1-2
Switch-2(config-if)# channel-group 20 mode on
Switch-2(config-if)# no shutdown
注意: 交换机1、2 要使用不同的channel 号 ,不同的VSL 号
4.转换切换到虚拟交换机模式
Switch-1# switch convert mode virtual
输入yes。 系统将创建一个转换配置文件, 将文件保存到bootflash中。
Switch-2# switch convert mode virtual
show switch virtual
show switch virtual role
show switch virtual link
show switch virtual link port-channel
show switch virtual link port
切换回来 单机模式:
Switch-1# copy startup-config bootflash:vs-startup-config
Switch-1# switch convert mode stand-alone
Switch-2# switch convert mode stand-alone
配置VSS参数
优先级配置 ,高优先级为active
Switch(config)# switch virtual domain 100
Switch(config-vs-domain)# switch 1 priority 200 //1 - 255
Switch(config-vs-domain)# exit
- 新配置需要保持重启才生效
- 默认100
配置双主动检测 // 这个互联端口必须非VSL
Switch(config)# switch virtual domain 100
Switch(config-vs-domain)# dual-active detection fast-hello
Switch(config-vs-domain)# exit
Switch(config)# interface fastethernet 1/2/40
Switch(config-if)# dual-active fast-hello
WARNING: Interface FastEthernet1/2/40 placed in restricted config mode. All extraneousconfigs removed!
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# exi
show run interface fastethernet 1/2/40
4 条回复4

xuxianda7
Spotlight
Spotlight
非常感谢分享好资料,已经MARK

bo chen
Spotlight
Spotlight
干货 干货 干货

syuu
Spotlight
Spotlight
不错不错。

瞬间与永恒
Level 1
Level 1
学习了,谢谢大神分享:)
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接