After a stack is set up, you can observe indicators on member switches or use commands to determine which member switch is the master switch.
Observing indicators
If the MST indicator on a switch is steady green, the switch is the master switch. The MST indicators on the other member switches are off, and the switches are standby or slave switches.
<HUAWEI> display stack
--------------------------------------------------------------------------------
MemberID Role MAC Priority DeviceType Description
--------------------------------------------------------------------------------
3 Master 006d-a835-1700 160 CE5810-48T4S-EI
4 Slave 0019-8c68-3360 150 CE5810-24T4S-EI
5 Standby 0023-d856-1c00 140 CE5810-48T4S-EI
--------------------------------------------------------------------------------
<HUAWEI> display device
Device status:
-----------------------------------------------------------------------------
Slot Card Type Online Power Register Alarm Primary
-----------------------------------------------------------------------------
3 - CE5810-48T4S-EI Present On Registered Normal Master
FAN1 - Present On Registered Normal NA
FAN2 - Present On Registered Normal NA
PWR2 - Present On Registered Normal NA
4 - CE5810-24T4S-EI Present On Registered Normal Slave
FAN1 - Present On Registered Normal NA
FAN2 - Present On Registered Normal NA
PWR1 - Present On Registered Normal NA
PWR2 - Present On Registered Normal NA
5 - CE5810-48T4S-EI Present On Registered Normal Standby
FAN1 - Present On Registered Normal NA
FAN2 - Present On Registered Normal NA
PWR2 - Present On Registered Normal NA
-----------------------------------------------------------------------------
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."