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 example displays information for an ICX 7150 three-unit stack. The command includes information on topology. The stack shown is configured in a ring with trunks between units 1 and 2 and units 1 and 3.

ICX7150-24 Router(config-unit-1)# show stack
T=35m51.5: alone: standalone, D: dynamic cfg, S: static
ID  Type        Role    Mac Address    Pri State Comment
1 S ICX7150-24  active  00e0.5200.0100 128 local  Ready
2 S ICX7150-48P standby 748e.f882.e418 0   remote Ready
3 D ICX7150-24P member  cc4e.24b4.729c 0   remote Ready
   active                    standby
    +---+        +---+        +---+
=3/1| 1 |3/3==3/3| 3 |3/1--3/3| 2 |3/1=
|   +---+        +---+        +---+   |
|                                     |
|-------------------------------------|
Will assign standby in 56 sec due to all ready
Standby u2 - protocols ready, can failover
Current stack management MAC is 00e0.5200.0100

The following example includes a role history for a three-unit stack.

ICX7750-26Q Router# show stack
T=29m36.7: alone: standalone, D: dynamic cfg, S: static
ID Type          Role    Mac Address    Pri State  Comment
1S ICX7750-26QXG standby 748e.f8f9.6300 128 remote Ready
2S ICX7750-26QXG member  cc4e.2438.7280   0 remote Ready
4S ICX7750-26QXG active  cc4e.2438.7500 128 local  Ready

active                 standby
    +---+        +---+        +---+
-2/1| 4 |2/4--2/1| 2 |2/4--2/1| 1 |2/4-
|   +---+        +---+        +---+   |
|                                     |
|-------------------------------------|

Standby u1 -protocols ready, can failover or manually switch over

Role history: N: standalone, A: active, S: standby, M: member

U1: N->A->S->M->S, U2: M->S->A->S->M, U4: M->S->A

Current stack management MAC is cc4e.2438.7500

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.