一、交换机虚拟化(VSU)
1、物理线路连接(盒式交换机一般只能使用SFP+接口建立VSU)
2.配置VSU参数
第一台交换机:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#switch virtual domain 1
Ruijie(config-vs-domain)#switch 1
Ruijie(config-vs-domain)#switch 1 priority 150
Ruijie(config-vs-domain)#switch 1 description Switch-1
Ruijie(config-vs-domain)#exit
Ruijie(config)#vsl-port
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/49
Ruijie(config-vsl-port)#end
Ruijie#switch convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y
第二台交换机:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#switch virtual domain 1
Ruijie(config-vs-domain)#switch 2
Ruijie(config-vs-domain)#switch 2 priority 120
Ruijie(config-vs-domain)#switch 2 description Switch-2
Ruijie(config-vs-domain)#exit
Ruijie(config)#vsl-port
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/49
Ruijie(config-vsl-port)#end
Ruijie#switch convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y
等待交换机重启,成功建立VSU后,开始配置BFD双机检测
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#interface range gigabitEthernet 1/0/48,2/0/48
Ruijie(config-if-range)#no switchport
Ruijie(config-if-range)#exit
Ruijie(config)#switch virtual domain 1
Ruijie(config-vs-domain)#dual-active bfd interface gigabitEthernet 1/0/48
Ruijie(config-vs-domain)#dual-active bfd interface gigabitEthernet 2/0/48
Ruijie(config-vs-domain)#end
Ruijie#write
VSU配置完成
二、AC虚拟化(VAC)
1、物理线路连接(盒式AC可使用千兆RJ45电口或SFP光口建立VAC)
2.配置VSU参数
第一台AC:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#device 1
Ruijie(config-vac-domain)#device 1 priority 150
Ruijie(config-vac-domain)#device 1 description AC-1
Ruijie(config-vac-domain)#exit
Ruijie(config)#vac-port
Ruijie(config-vac-port)#port-member interface GigabitEthernet 0/2 copper
Ruijie(config-vac-port)#end
Ruijie#device convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y
第一台AC:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#device 2
Ruijie(config-vac-domain)#device 2 priority 120
Ruijie(config-vac-domain)#device 2 description AC-2
Ruijie(config-vac-domain)#exit
Ruijie(config)#vac-port
Ruijie(config-vac-port)#port-member interface GigabitEthernet 0/2 copper
Ruijie(config-vac-port)#end
Ruijie#device convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y
等待AC重启,成功建立VAC后,开始配置BFD双机检测
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#interface range gigabitEthernet 1/0/3,2/0/3
Ruijie(config-if-range)#no switchport
Ruijie(config-if-range)#exit
Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#dual-active bfd interface gigabitEthernet 1/0/3
Ruijie(config-vac-domain)#dual-active bfd interface gigabitEthernet 2/0/3
Ruijie(config-vs-domain)#end
Ruijie#write
VAC配置完成