Hi there!
In the case of S series switches, the stack configuration is not recorded in the configuration file. Therefore, you cannot view the stack configuration by running the display current-configuration command.
Run the
display stack command to view information about the stack system.
[HUAWEI] display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0000-1382-4569
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 0018-82b1-6eb4 200 S5700-28P-LI-AC
1 Standby 0018-82b1-6eba 150 S5700-28P-LI-AC
# Run the display stack configuration or display stack current-configuration command to view the stack configuration. The following uses V200R012C00 as an example.
[HUAWEI]display stack configuration
* : Invalid-configuration
# : Unsaved configuration
---------------Configuration on slot 1 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 1/1
*port interface XGigabitEthernet1/0/1 enable
interface stack-port 1/2
#port interface XGigabitEthernet1/0/4 enable
---------------Configuration on slot 1 End-----------------
# Run the display stack port command to view the stack interface configuration. The following uses V200R012C00 as an example.
[HUAWEI] display stack port
*down : administratively down
(r) : Runts trigger error down
(c) : CRC trigger error down
(l) : Link-flapping trigger error down
(m) : Media mismatch trigger error down
Logic Port Phy Port Online Status
----------------------------------------------------------------------------
stack-port0/1 XGigabitEthernet0/0/1 present down