show switch
Description
Displays the current switch information.
On a SummitStack, this command displays the Master and Backup node information if executed on the Master, and displays the current node and the Master node information if executed on any other node.
Syntax Description
This command has no arguments or variables.
Default
N/A.
Usage Guidelines
- sysName, sysLocation, sysContact.
- MAC address.
- System type.
- System health check.
- Recovery mode.
- Watchdog state.
- Current date, time, system boot time, and time zone configuration.
- Any scheduled reboot information.
- System up time.
- Master and Backup information (available only on modular switches and SummitStack).
- Current state (available only on stand-alone
switches).
- OPERATIONAL.
- OPERATIONAL (OverHeat).
- FAILED.
- Software image information (primary/secondary image and version).
- Configuration information (primary/secondary configuration and version).
This information may be useful for your technical support representative if you have a problem.
On a SummitStack, the System UpTime may be useful when manually resolving the dual master situation. For more information, see Eliminating a Dual Master Situation Manually in the ExtremeXOS User Guide.
Depending on the software version running on your switch, additional or different switch information may be displayed.
- System Type.
- System UpTime.
- Details of Master and Backup, or current node and Master.
Example
The show switch command displays current switch information. Output from this command on the modular switches looks similar to the following:
SysName: BD-8810Rack3 SysLocation: SysContact: support@extremenetworks.com, +1 888 257 3000 System MAC: 00:04:96:1D:00:C0 System Type: BD-8810 SysHealth check: Enabled (Normal) Recovery Mode: All System Watchdog: Enabled Current Time: Fri Feb 13 02:25:24 1925 Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC. Boot Time: Wed Feb 11 21:39:56 1925 Boot Count: 159 Next Reboot: None scheduled System UpTime: 1 day 4 hours 45 minutes 28 seconds Slot: MSM-A * MSM-B ------------------------ ------------------------ Current State: MASTER BACKUP (In Sync) Image Selected: secondary secondary Image Booted: primary primary Primary ver: 12.0.0.4 12.0.0.4 Secondary ver: 12.0.0.4 12.0.0.4 Config Selected: primary.cfg primary.cfg Config Booted: primary.cfg primary.cfg primary.cfg Created by ExtremeXOS version 11.6.0.30 574246 bytes saved on Wed Jul 30 19:39:55 1924
Output from this command on the stand-alone Summit family switch looks similar to the following:
SysName: SummitX SysLocation: SysContact: support@extremenetworks.com, +1 888 257 3000 System MAC: 00:04:96:26:6B:EC System Type: SummitX SysHealth check: Enabled (Normal) Recovery Mode: All System Watchdog: Enabled Current Time: Wed Apr 25 21:17:18 2012 Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC. Boot Time: Wed Apr 25 21:13:54 2012 Boot Count: 951 Next Reboot: None scheduled System UpTime: 3 minutes 24 seconds Current State: OPERATIONAL Image Selected: secondary Image Booted: secondary Primary ver: 12.0.0.4 Secondary ver: 12.0.0.4 Config Selected: primary.cfg Config Booted: Factory Default primary.cfg Created by ExtremeXOS version 12.0.0.4 156281 bytes saved on Mon Apr 23 17:10:11 2012
The show switch detail command displays the same information shown above. Output from this command on a stack looks similar to the following:
SysName: Stack SysLocation: SysContact: support@extremenetworks.com, +1 888 257 3000 System MAC: 02:04:96:27:B7:41 System Type: X (Stack) SysHealth check: Enabled (Normal) Recovery Mode: All System Watchdog: Enabled Current Time: Tue Jan 30 14:22:41 2007 Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC. Boot Time: Mon Jan 29 21:51:38 2007 Boot Count: 317 Next Reboot: None scheduled System UpTime: 16 hours 31 minutes 3 seconds Slot: Slot-4 * Slot-5 ------------------------ ------------------------ Current State: MASTER BACKUP (In Sync) Image Selected: secondary secondary Image Booted: secondary secondary Primary ver: 12.0.0.10 12.0.0.10 Secondary ver: 12.0.0.13 12.0.0.13 Config Selected: primary.cfg Config Booted: primary.cfg primary.cfg Created by ExtremeXOS version 12.0.0.10 139108 bytes saved on Fri Jan 26 22:56:40 2007
History
This command was first available in ExtremeXOS 10.1.
This command was updated to support stacking in ExtremeXOS 12.0 and the System Type was added to the output from this version.
Platform Availability
This command is available on all platforms.