Displaying General or Detailed Information about Stack Members

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.

ICX7850-48FS Router# show stack
T=1d23h31m36.6: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready
2  D ICX7850-48F   standby d4c1.9e17.7daf   0 remote  Ready
3  D ICX7850-48F   member  d4c1.9e17.8907   0 remote  Ready
4  D ICX7850-48F   member  d4c1.9e17.7e07   0 remote  Ready

    active       standby
     +---+        +---+        +---+        +---+
 -2/5| 1 |2/1==2/5| 2 |2/1--2/1| 3 |2/5--2/1| 4 |2/5-
 |   +---+        +---+        +---+        +---+   |
 |                                                  |
 |--------------------------------------------------|
Standby u2 - protocols ready, can failover
Role history: N: standalone, A: active, S: standby, M: member
U1: N->A

Current stack management MAC is d4c1.9e18.83e1

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

ICX7850-48FS Router# show stack 1
T=1d23h34m53.2: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready

ICX7850-48FS Router# show stack 2
T=1d23h34m58.4: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
2  D ICX7850-48F   standby d4c1.9e17.7daf   0 remote  Ready

ICX7850-48FS Router# show stack 3
T=1d23h35m4.9: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
3  D ICX7850-48F   member  d4c1.9e17.8907   0 remote  Ready

ICX7850-48FS Router# show stack 4
T=1d23h35m8.9: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
4  D ICX7850-48F   member  d4c1.9e17.7e07   0 remote  Ready

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

ICX7850-48FS Router# show stack detail
T=1d23h19m9.4: alone: standalone, D: dynamic cfg, S: static
ID   Type          Role    Mac Address    Pri State   Comment
1  S ICX7850-48FS  active  d4c1.9e18.83e1 128 local   Ready
2  D ICX7850-48F   standby d4c1.9e17.7daf   0 remote  Ready
3  D ICX7850-48F   member  d4c1.9e17.8907   0 remote  Ready
4  D ICX7850-48F   member  d4c1.9e17.7e07   0 remote  Ready

    active       standby
     +---+        +---+        +---+        +---+
 -2/5| 1 |2/1==2/5| 2 |2/1--2/1| 3 |2/5--2/1| 4 |2/5-
 |   +---+        +---+        +---+        +---+   |
 |                                                  |
 |--------------------------------------------------|
Standby u2 - protocols ready, can failover
Role history: N: standalone, A: active, S: standby, M: member
U1: N->A

Current stack management MAC is d4c1.9e18.83e1

Image-Auto-Copy is Enabled.

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

Unit# System uptime
1     1 day(s) 23 hour(s) 19 minute(s) 9 second(s)
2     1 day(s) 23 hour(s) 10 minute(s) 32 second(s)
3     1 day(s) 23 hour(s) 10 minute(s) 31 second(s)
4     1 day(s) 23 hour(s) 10 minute(s) 43 second(s)
The system started at 16:56:58 GMT+00 Tue Jun 15 2021

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)