In this guide, we will configure two Ruijie switches as a single logical switch using VSU (Virtual Switching Unit).
VSU allows multiple physical switches to operate and be managed as one logical device. This simplifies switch management and provides redundancy if one of the switches fails.
Before starting, make sure that:
- Both switches are the same model.
- Both switches are running a compatible firmware version.
- The switches support VSU.
- The required ports are available for the VSL (Virtual Switch Link) connections.
- Important configurations are backed up before making changes.
In this example, we will use two 10G ports on each switch for the VSL connections. Once the VSU is configured, one switch will operate as Active and the other as Standby, while both switches will function as a single logical switch.
VSU Topology
| SPSWBB-SW01 | SPSWBB-SW02 |
|---|---|
| Switch 1 | Switch 2 |
| Priority: 200 | Priority: 100 |
| Te 0/19 | Te 0/19 |
| Te 0/20 | Te 0/20 |
Note : Using the same port numbers on both switches makes the cabling easier to understand and troubleshoot.
Step 1 – Configure Switch 1
Copy the complete configuration below and paste it into Switch 1:
conf t
interface vlan 1
no ip address mix 192.168.1.200 255.255.255.0
exit
interface Mgmt 0
no ip address mix 192.168.1.200 255.255.255.0
exit
hostname SPSWBB-SW01
switch virtual domain 1
switch 1
switch 1 priority 200
switch 1 description SPSWBB-SW01
switch crc errors 10 times 20
exit
vsl-port
port-member interface tengigabitethernet 0/19
port-member interface tengigabitethernet 0/20
exit
end
write memoryThen convert the switch to VSU mode:
switch convert mode virtualStep 2 – Configure Switch 2
Copy the complete configuration below and paste it into Switch 2:
conf t
interface vlan 1
no ip address mix 192.168.1.200 255.255.255.0
exit
interface Mgmt 0
no ip address mix 192.168.1.200 255.255.255.0
exit
hostname SPSWBB-SW02
switch virtual domain 1
switch 2
switch 2 priority 100
switch 2 description SPSWBB-SW02
switch crc errors 10 times 20
exit
vsl-port
port-member interface tengigabitethernet 0/19
port-member interface tengigabitethernet 0/20
exit
end
write memoryThen:
switch convert mode virtualStep 3 – Connect the VSL Cables
Keep the cabling simple:
SW01 Te 0/19 <------> SW02 Te 0/19
SW01 Te 0/20 <------> SW02 Te 0/20Step 4 – Verify the VSU
After both switches have joined the VSU:
show switch virtual
show switch virtual config
show switch virtual link
show switch virtual link portThe two physical Ruijie switches now operate as one logical VSU switch. This provides switch redundancy while allowing both switches to be managed as a single logical system.
I hope this guide helps you successfully configure your Ruijie VSU infrastructure.
Wishing you a successful day!
Best regards,
Hasan
