The display stack configuration command displays stack configuration commands configured in a stack.
Parameter | Description | Value |
---|---|---|
slot slot-id |
Displays the stack commands configured on a stack member switch. slot-id specifies the stack ID of the member switch. |
The value range depends on the device configuration. |
Usage Scenario
When a new device joins a stack, you can run this command to check which stack commands have been configured in the stack. You can then modify parameter settings in these commands and issue these commands to the new device in sequence. During command execution, you may need to restart the device or confirm your operation as prompted.
Precautions
This command is valid only when the stack function is enabled and has taken effect. By default, the stack function is enabled.
This command displays only the stack commands that have been executed. The displayed command configuration is not necessarily the running stack configuration, because most stack configuration commands take effect after a system restart.
# Display the stack configuration commands that have been executed in a stack.
<HUAWEI> display stack configuration
* : Invalid-configuration
# : Unsaved configuration
---------------Configuration on slot 2 Begin---------------
stack enable
stack slot 0 renumber 2
stack slot 2 priority 150
stack reserved-vlan 4093
stack timer mac-address switch-delay 10
interface stack-port 2/1
*port interface XGigabitEthernet2/0/1 enable
interface stack-port 2/2
#port interface XGigabitEthernet2/0/4 enable
---------------Configuration on slot 2 End-----------------