show switch

This command displays switch status information about all units in the stack or a single unit when you specify the unit value.

Format show switch [unit]
Mode Privileged EXEC
Column
Meaning
Switch The unit identifier assigned to the switch.

When you do not specify a value for unit, the following information appears:

Column
Meaning
Management Status Whether the switch is the Primary Management Unit, a stack member, a configured standby switch, an operational standby switch, or the status is unassigned.
Preconfigured Model Identifier The model identifier of a preconfigured switch ready to join the stack. The Model Identifier is a 32-character field assigned by the device manufacturer to identify the device.
Plugged-In Model Identifier The model identifier of the switch in the stack. Model Identifier is a 32-character field assigned by the device manufacturer to identify the device.
Switch Status The switch status. Possible values for this state are: OK, Unsupported, Code Mismatch, SDM Mismatch, Config Mismatch, or Not Present. A mismatch indicates that a stack unit is running a different version of the code, SDM template, or configuration than the management unit. The SDM Mismatch status indicates that the unit joined the stack, but is running a different SDM template than the management unit. This status is temporary; the stack unit should automatically reload using the template running on the stack manager.

If there is a Stacking Firmware Synchronization operation in progress status is shown as Updating Code.

Code Version The detected version of code on this switch.

The following example shows CLI display output for the command.

(Extreme 220) (Config) #show switch
    Management  Standby    Preconfig     Plugged-in     Switch       Code
SW    Switch    Status     Model ID      Model ID       Status       Version
--- ---------- --------- ------------- ------------- ------------- -----------
1   Mgmt Sw               220-24t-10GE2    220-24t-10GE2    OK            1.1.1.10
2   Stack Mbr   Oper Stby 220-48t-10GE4    220-48t-10GE4    OK            1.1.1.10

When you specify a value for unit, the following information displays.

Column
Meaning
Management Status Whether the switch is the Primary Management Unit, a stack member, or the status is unassigned.
Hardware Management Preference The hardware management preference of the switch. The hardware management preference can be disabled or unassigned.
Admin Management Preference The administrative management preference value assigned to the switch. This preference value indicates how likely the switch is to be chosen as the Primary Management Unit.
Switch Type The 32-bit numeric switch type.
Model Identifier The model identifier for this switch. Model Identifier is a 32-character field assigned by the device manufacturer to identify the device.
Switch Status The switch status. Possible values are OK, Unsupported, Code Mismatch, Config Mismatch, SDM Mismatch, STM Mismatch, or Not Present.
Switch Description The switch description.
Expected Code Type The expected code type.
Expected Code Version The expected code version.
Detected Code Version The version of code running on this switch. If the switch is not present and the data is from preconfiguration, then the code version is “None”.
Detected Code in Flash The version of code that is currently stored in FLASH memory on the switch. This code executes after the switch is rebooted. If the switch is not present and the data is from preconfiguration, then the code version is “None”.
SFS Last Attempt Status The stack firmware synchronization status in the last attempt for the specified unit.
Serial Number The serial number for the specified unit.
Up Time The system up time.

The following example shows CLI display output for the command.

(Extreme 220) (Config) #show switch 2
Switch............................ 2
Management Status................. Stack Member
Hardware Management Preference.... Unassigned
Admin Management Preference....... Unassigned
Switch Type....................... 0xb1500005
Preconfigured Model Identifier.... 220-48t-10GE4
Plugged-in Model Identifier....... 220-48t-10GE4
Switch Status..................... OK
Switch Description................ Extreme 220-Series 48GE, 4 10GbE SFP+ ports,
1 Fixed AC PSU, 1 RPS port, L3 Switching
Detected Code in Flash............ 1.1.1.10
SFS Last Attempt Status........... None
Serial Number..................... 1648G-01431
Up Time........................... 1 days 19 hrs 44 mins 26 secs