S5700 and S6700 Switch Stack Troubleshooting


Intelligent Stack (iStack) allows multiple stacking-capable switches to function as a single logical switch.
Before a stack is set up, each switch is an independent entity and has its own IP address and MAC address. You need to manage the switches separately. After a stack is set up, the switches in the stack form a logical entity. You can use a single IP address to manage and maintain all the switches in the stack. A stack can transmit a large amount of data, improve network reliability, and simplify network management.
 
Common Causes
Switches in a stack can form a ring or chain topology, as shown in Figure 1 and Figure 2.
 Figure 1 Ring topology 

Ring topology .png

 Figure 2 Chain topology 

Chain topology .png

 
A stacking failure refers to one of the following situations:
  • Switches cannot set up a stack.

  • A switch fails to join a stack.

  • A stack cannot be set up again after it splits.

This fault is commonly caused by one of the following:

  • The stacking function is disabled on the switches.

  • The switch models are different. For example, an EI model is connected to an SI model.

  • Some switches do not support the stacking function.

  • switch does not have any electronic label or has an incorrect electronic label.

  • A stack card has no electronic label or an incorrect electronic label.

  • Stack cables are incorrectly connected.

  • Some stack cables or stack cards are faulty.

 
Troubleshooting Procedure
Context
NOTE:
Saving the results of each troubleshooting step is recommended. If troubleshooting fails to correct the fault, you will have a record of your actions to provide Huawei technical support personnel.

CAUTION: 

Before replacing a switch, inserting a stack card or stack cable, or replacing a stack card, power off the switch.

Perform the following steps on each switch where a stacking failure occurs.
 
Procedure
1.Check that the stacking function is enabled on the switch.
Run the display stack command to check the stack status.
  • If the following information is displayed, the stacking function is disabled.

  • <HUAWEI_TEST> display stack

  •  Error: The stack function is not enabled.


NOTE:
In a stack set up using stack cards, check that the stack cards are properly installed before running the display stack.
a.Check whether the stack card and stack cables are installed properly. If the stack card or a stack cable is loose, reconnect it. The switches can form a stack in a ring or chain topology. The ring topology is recommended because it is more stable and reliable.
b.Run the stack enable command in the system view to enable the stacking function, and then restart the switch.
  • If the following information is displayed, the stacking function is enabled. Go to the next step.

  • <HUAWEI_TEST> display stack

  • Stack topology type: Link

  • Stack system MAC: 0200-0331-0228

  • MAC switch delay time: never

  • Stack reserved vlanid : 4093

  • Slot of the active management port: --

  • Slot     role        Mac address      Priority   Device type

  • ------    ----        --------------   ------     -------

  • 1     Master      0200-0331-0228   100        S5700-48TP-PWR-SI 

2.Check the device model. The S5710LI, S5700EI or S5700SI switches cannot be added to the same stack system.
Run the display elabel command to view the electronic label. The Description field in the command output indicates the device model.
<HUAWEI_TEST> display elabel
     /$[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=Quidway S5700-48TP-PWR-SI,LS5ZC48CM,S5700-48TP-PWR-SI Mainframe
     Manufactured=2016-02-05
     VendorName=Huawei
     IssueNumber=
     CLEICode=
   BOM=
  • If the switch is not of a different model from other switches, replace the switch.

  • If all the switches are of the same model, go to the next step.

3.Check that the correct electronic label has been loaded to the switch.
Run the display elabel command to view the electronic label.
  • If all fields under [Board Properties] are empty, no electronic label is loaded to the switch. Replace the switch.

  • <HUAWEI_TEST> display elabel

  • /$[System Integration Version]

  • /$SystemIntegrationVersion=3.


  • [Slot_0]

  • /$[Board Integration Version]

  • /$BoardIntegrationVersion=3.0



  • [Main_Board]


  • /$[ArchivesInfo Version]

  • /$ArchivesInfoVersion=3.0


  • [Board Properties]

  • BoardType=

  • BarCode=

  • Item=

  • Description=

  • Manufactured=

  • VendorName=

  • IssueNumber=

  • CLEICode=

  • BOM=

  • If fields under [Board Properties] are not empty, the electronic label has been loaded to the switch. Go to the next step.

  • <HUAWEI_TEST> display elabel

  • /$[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=Quidway S5700-48TP-PWR-SI,LS5ZC48CM,S5700-48TP-PWR-SI Mainframe

  • Manufactured=2016-02-05

  • VendorName=Huawei

  • IssueNumber=

  • CLEICode=

  •  BOM=

 
4.Check the electronic label of the stack card.

NOTE: 

Perform this step only on switches that set up a stack using stack cards.

Run the display elabel slot slot-number sub-card-number command to check the electronic label of the stack card.

In the command, slot slot-number specifies the stack ID, which can be obtained from the display stack command output. The sub-card-number value is always 2 for a stack card. For example, to view the stack card electronic label on a switch with stack ID 0, run the display elabel slot 0 2 command.
  • If all fields under [Board Properties] are empty, the stack card is faulty. Replace the stack card.

  • <HUAWEI_TEST> display elabel slot 0  2

  • /$[System Integration Version]

  • /$SystemIntegrationVersion=3.0


  • [Slot_0]

  • /$[Board Integration Version]

  • /$BoardIntegrationVersion=3.0


  • [Main_Board]


  • /$[ArchivesInfo Version]

  • /$ArchivesInfoVersion=3.0


  • [Board Properties]

  • BoardType=

  • BarCode=

  • Item=

  • Description=

  • Manufactured=

  • VendorName=

  • IssueNumber=

  • CLEICode=

  • BOM=

  • If fields under [Board Properties] are not empty, go to the next step.

  • <HUAWEI_TEST> display elabel slot 0  2

  • /$[System Integration Version]

  • /$SystemIntegrationVersion=3.0


  • [Slot_0]

  • /$[Board Integration Version]

  • /$BoardIntegrationVersion=3.0


  • [Main_Board]


  • /$[ArchivesInfo Version]

  • /$ArchivesInfoVersion=3.0


  • [Board Properties]

  • BoardType=CX22ETPC

  • BarCode=210235000c0120081008

  • Item=0235000c

  • Description=CX22ETPC for S5700 HindCard

  • Manufactured=2008-11-14

  • VendorName=Huawei

  • IssueNumber=

  • CLEICode=

  • BOM=

5.Check that stack cables are correctly connected.
NOTE:
Perform this step only on switches that set up a stack using service interfaces.
If the switch uses service interfaces and stack interfaces, check the configuration of the stack interfaces.
Run the display stack port [ configuration ] [ slot slot-id ] command to check the configuration of stack interfaces.
Compare the displayed interfaces with the actual connected interfaces on the switches.

<HUAWEI_TEST> display stack port
     *down : administratively down                                                   
     Logic Port         Phy Port                     Online       Status             
     ----------------------------------------------------------------------------    
     stack-port0/1      XGigabitEthernet0/0/1        present      up                 
     stack-port0/2      XGigabitEthernet0/0/3        present      *down              
     stack-port3/1      XGigabitEthernet3/0/1        present      down               
                              XGigabitEthernet3/0/2        present      down               
     stack-port3/2      XGigabitEthernet3/0/3        present      up                 
     stack-port4/1      XGigabitEthernet4/0/1        present      up                 
     stack-port4/2      XGigabitEthernet4/0/3        present      up                 
     stack-port8/1      XGigabitEthernet8/0/1        present      up                 
   stack-port8/2      XGigabitEthernet8/0/3        present      up  

  • If the displayed interfaces are different from the actual connected interfaces, the stack cables are incorrectly connected. Reconnect the stack cables correctly.

  • If the displayed interfaces are the same as the actual connected interfaces, go to the next step.

6.Check that the stack card and stack cables are functioning properly.
  • Check the status of physical member interfaces in the display stack port  command output. If all the member interfaces are Up, go the next step.

  • If a member interface is Down, check whether the switch connected to the interface has been powered off or is restarting. If so, check the interface status after the remote switch restarts. If not, replace the stack card on the local switch or the stack cable on this interface.

If the fault persists, go to the next step.
7.Collect the following information and contact Huawei technical support personnel.
  • Results of the preceding troubleshooting procedure

  • Configuration files, log files, and alarm files of the switches