Displaying General or Detailed Information about Stack Members

Replace examples with non-ICX 7750 examples. The series should include a general show stack command, a show stack unit command, and a show stack detail command that are all related.
You can display information about any member in a stack by entering show commands from the active controller console port. If you enter show commands from a unit that is not the active controller, the information may not be displayed correctly.

The show stack command displays general information about a stack, for all members, for a specified member, or for all members with additional detail.

The following output covers the entire stack and includes role history for each unit, beginning with the initial role the unit held.

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

If you add a stack member ID, output is displayed for that member only.

ICX7750-26Q Router# show stack 1
T=12m6.2: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7750-26QXG active  748e.f8f9.6300   0 local   Ready

ICX7750-26Q Router# show stack 2
T=12m16.3: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
2  D ICX7750-26QXG member  cc4e.2438.7280   0 remote  Ready

ICX7750-26Q Router# show stack 3
T=12m20.6: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
3  D ICX7750-26QXG standby cc4e.2438.7500   0 remote  Ready

If you add the detail keyword to the show stack command, output resembles the following example.

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

    active       standby
    +---+        +---+        +---+
=2/1| 1 |2/4==2/1| 3 |2/4--2/1| 2 |2/4=
|   +---+        +---+        +---+   |
|                                     |
|-------------------------------------|
Will assign standby in 11 sec due to all ready

Standby u3 - protocols ready, can failover
Current stack management MAC is 748e.f8f9.6300

Image-Auto-Copy is Enabled.

      Stack Port Status                        Neighbors                        
Unit# Stack-port1         Stack-port2          Stack-port1         Stack-port2  
1     up (1/2/1-1/2/2)    up (1/2/4-1/2/6)     U2 (2/2/4-2/2/5)    U3 (3/2/1-3/2/3)
2     up (2/2/1)          up (2/2/4-2/2/5)     U3 (3/2/4)          U1 (1/2/1-1/2/2)
3     up (3/2/1-3/2/3)    up (3/2/4)           U1 (1/2/4-1/2/6)    U2 (2/2/1)   

Unit# System uptime
1     18 minute(s) 33 second(s)
2     17 minute(s) 30 second(s)
3     18 minute(s) 46 second(s)

Field Descriptions for the show stack Command

Field

Description

alone: Standalone

This device is operating as a standalone device.

S: static configuration

The configuration for this unit is static (has been saved with a write memory command).

D: dynamic configuration

The configuration for this unit is dynamic and may be overwritten by a new stack unit. To change to a static configuration, enter the write memory command.

ID

The stack identification number for this unit

Type

The model of this unit

Role

The role of this unit within the stack

MAC address

The MAC address of this unit

Pri (Priority)

The priority assigned to this unit

State

The operational state of this unit

Comments

Additional information about this unit (optional)

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.

Note: The active controller removes the dynamic configuration of a unit when the unit leaves the stack. However, if there is a static trunk configuration associated with the unit, the active controller cannot remove the dynamic configuration. In this case, you must remove the static trunk and use the no stack unit stack-unit command to manually remove the configuration.

Field Descriptions for the show stack detail Command

Field

Description

Stack Port Status

Indicates stacking port status for each stack unit

Neighbors

Identifies stack neighbors (by unit ID) for each stack unit

Unit #

The stack identification number for this unit

Stack-port 1

Indicates the port state (up or down) and identifies the port by number (stack-ID/slot/port)

Stack-port 2

Indicates the port state (up or down) and identifies the port by number (stack-ID/slot/port)