Use CLI for Troubleshooting
You can use CLI to provide diagnostic information.
Procedure
Examples
Due to the length of command output, the following examples are truncated.
Capture the output for the following commands after you observe a problem with the device:
Switch:1>enable Switch:1#show running-config module cli Preparing to Display Configuration... # # Fri Feb 25 12:34:46 2022 UTC # box type : <hardware dependent> # software version : 8.6.0.0.GA # cli mode : ECLI # #Card Info : # Slot 1 : # CardType : <hardware dependent> # CardDescription : <hardware dependent> # CardSerial# : TB012132K-H0057 # CardPart# : 801104-00-02 # CardAssemblyDate : 20210817 # CardHWRevision : 02 # CardHWConfig : # AdminStatus : up # OperStatus : up --More-- (q = quit)
Switch:1#show tech Sys Info: --------------- General Info : SysDescr : <hardware dependent> (8.6.0.0.GA) SysName : <hardware dependent> SysUpTime : 1 day(s), 02:39:22 SysContact : http://www.extremenetworks.com/contact/ SysLocation : Chassis Info: Chassis : <hardware dependent> ModelName : <hardware dependent> BrandName : Extreme Networks. Serial# : TB012132K-H0057 H/W Revision : 02 --More-- (q = quit)
Switch:1#show interfaces gigabitethernet statistics ================================================================================ Port Stats Interface ================================================================================ PORT IN OUT IN OUT NUM OCTETS OCTETS PACKET PACKET -------------------------------------------------------------------------------- 1/1 1215232 1852156 18988 25083 1/2 11866260 3650340 128847 51849 1/3 0 0 0 0 1/4 0 0 0 0 1/5 0 0 0 0 1/6 2606433776 2605569408 40718802 40712022 1/7 2383797478 2368788480 37189478 37012320 1/8 2639779622 2624836140 41201664 40945760 1/9 0 0 0 0 1/10 0 0 0 0 1/11 0 0 0 0 1/12 0 6776546 0 62572 1/13 1215232 997632 18988 15588 1/14 7459408 1396224 69625 18702 --More-- (q = quit)
Switch:1#show interfaces gigabitEthernet error ================================================================================ Port Ethernet Error ================================================================================ PORT ERROR ERROR FRAMES TOO LINK CARRIER CARRIER SQETEST IN NUM ALIGN FCS LONG SHORT FAILURE SENSE ERRORS ERRORS DISCARD -------------------------------------------------------------------------------- 1/1 0 0 0 0 0 0 0 0 0 1/2 0 0 0 0 0 0 0 0 0 1/3 0 0 0 0 0 0 0 0 0 1/4 0 0 0 0 0 0 0 0 0 1/5 0 0 0 0 0 0 0 0 0 1/6 0 0 0 0 0 0 0 0 0 1/7 0 0 0 0 0 0 0 0 0 1/8 0 0 0 0 0 0 0 0 0 1/9 0 0 0 0 0 0 0 0 0 1/10 0 0 0 0 0 0 0 0 0 1/11 0 0 0 0 0 0 0 0 0 1/12 0 0 0 0 0 0 0 0 0 1/13 0 0 0 0 0 0 0 0 0 1/14 0 0 0 0 0 0 0 0 0 --More-- (q = quit)
Variable Definitions
The following table defines parameters for the more command.
Variable |
Value |
---|---|
WORD<1–99> |
Specifies the file name to view. Provide the filename in one of the following formats: a.b.c.d:<file>, /intflash/<file>. |
The following table defines parameters for the show running-config command.
Variable |
Value |
---|---|
module {app-telemetry | boot | cfm | cli | diag | dvr | eap | endpoint-tracking | energy-saver | fa | fhs | filter | ike | ip | ipfix | ipsec | ipv6 | iqagent | isis | i-sid | lacp | license | lldp | lst | macsec | mlt | naap | nls | ntp | ovsdb | port | qos | radius | restconf | rmon | sflow | security | slpp | smtp | spbm | stg | sys | tacacs | virtualservice | vlan | web | vxlan} |
Specifies the command group for which you request configuration settings. Note:
All configuration modules are not supported on all hardware platforms. For information about feature support, see Fabric Engine and VOSS Feature Support Matrix. |
verbose |
Specifies a complete list of all configuration information about the switch. |
The following table defines parameters for the show interfaces gigabitEthernet statistics command.
Variable |
Value |
---|---|
dhcp-relay [vrf WORD<1–16> ][vrfids WORD<0–512> {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}] |
Displays port Dynamic Host Configuration Protocol (DHCP) statistics. |
lacp {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Displays Link Aggregation Control Protocol (LACP) statistics. |
rate-limiting {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Displays port ingress rate-limiting statistics. |
rmon {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} [history] |
Displays Remote Network Monitoring (RMON) statistics. |
verbose |
Displays a complete list of all statistics. |
vlacp [history] {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Displays port Virtual Link Aggregation Control Protocol (VLACP) statistics.
|
The following table defines parameters for the show interfaces gigabitEthernet error command.
Variable |
Value |
---|---|
collision |
Displays port collision error information. |
ospf |
Displays ports Open Shortest Path First (OSPF) error information. |
{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
verbose |
Displays all port error information. |