Checking Whether a Stack Has Been Established Through Service Port Connections
After the stack powered on, review indicators to check whether the stack has been established successfully. If the stack has been successfully established, log in to the stack and run commands to confirm that the stack topology matches the hardware connections. If a stack has not been established, log in to the stack (multiple independent switches) and run commands to locate and resolve the issues.
Reviewing Indicators to Check Whether a Stack Has Been Established
Context
After you complete configurations for establishing a stack, you can review indicators on the switch panels to check whether the stack has been established successfully.
Procedure
The S5732-H, S6730-S, S6730S-S, S6720-HI, S6730S-H, and S6730-H do not have the mode switching button, have an independent stack master/slave indicator to show the MST indicator. If the indicator is off, the switch is not a stack master. If the indicator is steady green, the switch is a stack master or standalone switch.
- If the mode status indicators on all the member switches change to the stack mode, the stack has been established successfully. You can determine the stack IDs of the master switch and member switches by viewing the mode status indicator and service port indicators. For details, see Table 3-39.
- If the mode status indicators on some member switches do not change to the stack mode, the stack has not been established.
Color |
Status and Meaning |
---|---|
Off |
This indicator does not indicate the stack ID of a stack member. |
Green |
|
Logging In to a Stack to Check Whether a Stack Has Been Established
Context
If a stack fails to be established, you can log in to the stack and run commands to check whether the stack topology corresponds to the hardware connections or to locate and rectify faults.
Procedure
Log in to the stack. For details, see Stack Login.
Check whether the stack has been established successfully.
Run the display device command to check whether the number of member switches in the stack is the same as the number of switches in the networking.<HUAWEI> display device S5720-28P-LI-AC's Device status: Slot Sub Type Online Power Register Status Role ------------------------------------------------------------------------------- 0 - S5720-28P-LI Present PowerOn Registered Normal Master 1 - S5720-28P-LI Present PowerOn Registered Normal Standby
- If they are the same, go to step 3.
- If they are different, see Rectifying Common Stack Faults.
Check whether the stack topology is the same as the actual hardware connections.
# Run the display stack command to check whether the stack topology is the same as the actual hardware connections.<HUAWEI> display stack Stack mode: Service-port Stack topology type: Link Stack system MAC: 0018-82b1-6eb4 MAC switch delay time: 2 min Stack reserved VLAN: 4093 Slot of the active management port: 0 Slot Role Mac address Priority Device type ------------------------------------------------------------- 0 Master 0018-82b1-6eb4 200 S5720-28P-LI-AC 1 Standby 0018-82b1-6eba 150 S5720-28P-LI-AC
# Run the display stack peers command to check whether neighboring information about the stack is the same as the actual hardware connections.<HUAWEI> display stack peers Slot Port1 Peer1 Port2 Peer2 --------------------------------------------------------------------------- 0 STACK 1 1 STACK 2 None 1 STACK 1 None STACK 2 0
# Run the display stack port command to view information about the stack member ports added to a logical stack port.<HUAWEI> display stack port *down : administratively down (r) : Runts trigger error down (c) : CRC trigger error down (l) : Link-flapping trigger error down Logic Port Phy Port Online Status ---------------------------------------------------------------------------- stack-port0/1 GigabitEthernet0/0/27 present up stack-port1/2 GigabitEthernet1/0/28 present up
# Run the display stack channel all command to check the stack link connections and status.<HUAWEI> display stack channel all ! : Port have received packets with CRC error. L-Port: Logic stack port P-Port: Physical port Slot L-Port P-Port Speed State || P-Port Speed State L-Port Slot --------------------------------------------------------------------------------------- 1 1/2 GE1/0/28 2G UP GE2/0/27 2G UP 2/1 2 2 2/1 GE2/0/27 2G UP GE1/0/28 2G UP 1/2 1 ---------------------------------------------------------------------------------------
- If they are the same, the stack has been established successfully.
- If they are different, reconnect the member switches.
- If the fault persists, rectify the fault according to Rectifying Common Stack Faults.
Rectifying Common Stack Faults
Common Causes
- Switches of different models cannot set up a stack.
- A switch does not support the stacking function.
- A switch has no electronic label or an incorrect electronic label.
- Stack ports are incorrectly connected.
- Stack cables are faulty.
- The stack reserved VLAN is occupied.
- MAC addresses of stack member switches conflict.
Procedure
Check the switch model.
Run the display device command to check the device model.
<HUAWEI> display device S5720-28P-LI-AC's Device status: Slot Sub Type Online Power Register Status Role ------------------------------------------------------------------------------- 0 - S5720-28P-LI Present PowerOn Registered Normal Master
- If switches of different models cannot set up a stack or a switch does not support the stacking function, replace the switch.
- If the switches support stacking, proceed to the next step.
Check that a correct electronic label has been loaded to the switch.
Run the display elabel command to view the electronic label.
<HUAWEI> display elabel Warning: It may take a long time to excute this command. Continue? [Y/N]:y Info: It is executing, please wait... /$[System Integration Version] /$SystemIntegrationVersion=3.0 [Slot_0] /$[Board Integration Version] /$BoardIntegrationVersion=3.0 [Main_Board] /$[ArchivesInfo Version] /$ArchivesInfoVersion=3.0 [Board Properties] BoardType=CX22EMGEB BarCode=21023518320123456789 Item=02351832 Description=S5720-28P-LI,LS5ZC48CM,S5720-28P-LI Mainframe Manufactured=2009-02-05 VendorName=Huawei IssueNumber= CLEICode= BOM=
If all fields under [Board Properties] are empty, no electronic label has been loaded to the switch. Replace the switch.
If fields under [Board Properties] are not empty, an electronic label has been loaded to the switch. Proceed to the next step.
Check the stack cables.
Run the display stack port command to check whether stack cables are correctly connected.
<HUAWEI> display stack port *down : administratively down Logic Port Phy Port Online Status ---------------------------------------------------------------------------- stack-port0/1 GigabitEthernet0/0/1 present up stack-port1/2 GigabitEthernet1/0/1 present up
If the stack member ports are in the up state, proceed to the next step.
If the status of a stack member port is in the down state, check whether the switch connected to the port has been powered off or is restarting. If so, check whether the port status is in the Up state after the connected switch restarts. If not, replace the stack cable.
If the fault persists, proceed to the next step.
Check whether the stack reserved VLAN is occupied.
Run the display stack command to check the reserved VLAN of a member switch. By default, the reserved VLAN is 4093.
Run the display vlan vlan-id command. If the reserved VLAN 4093 is not occupied, proceed to the next step.
<HUAWEI> display vlan 4093 Error: The VLAN does not exist.
If the reserved VLAN 4093 is occupied, run either of the following commands to rectify the fault:
- Run the stack reserved-vlan vlan-id command in the system view to modify the reserved VLAN.
- Delete services in the reserved VLAN and run the undo vlan vlan-id command in the system view to delete the VLAN.
If the fault persists, proceed to the next step.
Check whether MAC addresses of member switches conflict with each other.
Run the display stack command to check whether the MAC address of the switch to be added to the stack conflicts with the MAC address of an existing member switch. If not, proceed to the next step.
<HUAWEI> display stack Stack mode: Service-port Stack topology type: Link Stack system MAC: 0018-82b1-6eb4 MAC switch delay time: 2 min Stack reserved vlan: 4093 Slot of the active management port: -- Slot Role Mac address Priority Device type ------------------------------------------------------------- 0 Master 0018-82b1-6eb4 200 S5720-28P-LI-AC 1 Standby 0018-82b1-6eba 150 S5720-28P-LI-AC
- Collect the following information and contact technical support personnel.
- Results of the preceding troubleshooting procedure
- Configuration file, logs, and alarms of switches
- A stack port goes Up: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.1 hwStackLinkUp
- A stack port goes Down: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.2 hwStackLinkDown
- A switch has joined the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.6 hwStackStackMemberAdd
- A switch has left the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.7 hwStackStackMemberLeave
- Logical ports with the same ID on two switches are connected: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.9 hwStackLogicStackPortLinkErr
- Physical ports of the same logical port are connected to different devices: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.10 hwStackPhyStackPortLinkErr