< Home

stack slot renumber

Function

The stack slot renumber command changes the stack ID of a specified stack member switch.

Format

stack slot slot-id renumber new-slot-id

Parameters

Parameter

Description

Value

slot-id

Specifies the current stack ID.

The value is an integer that ranges from 0 to 8.

new-slot-id

Specifies a new stack ID.

The value is an integer that ranges from 0 to 8.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To change the stack ID of a stack member switch, run the stack slot renumber command.

Precautions

  • After changing the stack ID of a switch, if you do not restart the switch, the switch continues to use the original stack ID, and all physical resources are identified by the original stack ID.
  • After changing the stack ID of a switch, if you save the current configuration and restarts the switch, the new stack ID takes effect and all physical resources are identified by the new stack ID. In the configuration file, only the global stack configuration and stack priority of the switch continue to take effect. All other configurations related to the old stack ID (such as interface configuration) become invalid and must be reconfigured.
  • After a UCL group is created on the S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, or S5720-SI, using the ucl-group command, the stack slot renumber command cannot be used to change the stack ID of a specified stack member switch.

Example

# Change the stack ID of a stack member switch from 4 to 5.

<HUAWEI> system-view
[HUAWEI] stack slot 4 renumber 5
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.                                  
Do not frequently modify the slot ID because it will make the stack split. Continue? [Y/N]:y                                        
Info: Stack configuration has been changed, and the device needs to restart to make the configuration effective. 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >