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 |
| Term | Definition |
|---|---|
| Switch | The unit identifier assigned to the switch. |
When you do not specify a value for unit, the following information appears.
| Term | Definition |
|---|---|
| Management Status | Indicates 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. |
| Debian Rootfs Status | Certain switches use embedded Debian Linux file system. This parameter provides the status of the file system changes
done on the master switch.
|
Example: The following shows example CLI display output for the command.
(Switching) #show switch
Management Standby Preconfig Plugged-in Switch Code Debian Rootfs
SW Switch Status Model ID Model ID Status Version Status
--- ----------- --------- ---------------- ------------- -------- --------- --------
1 Mgmt Sw AG64XX-52P AG64XX-52P OK W.10.18.1 Synced
2 Stack Mbr Oper Stby AG64XX-28P AG64XX-28P OK W.10.18.1 Copied
When you specify a value for unit, the following information appears.
| Term | Definition |
|---|---|
| Management Status | Indicates 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. |
| Debian Rootfs Status | Certain switches use embedded Debian Linux file system. This parameter provides the status of the file system changes
done on the master switch.
|
| Debian Rootfs Version Operational | The 32-character md5sum of the Debian root file system snapshot which is used by the switch when it booted. |
| Debian Rootfs Version Snapshot | The 32-character md5sum of Debian root file system snapshot. It can be different from the operational value when the manager transfers its own snapshot file during the Debian rootfs synchronization step. |
| 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 reset. 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. |
Example: The following shows example CLI display output for the command.
(Switching) #show switch 1 Switch............................ 1 Management Status................. Management Switch Hardware Management Preference.... Unassigned Admin Management Preference....... Unassigned Switch Type....................... 0xb6240001 Preconfigured Model Identifier.... Platform v1 Plugged-in Model Identifier....... Platform v1 Switch Status..................... STM Mismatch Switch Description................ Development System 48 GE, 4 TENGIG Expected Code Type................ 0x100b000 Detected Code Version............. 10.17.15.8 Detected Code in Flash............ 10.17.15.8 SFS Last Attempt Status........... None Stack Template ID................. 3 Stack Template Description........ v1 and v2 Mix Up Time........................... 0 days 3 hrs 15 mins 50 secs
Example: The following shows example CLI display output for the command showing Debian Rootfs status.
(Switching) #show switch 2 Switch............................ 2 Management Status................. Stack Member Hardware Management Preference.... Unassigned Admin Management Preference....... Unassigned Switch Type....................... 0xb6160024 Preconfigured Model Identifier.... AG64XX-28P Plugged-in Model Identifier....... AG64XX-28P Switch Status..................... OK Debian Rootfs Status.............. Copied Debian Rootfs Version Operational. 02f01e3e0092c66ca9c739bd5c5228c3 Debian Rootfs Version Snapshot.... 9fffbbdfe2331fa1ac9f2302f6ddfedb Switch Description................ AG64XX-28P 28-Port Gigabit Ethernet PoE+ Switch w/24 copper, 4 SFP+Ports Detected Code in Flash............ W.10.18.1 SFS Last Attempt Status........... None Serial Number..................... TWAG6424P183800005A00 Up Time........................... 0 days 0 hrs 54 mins 40 secs