组VSU设备,通常需要2台以上盒式设备
需要用到AOC线或者光纤线分别插到盒式设备的光口
遵循以下插线原则:
通过命令show switch virtual config 查看设备是standalone还是virtual。
如果是virtual需要通过switch convert mode standalone 切成单机
然后每台设备配置以下命令
Config ter
switch virtual domain 100
switch $Switch ID
switch $Switch ID pri $Switch priority
exit
vsl-port
port-me int $portnum
配置注意:
1.每台的$Switch ID根据对应台数依次递增,从第一台开始为1,第二台为2,依次类推,第n台为n
2.主设备switch1 $Switch priority最大,switch 2次大,依次递减
3. $portnum:填组VSU时候用的光口,以show int sta | in up显示的为准
举个栗子:
第一台
Config ter
switch virtual domain 100
switch 1
switch 1 pri 100
exit
vsl-port
port-me int te4/47(写组VSU用的光口)
第二台
switch virtual domain 100
switch 2
switch 2 pri 99
exit
vsl-port
port-me int te0/32
第三台
switch virtual domain 100
switch 3
switch 3 pri 98
exit
vsl-port
port-me int te0/32
以此类推
配置好后通过命令检查配置
S57H#show switch virtual config
然后主机和从机同时输入以下命令
Ruijie#switch convert mode virtual //切换成VSU模式
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y
Do you want to recover config file from backup file in virtual mode (press ‘ctrl + c’ to cancel) [yes/no]:N
组成后只可以通过主机switch 1的串口登陆和操作,
验证是否组成功,及问题排查:
- Ruijie#show version slots 查看VSU是否组成功
- Show int sta | in up查看光口是否有UP
- Ruijie#show switch virtual config模式是否都是virtual
- Ruijie#show version detail是否都是同种型号
- Ruijie#show version detail几台设备的版本日期是否一致
组成功后关闭本地优先转发:
switch virtual domain 100
no switch virtual aggregateport-lff enable
no switch virtual ecmp-lff enable
备注:
g1/0/1为switch 1的0/1接口,g2/0/1即switch 2的g0/1接口,以此类推