show switch
Usage Guidelines
Examples
Catalyst 3750-X and 3560-X Switch Command Reference
2-758
Downloaded from
www.Manualslib.com
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
This command displays these states:
Waiting—A switch is booting up and waiting for communication from other switches in the stack.
•
The switch has not yet determined whether or not it is a stack master.
Stack members not participating in a stack master election remain in the waiting state until the stack
master is elected and ready.
Initializing—A switch has determined whether its stack master status. If it is not the stack master,
•
it is receiving its system- and interface-level configuration from the stack master and loading it.
Ready—The member has completed loading the system- and interface-level configurations and can
•
forward traffic.
Master Re-Init—The state immediately after a master re-election and a different member is elected
•
master. The new master is re-initializing its configuration. This state applies only to the new master.
Ver Mismatch—A switch in version mismatch mode. Version-mismatch mode is when a switch
•
joining the stack has a different stack protocol minor version number than the master.
•
SDM Mismatch—A switch in Switch Database Management (SDM) mismatch mode. SDM
mismatch is when a member does not support the SDM template running on the master.
Provisioned—The state of a preconfigured switch before it becomes an active member of a switch
•
stack, or the state of a stack member after it has left the switch stack. The MAC address and the
priority number in the display are always 0 for the provisioned switch.
A typical state transition for a stack member (including a stack master) booting up is Waiting ->
Initializing -> Ready.
A typical state transition for a stack member becoming a stack master after a stack master election is
Ready -> Master Re-Init -> Ready.
A typical state transition for a stack member in version mismatch (VM) mode is Waiting ->
Ver Mismatch.
You can use the show switch command to identify whether the provisioned switch exists in the switch
stack. The show running-config and the show startup-config privileged EXEC commands do not
provide this information.
The display also includes stack MAC-persistency wait-time if persistent MAC address is enabled.
This example shows summary stack information:
Switch> show switch
Switch#
Role
Mac Address
--------------------------------------------------------
6
Member
0003.e31a.1e00
*8
Master
0003.e31a.1200
2
Member
0000.000.0000
This example shows detailed stack information:
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Current
Priority
State
1
Ready
1
Ready
0
Provisioned
OL-21522-02