FAQ
This section provides answers to frequently asked questions about use of stacks.
How Can I Specify a Stack Member Switch as the Master Switch?
Assume that SwitchA and SwitchB set up a stack, and you want SwitchA to be the master switch. If stack cables have been connected, complete stack configuration on SwitchA first and restart SwitchA. After SwitchA restarts, complete stack configuration on SwitchB and restart SwitchB. After SwitchB restarts, it joins the stack and becomes the standby switch. SwitchA functions as the master switch in the stack.
If you complete stack configuration on the two switches before connecting stack cables, the two single-chassis stacks merge into one stack after they are connected. Set a higher stack priority for SwitchA and a lower stack priority for SwitchB, so that SwitchA becomes the master switch after the stacks merge.
How Do I Know Which Switch Is the Master Switch in a Stack?
Observing indicators
If the STAT indicator on a switch is steady green, the switch is the master switch. The STAT indicators on the other member switches are blinking green, and the switches are standby or slave switches.
Using commands
Run the display stack or display device command to check which member switch is the master switch.<HUAWEI> display stack ---------------------------------------------------------------------------------- MemberID Role MAC Priority Device Type Bay/Chassis ---------------------------------------------------------------------------------- 3 Master 006d-a835-1700 160 CX910 1E/120 4 Slave 0019-8c68-3360 150 CX911 2X/120 5 Standby 0023-d856-1c00 140 CX910 3X/120 ---------------------------------------------------------------------------------- <HUAWEI> display device Device status: ----------------------------------------------------------------------------- Slot Card Type Online Power Register Alarm Primary ----------------------------------------------------------------------------- 3 - CX910 Present On Registered Normal Master 4 - CX911 Present On Registered Normal Slave 5 - CX910 Present On Registered Normal Standby -----------------------------------------------------------------------------
How to Load Patches for a Stack?
Upload patch files to the master switch.
Run the patch load filename all run command in the user view to load and run the patches.
Run the display patch-information command to check whether the patches are loaded successfully.