Troubleshooting Typical S5700 Stack Faults
Introduction
This document describes the troubleshooting flowchart and typical troubleshooting cases for a stack setup failure. This document assumes that you are familiar with basic stack knowledge. For details about stack concepts and configuration procedures, see S series switches product documentation.
Prerequisites
This document serves only as a guide and is written based on laboratory environment. It provides general guidance but does not cover all application scenarios of all device models. Due to version upgrade or device model differences, the content provided in this document may differ from information on a device's command line interface (CLI). Such information takes precedence over the content provided by this document.
For S series switches, a logical device set up by multiple fixed switches is called a stack, and a logical device set up by two modular switches is called a cluster switch system (CSS). This document describes how to troubleshoot stack setup failures.
Troubleshooting Flowchart for Stack Setup Failures
In most cases, a stack cannot be set up because of incorrect configuration or link faults. The following figure shows how to troubleshoot a stack setup failure.
Checking Stacking Support
- Check whether the member switches support stacking.
- Run the display device command to check the device model.
<HUAWEI> display device S5735-L8T4X-A1's Device status: Slot Sub Type Online Power Register Status Role -------------------------------------------------------------------------------------- 1 - S5735-L8T4X-A1 Present PowerOn Registered Normal Master
- Check whether member switches support stacking by referring to "Device Management > Stack > Stack Version and Model Requirements" in the S2700, S3700, S5700, and S6700 Series Switches Product Use Precautions.
- If the member switches do not support stacking, use other switches to set up a stack.
- Run the display device command to check the device model.
- Check whether the member switches can set up a stack with each other.
- Check whether member switches can set up a stack with each other by referring to "Device Management > Stack > Stacking Support" in the S2700, S3700, S5700, and S6700 Series Switches Product Use Precautions.
- If the member switches cannot set up a stack, use other switches to set up a stack.
Check whether the stacking function is enabled on the member switches.
By default, the stacking function is enabled. If the display stack command cannot be run on a member switch, the stacking function is not enabled on this switch. In this case, run the stack enable command in the diagnostic view to enable the stacking function.
<HUAWEI> system-view [HUAWEI] diagnose [HUAWEI-diagnose] stack enable Warning: All the configurations related to the slot ID will be lost after the stack function is enabled. Warning: The device will be reboot. Continue? [Y/N]:y
Checking Stack Cable Connections
Switches can set up a stack through stack card connection and service port connection.
- Setting up a stack through stack cards
In stack cable connection mode, switches can set up a stack in a chain or ring topology, as shown in Figure 1-2 and Figure 1-3, respectively. Port STACK 1 of one switch can be connected only to port STACK 2 of another switch.
- Setting up a stack through service ports using ordinary stack cables
In service port connection mode, switches can set up a stack in a chain or ring topology, as shown in Figure 1-4 and Figure 1-5, respectively.
Physical member ports of the logical stack port (stack-port n/1) on one switch must be connected to physical member ports of the logical stack port (stack-port m/2) on another switch.- Multiple physical member ports can be bound to a logical stack port to improve stack reliability and bandwidth. The stack will not split as long as one physical link is available between the member switches.
- If the logical stack ports on two ends (stack-port n/1 on one switch and stack-port m/2 on the other) both contain multiple physical member ports, the physical member ports can be connected in any sequence.
Check whether stack cables are connected as planned.
Checking the Stack Port
Run the display stack port command to check the stack port configuration if the stack is set up through service ports.
<HUAWEI> display stack port brief PHY :Physical state Protocol:Stack link protocol state *down :administratively down (r) :Runts trigger error down (c) :CRC trigger error down (l) :Link-flapping trigger error down (m) :Media mismatch trigger error down Stack Port PHY Protocol InUti OutUti InErrors OutErrors ------------------------------------------------------------------------------- stack-port0/1 up up 0.00% 0.00% 0 0 XGigabitEthernet0/0/1 up up 0.00% 0.00% 0 0 XGigabitEthernet0/0/2 up up 0.00% 0.00% 0 0 stack-port0/2 up up 0.00% 0.00% 0 0 XGigabitEthernet0/0/3 up up 0.00% 0.00% 0 0 XGigabitEthernet0/0/4 up up 0.00% 0.00% 0 0
The PHY field indicates the physical status of the stack port. In normal cases, the value of this field is up. If the value of this field is down, rectify the fault according to Troubleshooting: Ethernet Interface Physically Down.
The Protocol field indicates the protocol status of the stack port. In normal cases, the value of this field is up. If the value of this field is down, the stack port does not receive stack link packets.
Typical Stack Troubleshooting Cases
Checking the Stack Configuration
- The stacking function is disabled.
Switches can set up a stack through stack card connection and service port connection based on stack port types. If the stacking function is not enabled, perform the following operations:
- For a device set up a stack using stack cards, install stack cards and run the stack enable command in the diagnostic view to enable the stacking function.
- For a device set up a stack using service ports, the stacking function is enabled by default. If stack-related commands cannot be run, run the stack enable command in the diagnostic view to enable the stacking function.
- The reserved VLAN of the stack is occupied.
The reserved VLAN of a stack is used to exchange stack protocol packets. If the reserved VLAN is used by another service, the stack cannot be set up.
By default, a stack uses VLAN 4093 as its reserved VLAN. You can run the display stack command in any view to check the Stack reserved VLAN field to view the reserved VLAN of the stack. If you need to deploy another service using VLAN 4093, run the stack reserved-vlan command to change the reserved VLAN of the stack. Ensure that an unused VLAN is configured as the reserved VLAN for the stack.
- The stack port configuration is incorrect.
Devices can set up a stack using stack cards without stack ports. However, you need to configure stack ports before setting up a stack using service ports.
You can run the following commands to check whether a stack port is configured.- For devices running V200R002 and earlier versions, run the display stack-port membership command to check the stack port configuration.
<HUAWEI> display stack-port membership stack-port0/1 has 0 ports --------------------------------------------- stack-port0/2 has 0 ports ---------------------------------------------
- For devices running V200R003 and later versions, run the display stack port command to check the stack port configuration.
<HUAWEI> display stack port Info: The stack port configuration does not exist.
If no stack port is configured, perform the following operations to configure one:
- For devices running V200R002 and earlier versions:
<HUAWEI> system-view [HUAWEI] stack port interface gigabitethernet 0/0/1 enable //Configure a physical interface as a stack member port. Warning: This operation will clear all configurations on these interfaces, continue? [Y/N]:y Info: This operation may take a few seconds. Please wait for a moment... [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] port member-group interface gigabitethernet 0/0/1 //Add the stacking-enabled physical interface to logical stack port 1.
- For devices running V200R003 and later versions:
<HUAWEI> system-view [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] port interface gigabitethernet 0/0/1 enable //Add a physical interface to logical stack port 1.
- For devices running V200R002 and earlier versions, run the display stack-port membership command to check the stack port configuration.
Checking Stack Cable Connections
Member ports in the logical stack port 1 must be connected to member ports in the logical stack port 2. Otherwise, the alarm "FSP_1.3.6.1.4.1.2011.5.25.183.1.22.9 hwStackLogicStackPortLinkErr" is generated.
- Run the display stack port command to check member ports of the stack port.
- Connect the member ports in the local logical stack port 1 to the member ports in the remote logical stack port 2, and connect the member ports in the local logical stack port 2 to the member ports in the remote logical stack port 1.