show switch
Use this command to display information about all units in the stack or about a single unit if you specify the unit value.
M4350
For units that lack a matching stack template ID and can therefore not join the stack, the switch status is shown as “STM Mismatch.”
| Format | show switch [unit] |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Switch | The unit identifier assigned to the switch. |
If you do not specify a value for unit, the following information displays:
| Term | Definition |
|---|---|
| Management Status | Indicates whether the switch is the primary management unit, a stack member, 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 that is assigned by the device manufacturer to identify the device. |
| Plugged-In Model Identifier | The model identifier of the switch in the stack. The model identifier is a 32-character field that is assigned by the device manufacturer to identify the device. |
| Switch Status |
The switch status. Possible values for this state are: OK, Unsupported, Code Mismatch, Config Mismatch, or Not Present. A mismatch indicates that a stack unit is running a different firmware version, Switch Database Management (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 automatically reloads using the template that is running on the stack manager. If a Stacking Firmware Synchronization operation is in progress, the status is shown as Updating Code. |
| Code Version | The detected version of code on the switch. |
Command example:
(NETGEAR Switch) #show switch
Management Standby Preconfig Plugged-in Switch Code
SW Switch Status Model ID Model ID Status Version
--- ---------- --------- ------------- ------------- ------------- -----------
1 Stack Mbr Platform v1 Platform v1 STM Mismatch 10.17.15.8
2 Mgmt Sw Platform v2 Platform v2 OK 10.17.15.8
If you specify a value for unit, the following information displays:
| 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 selected as the primary management unit. |
| Switch Type | The 32-bit numeric switch type. |
| Model Identifier | The model identifier for this switch. The model identifier is a 32-character field that is assigned by the device manufacturer to identify the device. |
| Switch Status | The switch status. Possible values are OK, Unsupported, Code Mismatch, Config Mismatch, or Not Present. |
| Switch Description | The switch description. |
| Expected Code Version | The expected firmware version. |
| Detected Code Version | The version of firmware that is running on this switch. If the switch is not present and the data is from the preconfiguration, the firmware version is None. |
| Detected Code in Flash | The version of the firmware that is currently stored in flash memory on the switch. The firmware executes after the switch is reset. If the switch is not present and the data is from the preconfiguration, the firmware version is None. |
| SFS Last Attempt Status | The stack firmware synchronization status in the last attempt for the specified unit. |
| Stack Template ID | The ID of the stack template. For example: 3. |
| Stack Template Description | The stack template description. For example: v1 and v2 Mix. |
| Up Time | The system up time. |
Command example:
(Netgear Switch) #show switch 1
Switch............................ 1
Management Status................. Management Switch
Hardware Management Preference.... Unassigned
Admin Management Preference....... Unassigned
Switch Type....................... 0xd6064004
Preconfigured Model Identifier.... M4350-16V4C
Plugged-in Model Identifier....... M4350-16V4C
Switch Status..................... OK
Switch Description................ M4350-16V4C
Detected Code in Flash............ 14.0.0.2
CPLD version...................... 0x1
SFS Last Attempt Status........... None
Serial Number..................... 4G115B1234567
Up Time........................... 2 days 3 hrs 24 mins 33 secs