CLI Reference VSU Configuration Commands
switch sw_id domain
Modify the domain ID of any switch in the VSU mode. The no form of this command is used to restore
the default value.
switch sw_id domain new_domain_id
Indicates the ID of the currently running switch in the VSU mode. The
value rang is 1 to 8.
Indicates the modified domain ID. The value range is 1 to 255.
config-vs-domain configuration mode
This command can only be executed in the VSU mode instead of the standalone mode. The
configuration becomes valid only after the device restarts.
The no form of this command is used to restore the default value 100 of the domain ID.
#Modify the domain ID of Switch 1 to 10 in the VSU mode.
Ruijie(config)# switch virtual domain 1
Ruijie(config-vs-domain)# switch 1 domian 10
#Modify the domain ID of Switch 2 to 10 in the VSU mode.
Ruijie(config)# switch virtual domain 1
Ruijie(config-vs-domain)# switch 2 domian 10
#Modify the domain ID of Switch 2 to the default value in the VSU mode.
Ruijie(config)# switch virtual domain 1
Ruijie(config-vs-domain)# no switch 2 domain
Specify the VSU virtual switch ID.
Check the domain ID, the ID and role of each
device.