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


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


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).
Performing Software Configurations

Performing Software Configurations


When using service port connections to establish a stack, you need to configure logical stack ports. You are advised to configure stack IDs and stack priorities to facilitate user management.

A logical stack port takes effect only after physical member ports are added to it. Multiple physical member ports can be added to a stack port to improve stack link bandwidth and reliability.

Stack IDs identify member switches in a stack. Each stack member switch has a unique stack ID. If a new member switch has the same stack ID as an existing member switch, the master switch assigns another stack ID to the new member switch. You can also configure a stack ID for this member switch. To facilitate management on switches, you are advised to plan and configure stack IDs for member switches before setting up a stack. A member switch's stack ID affects many configurations on the switch, for example, port numbers (physical and logical ports) and port configurations. Pay attention to the following points when configuring stack IDs for member switches:
  • If you do not restart a switch after changing its stack ID, the switch still uses the original stack ID, and all physical resources are identified by the original stack ID.
  • If you save the current configuration and restart the switch after changing its stack ID, the new stack ID takes effect and all the physical resources are identified by the new stack ID. In the configuration file, only the global stack configuration and stack priority of the switch are still in effect. All the other configurations related to the old stack ID (such as port configuration) become invalid and must be reconfigured.
The stack priority determines the role of member switches during role election. A larger value indicates a higher priority and higher probability that the member switch will be elected as the master switch.


  1. Run the system-view command to enter the system view.
  2. Run the interface stack-port member-id/port-id command to create a logical stack port and enter the logical stack port view.
  3. Run the port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to configure a service port as a physical member port and added the service port to a logical stack port.

    1. A stack physical member port supports only stack-related functions, and other functions cannot be configured on the interface. All the commands irrelevant to the stack function are unavailable in the interface view, and only basic configuration commands such as description (interface view) are retained.

    2. After configuring a service port of a switch as a physical member port, you are advised to save the configuration if this service port has been referenced by other commands. Otherwise, the commands that reference this service port may be retained after the switch restarts.

    3. To restore a physical member port as a service port, run the shutdown interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> command in the logical stack port view to shut down the physical member port, and then run the undo port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command in this view.

    4. On the S6720EI and S6720S-EI, every four of XGE interfaces from the left are added to one group. For example, XGE interfaces numbered 1 to 4 can be added to one group, but XGE interfaces numbered 2 to 5 cannot. That is, the number of the last XGE interface in each group must be the multiple of 4. If you configure any interface in each group as a physical member port, configurations on the other three interfaces in the group will be lost and the three interfaces cannot be used as service ports.

  4. Run the quit command to return to the system view.
  5. (Optional) Run the stack slot slot-id renumber new-slot-id command to configure a stack ID for the switch.

    By default, the stack ID of a switch is 0.

    The configuration takes effect after the switch is restarted.

  6. (Optional) Run the stack slot slot-id priority priority command to configure a stack priority for the switch.

    By default, the stack priority of a member switch is 100.

  7. (Optional) Run the display stack configuration [ slot slot-id ] command to verify the stack configuration on a member switch.
Updated: 2019-09-23

Document ID: EDOC1000178167

Views: 207047

Downloads: 993

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