show switch

show switch {detail}

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

The show switch command displays:
  • 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 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).
  • If locally administered MAC address generation is enabled (see enable switch locally-administered-address).
  • Software version information.

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 section in the ExtremeXOS 32.2 User Guide .

Depending on the software version running on your switch, additional or different switch information may be displayed.

On a stack or Extended Edge Switching topology, the following additional information is available:
  • System Type.
  • System UpTime.
  • Details of master and backup, or current node and master, including any loss of synchronicity with the primary, and which process is out of sync.

Example

Output from this command on the standalone ExtremeSwitching series 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
Trusted Delivery: UBOOT Image Verified

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.4Config Selected:  primary.cfg
Config Booted:    primary.cfg
Config Automatic: primary.cfg
primary.cfg       Created by ExtremeXOS version 22.2.0.16
                  344404 bytes saved on Tue Jan 17 11:17:56 2017
                  Auto-saved every 2 minutes.
                  Next periodic save on Tue Jan 17 14:45:33 2017
LAA MAC:          Locally Administered MAC Address Enabled
Port Name Pattern: eths\sp\p (After Reboot: slot\sport\p)
show version
 Slot-1          : 800908-00-01 1847F-10076 Rev 01 IMG: 30.3.0.453
 VIM5-4XE-1      : 800910-00-01 1845F-10106 Rev 01
 XN-SSD-001-120-1: 800954-00-02 1917F-10030 Rev 02

 Image   : ExtremeXOS version 30.3.0.453 by release-manager
           on Thu Jul 11 11:52:10 EDT 2019
 Diagnostics :
 Certified Version : EXOS Linux 4.14.123, FIPS fips-ecp-2.0.16

 Build Tools Version : exos-x32-sdk-2.5.3.1.0

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
LAA MAC:          Locally Administered MAC Address Disabled
Port Name Pattern: eths\sp\p (After Reboot: eths\sp\p)
Output for a Extended Edge Switching topology looks similar to the following:
Slot-1 VPEX Stack.12 # sh switch
 
SysName:          Stack
SysLocation:
SysContact:       https://www.extremenetworks.com/support/
System MAC:       02:04:96:9B:B7:87
System Type:      VPEX X670G2-48x-4q (Stack)
 
SysHealth check:  Enabled (Normal)
Recovery Mode:    All
System Watchdog:  Enabled
 
Current Time:     Wed May  6 23:54:50 2020
Timezone:         [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time:        Wed May  6 23:15:57 2020
Boot Count:       2405
Next Reboot:      None scheduled
System UpTime:    38 minutes 53 seconds 
 
Slot:             Slot-1 *                     Slot-2
                  ------------------------     ------------------------
Current State:    MASTER                       BACKUP (vpex Not Synced)
 
Image Selected:   secondary                    secondary
Image Booted:     secondary                    secondary
Primary ver:      30.7.0.102                   30.7.0.102
Secondary ver:    31.1.0.108                   31.1.0.108
 
Config Selected:  primary.cfg
Config Booted:    primary.cfg
Config Automatic: NONE (Disabled)
 
primary.cfg       Created by ExtremeXOS version 31.1.0.74
                  951802 bytes saved on Mon Apr 20 19:34:02 2020

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.

Automatic configuration save information was added in ExtremeXOS 22.2.

Locally administered per-port MAC address information was added in ExtremeXOS 22.3.

System port name pattern information added in ExtremeXOS 30.1.

Solid State Storage Device SSD-120 information was added in ExtremeXOS 30.3.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.