Configure Virtual Switching Member Device
Before the device is added to the virtual switching stacking domain or after being added to the virtual switching stacking domain, you can configure the device, including its member number, domain number, and priority.
- In the VST mode, after modifying the member number or domain number of the virtual switching member device, the new configured member number or domain number does not take effect at once, but takes effect only after the virtual switching member device saves the configuration and restarts.
Configuration Condition
None
Configure Domain Number of Virtual Switching Member Device
Table 1-2 Configure the domain number of the virtual switching member device
Step
|
Command
|
Description
|
Enter the virtual switching member configuration mode
|
switch virtual member member-id
|
-
|
Configure the number of the virtual switching member device domain
|
domain domain-id
|
Mandatory
By default, the number of the virtual switching member device is 100.
|
-
In the VST mode, when adding the virtual switching member device to the virtual switching domain, ensure that the domain numbers of the virtual switching member devices are the same. Otherwise, the virtual switching member devices cannot be added to one virtual switching domain.
- In the VST mode, after modifying the domain number, the new domain number does not take effect at once, but takes effect only after the virtual switching member device saves the configuration and restarts.
Configure Virtual Switching Member Device Number
Configuring the number of the virtual switching member device includes two cases:
- The device is not ever configured with the number of the virtual switching member device and you need to configure one virtual switching member device number;
- The device is configured with the number of the virtual switching member device and you need to modify to the new virtual switching member device number.
Therefore, there are two commands for configuring the number of the virtual switching member device: One is for configuring the number of the virtual switching member device and the other is for modifying the number of the virtual switching member device, as shown in Table 1-3.
Table 1-3 Configure the VST member device number
Step
|
Command
|
Description
|
Enter the global mode
|
configure terminal
|
-
|
Configure the virtual switching member device number
|
switch virtual member member-id
|
Mandatory
By default, the device does not have the virtual switching member device number.
|
Modify the virtual switching member device number
|
switch virtual member member-id rename member-id-new
|
Optional
|
-
In the VST mode, after modifying the number of the virtual switching member device, save the configuration and restart the system so that the new virtual switching member device number can take effect.
- In one virtual switching domain, the member number of each virtual switching member device is unique. Otherwise, the virtual switching member device cannot stack normally.
Configure Virtual Switching Member Device Priority
When multiple virtual switching member devices are added to one virtual switching domain, you can configure the priority of the virtual switching member device to improve the possibility of the virtual switching member device being elected as the control device. The larger the priority value, the higher the possibility.
Table 1-4 Configure the priority of the virtual switching member device
Step
|
Command
|
Description
|
Enter the virtual switching member configuration mode
|
switch virtual member member-id
|
-
|
Configure the priority of the virtual switching member device
|
priority priority-num
|
Mandatory
By default, the priority of the virtual switching member device is 100.
|
-
The electing rule of the virtual switching control device in the virtual switching domain:
- The virtual switching control device is prior; when there are multiple virtual switching control devices, compare according to step 2. If there is no virtual switching control device, compare according to step 3. Otherwise, end the comparison.
- The virtual switching control device with longer running time is prior; if the running time is the same, compare according to step 3. Otherwise, end the comparison.
- The one with larger priority is prior. If the priority is the same, compare according to step 4. Otherwise, end the comparison.
- The one with the smaller member number is prior.