show stack

Displays information about the units in a stack and a representation of the stack topology.
Syntax
show stack num
Parameters
num
Displays information for the specified stack unit ID.
Modes

User EXEC mode

The show stack command displays the following information:

Output field Description
ID Specifies the identification number of the stack unit. Each unit in the stack has a unique ID number.
Type Specifies the type (model) of the stack unit.
Role Specifies the role of the stack unit. The roles are controller, standby, or member.
Mac Address Specifies the MAC address of the stack unit. The roles are controller, standby, or member.
Pri Specifies the priority value assigned to the stack unit. The default value is 128.
State Specifies whether the stack unit is local or remote. A unit with a State value of Local is the active controller. Units with a State value of Remote are either standby units or member units.
Comment Indicates if the stack unit is ready (available).
Role history Tracks up to six role changes per stack unit. The initial state is always displayed. Overflow is indicated by ellipses (...). Standby to member role changes are not displayed. Role history also does not display the transition after bootup of a non-active controller unit from member to standby.
Examples

The following two examples show information for an ICX 7650 stack that includes rear-module operating mode.

ICX7650-48ZP# show stack
T=5d19h28m49.5: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment                   
1  S ICX7650-48ZP  active  609c.9f52.2c96 128 local   Ready
2  S ICX7650-48ZP  standby 609c.9f52.2b22  10 remote  Ready

    active       standby                                                       
     +---+        +---+                                                        
  3/1| 1 |3/3==3/3| 2 |3/1                                                     
     +---+        +---+                                                        
Standby u2 - protocols ready, can failover
Current stack management MAC is 609c.9f52.2c96
Stack ports are operating at 40G.

ICX7650-48ZP# show stack
T=5d19h28m49.5: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment                   
1  S ICX7650-48ZP  active  609c.9f52.2c96 128 local   Ready
2  S ICX7650-48ZP  standby 609c.9f52.2b22  10 remote  Ready

    active       standby                                                       
     +---+        +---+                                                        
  3/1| 1 |3/2-2/3 | 2 |3/1                                                     
     +---+        +---+                                                        
Standby u2 - protocols ready, can failover
Current stack management MAC is 609c.9f52.2c96
Stack ports are operating at 100G.

History
Release version Command history
08.0.61 This command was modified to include role history transitions for all stack units.
08.0.70 This command was modified to include operating mode information for ICX 7650 stacks.