思科4500 VSS配置

image.png

4500交换机配置VSS的一些注意事项:

1) 两台设备的板卡型号必须一致('WS-X44xy' 'WS-X42xy'开头的板卡不支持 )

2)软件要求:Cisco IOS XE 3.4.0SG 和 ROMMON IOS Version 15.0(1r) SG7以上

3)License要求:

备注:由于文档比较老,现在4506的型号已经是SUP8E,SUP8E也是支持的

image1.png

在配置VSS前,请验证硬件、软件和License信息

sh ver | in IOS
sh ver | in ROM
sh license image levels

配置步骤

第一步:分配虚拟交换机域和交换机编号

SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#switch virtual domain 10 
Domain ID 10 config will take effect only after the exec command 'switch convert mode virtual' is issued 
SW1(config-vs-domain)#switch 1 
SW1(config-vs-domain)#exit 
SW1(config)#

SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z. 
SW2(config)#switch virtual domain 10 
Domain ID 10 config will take effect only after the exec command 'switch convert mode virtual' is issued 
SW2(config-vs-domain)#switch 2 
SW2(config-vs-domain)#exit 
SW2(config)#

第二步:配置VSL Port Channel

注意:两台设备的port-channel编号必须不能相同

SW1(config)#int port-channel 5 
SW1(config-if)#switchport 
SW1(config-if)#switch virtual link 1 
SW1(config-if)#no shut 
SW1(config-if)#exit

SW2(config)#int port-channel 10 
SW2(config-if)#switchport 
SW2(config-if)#switch virtual link 2 
SW2(config-if)#no shut 
SW2(config-if)#exit 

第三步:配置VSL端口

SW1(config)#int range ten1/1 - 2 
SW1(config-if-range)#switchport mode trunk 
SW1(config-if-range)#channel-group 5 mode on 
WARNING: Interface tenGigabitEthernet1/1 placed in restricted config mode. All extraneous configs removed! WARNING: Interface tenGigabitEthernet1/2 placed in restricted config mode. All extraneous configs removed! 
SW1(config-if-range)#exit
SW2(config)#int range ten1/1 - 2 
SW2(config-if-range)#switchport mode trunk 
SW2(config-if-range)#channel-group 10 mode on 
WARNING: Interface tenGigabitEthernet1/1 placed in restricted config mode. All extraneous configs removed! WARNING: Interface tenGigabitEthernet1/2 placed in restricted config mode. All extraneous configs removed! 
SW2(config-if-range)#exit

第四步:将当前的交换机模式切换为虚拟交换机(VSS)模式

SW1#switch convert mode virtual 
This command will convert all interface names to naming convention "interface-type switch-number/slot/port", save the running config to startup-config and reload the switch. Do you want to proceed? [yes/no]: yes Converting interface names
SW2#switch convert mode virtual​ 
This command will convert all interface names to naming convention "interface-type switch-number/slot/port", save the running config to startup-config and reload the switch. Do you want to proceed? [yes/no]: yes Converting interface names

验证

SW1#sh switch virtual
SW1#sh switch virtual role
SW1#sh switch virtual link
SW1#sh switch virtual link port-channel
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容