Configuring a Stack Priority
Context
The stack priority of a member switch determines its role in the stack. A larger value indicates a higher priority and higher probability that the member switch is elected as the master switch.
Procedure
- Run the system-view command to enter the system view.
- Run the stack command to enter the stack management view.
- Run the stack priority priority-value command to configure a stack priority
for the switch.
By default, the stack priority of a switch is 100. After changing the stack priority, restart the switch for the configuration to take effect.
When a switch already has the stacking function enabled, run the stack member { member-id | all } priority priority-value command to change the stack priority of the switch.
- Run the commit command to commit the configuration.