Using 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)
      
      Switch:1#show io nic-counters
======== PORT 1 NIC STATS ========
bash-4.4# ethtool -S eth1 | grep -v queue
NIC statistics:
     rx_packets: 49378
     tx_packets: 1801
     rx_bytes: 3614051
     tx_bytes: 153217
     rx_broadcast: 11142
     tx_broadcast: 61
     rx_multicast: 37666
     tx_multicast: 1283
     multicast: 37666
     collisions: 0
     rx_crc_errors: 0
     rx_no_buffer_count: 0
     rx_missed_errors: 0
     tx_aborted_errors: 0
     tx_carrier_errors: 0
     tx_window_errors: 0
     tx_abort_late_coll: 0
     tx_deferred_ok: 0
     tx_single_coll_ok: 0
     tx_multi_coll_ok: 0
     tx_timeout_count: 0
     rx_long_length_errors: 0
     rx_short_length_errors: 0
     rx_align_errors: 0
     tx_tcp_seg_good: 0
     tx_tcp_seg_failed: 0
     rx_flow_control_xon: 0
     rx_flow_control_xoff: 0
     tx_flow_control_xon: 0
     tx_flow_control_xoff: 0
     rx_long_byte_count: 3614051
     tx_dma_out_of_sync: 0
     tx_smbus: 0
     rx_smbus: 0
     dropped_smbus: 0
     os2bmc_rx_by_bmc: 0
     os2bmc_tx_by_bmc: 0
     os2bmc_tx_by_host: 0
     os2bmc_rx_by_host:
     tx_hwtstamp_timeouts: 0
     tx_hwtstamp_skipped: 0
     rx_hwtstamp_cleared: 0
     rx_errors: 0
     tx_errors: 0
     tx_dropped: 0
     rx_length_errors: 0
     rx_over_errors: 0
     rx_frame_errors: 0
     rx_fifo_errors: 0
     tx_fifo_errors: 0
     tx_heartbeat_errors: 0
bash-4.4#
bash-4.4# exit
exit
--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 | slamon | 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 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. | 
| verbose | Displays all port 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. | 





