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.


S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.

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).
Clearing Stack Configuration

Clearing Stack Configuration

For switches running V200R011C10 or later versions, run the reset stack configuration command to clear stack configuration. The configuration includes: switch slot ID, stack priority, stack reserved VLAN, stack MAC address switching delay, stack port configuration, and stack port rate configuration.

<HUAWEI> system-view
[HUAWEI] reset stack configuration
Warning: This operation will clear all stack configurations and may lead to the loss of the slot ID configuration and cause the device to reset immediately. Are you sure you want to continue? [Y/N]: y 

Running this command will cause the stack to split and member switches to restart.

The does not support this command.

On the switches running versions earlier than V200R011C10 and the , delete the stack configuration separately. The deleted configuration takes effect after the switch restarts.
  • Restore the default stack priority:
    <HUAWEI> system-view
    [HUAWEI] stack slot 2 priority 100  //Restore the default priority 100 for slot 2.
  • Restore the default slot ID.
    <HUAWEI> system-view
    [HUAWEI] stack slot 2 renumber 0  //Change the slot ID to 0.
  • Restore the default stack reserved VLAN.
    <HUAWEI> system-view
    [HUAWEI] stack reserved-vlan 4093  //Restore the default stack reserved VLAN 4093.
  • Restore the default stack MAC address switching delay.
    <HUAWEI> system-view
    [HUAWEI] undo stack timer mac-address switch-delay
  • Delete a stack member port.

    Versions later than V200R002
    <HUAWEI> system-view
    [HUAWEI] interface stack-port 0/1  
    [HUAWEI-stack-port0/1] shutdown interface xgigabitethernet0/0/1  //Set the stack member port to Down to prevent loops.
    [HUAWEI-stack-port0/1] undo port interface xgigabitethernet0/0/1 enable   //Remove the stack member port XGE0/0/1 from the stack port to restore the member port to a service port.
    V200R002 and earlier versions
    <HUAWEI> system-view
    [HUAWEI] interface stack-port 0/1  
    [HUAWEI-stack-port0/1] undo port member-group interface xgigabitethernet 0/0/1  //Delete XGE0/0/1 from the stack port.
    [HUAWEI-stack-port0/1] quit  
    [HUAWEI] undo stack port interface xgigabitethernet 0/0/1 enable  //Restore XGE0/0/1 to a service port.
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 123388

Downloads: 13192

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next