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 30.7 User Guide .

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

On a stack the following additional information will be available:
  • System Type.
  • System UpTime.
  • Details of Master and Backup, or current node and Master.

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
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)

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 the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.