No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Device Management

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Checking Whether a Stack Has Been Established Through Stack Card Connections

Checking Whether a Stack Has Been Established Through Stack Card Connections

After you complete stack configurations, review key indicators to confirm 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 Key Indicators to Confirm that 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
  1. Press the mode switching button on any member switch to set the mode status indicator to work in STACK mode. A switch has a STCK indicator, which indicates the stack mode status. After you press the MODE button, the indicator is steady green or blinking and off in 45 seconds, indicating that the switch has entered the STACK mode.

    • 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.
    • If the mode status indicators on some member switches do not change to the STACK mode, the stack has not been established.
  2. Determine the stack IDs of the master switch and member switches through the status of service port indicators. Table 9-25 explains how to interpret service port indicators in STACK mode.
    Table 9-25  Service port indicators in STACK mode
    Color Status and Meaning

    Off

    Port indicators do not indicate the stack ID of the switch.

    Green

    If the indicator is steady on, the switch is not the master switch in the stack. If the indicator is blinking, the switch is the master switch in the stack.
    • If the indicator of a port is steady on, the switch where this port is located is not the master switch, and the number of this port is the stack ID of this switch.
    • If the indicator of a port is blinking, the switch where this port is located is the master switch, and the number of this port is the stack ID of this switch.
    • If the first nine port indicators of the switch are steady on, this switch is not the master switch, and its stack ID is 0.
    • If the first nine port indicators of the switch are blinking, this switch is the master switch, and its stack ID is 0.

Logging In to Confirm a Stack Is 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
  1. Log in to the stack.

    You can log in to a stack using the following methods:
    • Local login: Log in through the console interface of any member switch.
    • Remote login: Log in through the management interface or another Layer 3 interface of any member switch. You can remotely log in to the stack using Telnet, STelnet, web, or SNMP if your operation terminal has a reachable route to the stack.
      NOTE:
      • After switches with management interfaces form a stack, only the management interface on one member switch takes effect and becomes the master management interface. After the stack starts, the management interface on the master switch is used as the master management interface. If the management interface on the master switch is faulty or unavailable, the management interface on another member switch is used as the master management interface. If you connect your PC directly to a non-master management interface, you cannot log in to the stack.

      • After a stack is set up, all the member switches use the configuration file of the master switch.

      • A stack externally acts as a single switch and uses one management IP address. To remotely log in to a stack, you need to log in to the IP address of the master switch.

      • All stack member switches are able to forward traffic.

  2. 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-32X-EI-AC's Device status:
    Slot Sub  Type                Online    Power      Register     Status   Role
    -------------------------------------------------------------------------------
    0    -    S5720-32X-EI        Present   PowerOn    Registered   Normal   Master
    1    -    S5720-32X-EI        Present   PowerOn    Registered   Normal   Standby
  3. 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: 0200-0000-01ab
      MAC switch delay time: 10 min
      Stack reserved vlan: 4093
      Slot of the active management port: 0
      Slot      Role        Mac address      Priority   Device type
      -------------------------------------------------------------
          0     Master      0200-0000-01ab   255        S5720-32X-EI-AC
          1     Standby     0200-0000-0000   200        S5720-32X-EI-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  
    • 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

Some member switches may fail to be added to a stack due to the following causes:
  • Switches of different models cannot set up a stack.
  • A switch has no electronic label or an incorrect electronic label.
  • A stack card has no electronic label or an incorrect electronic label.
  • Stack ports are incorrectly connected.
  • Some stack cables or stack cards are faulty.
  • The stack reserved VLAN is occupied.
  • The MAC addresses of member switches conflict with each other.

Procedure

  1. Check the switch model.

    Run the display device command to check the device model.

    <HUAWEI> display device
    S5720-32X-EI-AC's Device status:
    Slot Sub  Type                Online    Power      Register     Status   Role
    -------------------------------------------------------------------------------
    0    -    S5720-32X-EI        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.
  2. 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
    /$[System Integration Version]
    /$SystemIntegrationVersion=3.0
    
    
    [Slot_0]
    /$[Board Integration Version]
    /$BoardIntegrationVersion=3.0
    
    
    [Main_Board]
    /$[ArchivesInfo Version]
    /$ArchivesInfoVersion=3.0
    
    
    [Board Properties]
    BoardType=S5720EI
    BarCode=21023595860123456789
    Item=02359586 
    Description=S5720-32X-EI-AC(24 Ethernet 10/100/1000 ports,4 100/1000  SFP,4 10 Gig SFP+,AC 110/220V)
    Manufactured=2014-05-15
    VendorName=Huawei
    IssueNumber=00
    CLEICode=
    BOM=02359586
    
    • If all fields under [Board Properties] are empty, no electronic label is 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.

  3. Check the electronic label of the stack card. This step is not required on a switch that uses stack card stacking with stack ports fixed on the rear panel.

    Run the display elabel slot slot-id subcard-id command to check the electronic label of the stack card. slot-id indicates the stack ID and you can obtain it from the output of the display stack command. subcard-id indicates the subcard ID which is 1 in a stack. For example, to view the stack card electronic label on a switch with stack ID 0, run the display elabel slot 0 1 command.

    <HUAWEI> display elabel slot 0 1
    /$[System Integration Version]
    /$SystemIntegrationVersion=3.0
    
    
    [Slot_0]
    /$[Board Integration Version]
    /$BoardIntegrationVersion=3.0
    
    
    [Main_Board]
    /$[ArchivesInfo Version]
    /$ArchivesInfoVersion=3.0
    
    
    [Board Properties]
    BoardType=S5720EI
    BarCode=0302MDW
    Item=
    Description=Dedicated stack card with 2*QSFP+ interface(Including one PCS of 1M QSFP+ cable ,Used in S5720EI series)
    Manufactured=2014-07-07
    VendorName=Huawei
    IssueNumber=00
    CLEICode=
    BOM=
    
    • If all fields under [Board Properties] are empty, the stack card is not functioning properly. Replace the stack card.

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

  4. Check the stack cables.

    Run the display stack port [ brief | slot slot-id ] command to check whether stack cables are correctly connected.

    <HUAWEI> display stack port slot 0
    stack-port0/1:                                                                                                                      
    ---------------------------------------------                                                                                       
    Current state : UP                                                                                                                
    Speed : 21000                                                                                                                          
                                                                                                                                        
    Input:  231394 packets, 45889632 bytes                                                                                
      Unicast:                     231025,  Multicast:                           0                                                      
      Broadcast:                        0,  Jumbo:                             369                                                      
      Discard:                          0,  Frames:                              0                                                      
                                                                                                                                        
      Total Error:                      0                                                                                               
      CRC:                              0,  Giants:                              0                                                      
      Jabbers:                          0,  Fragments:                           0                                                      
      Runts:                            0,  DropEvents:                          0                                                      
      Alignments:                       0,  Symbols:                             0                                                      
      Ignoreds:                         0                                                                                               
                                                                                                                                        
    Output:  247387 packets, 42114410 bytes                                                                                             
      Unicast:                     246108,  Multicast:                         989                                                      
      Broadcast:                        0,  Jumbo:                             290                                                      
      Discard:                          0                                                                                               
                                                                                                                                        
                                                                                                                                        
      Total Error:                      0                                                                                               
      Collisions:                       0,  ExcessiveCollisions:                 0                                                      
      Late Collisions:                  0,  Deferreds:                           0                                                      
      Buffers Purged:                   0                                         
    • If the Current state of a stack port on the switch is Up, proceed to the next step.

    • If a stack port status is Down, check whether the switch connected to the port has been powered off or is restarting. If so, check whether the stack port status is Up after the connected switch restarts. If not, replace the stack cable.

    • If the fault persists, proceed to the next step.

  5. 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 is not occupied, proceed to the next step.

    <HUAWEI> display vlan 4093
    Error: The VLAN does not exist. 
    • If the reserved VLAN 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.

  6. 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: 0200-0000-01ab
    MAC switch delay time: 10 min
    Stack reserved vlan: 4093
    Slot of the active management port: 0
    Slot      Role        Mac address      Priority   Device type
    -------------------------------------------------------------
        0     Master      0200-0000-01ab   255        S5720-32X-EI-AC
        1     Standby     0200-0000-0000   200        S5720-32X-EI-AC
  7. Collect the following information and contact technical support personnel.
    • Results of the preceding troubleshooting procedure
    • Configuration file, logs, and alarms of switches
Relevant Alarms and Logs
  • Relevant Alarms

    • 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
  • Relevant Logs

    None

Translation
Download
Updated: 2019-03-28

Document ID: EDOC1000178167

Views: 196317

Downloads: 942

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next