show ports

show ports {port_list | tag tag} {no-refresh | refresh}

Description

Displays port summary statistics.

Syntax Description

port_list

Specifies one or more ports or slots and ports.

tag

Specifies an 802.1Q or 802.1ad tag value.

no-refresh

Specifies a static snapshot of the data.

refresh Specifies a continuous refresh of output.

Default

N/A.

Usage Guidelines

Use this command to display the port number, display string, and some of the port states in tabular form.

The VLAN (Virtual LAN) name is displayed only if that port contains a single VLAN. If the port contains more than one VLAN, then the number of VLANs is displayed.

The tag value may be associated with either a VMAN or a VLAN.

Example

The following command displays information on ports 2, 3, and 12 on a switch:

show ports 2,3,12
Port Summary Monitor                      Thu Feb 14 14:19:50 2008
Port  Display         VLAN Name          Port  Link  Speed  Duplex
#     String          (or # VLANs)       State State Actual Actual
==================================================================
2   2nd-Floor-Lab   Lab-Backbone       E     A     1000   FULL
3                   Building2          E     A D
12 AllBackboneLANs (34)               E     R            FULL
==================================================================
   Port State: D-Disabled, E-Enabled, F-Disabled by link-flap detection,
               L-Disabled due to licensingNot Present, L-Loopback,
   Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback,
               D-ELSM enabled but not upt not up
               d-Ethernet OAM enabled but not up
               B-MACsec enabled but blocked awaiting authentication
   U->page up  D->page down ESC->exit

Restricted optics will show similarly to unsupported optics (!) in the show ports command by use of a ‘$‘.  Additionally, when a 3rd party license has been installed, previously restricted optics are shown using a ‘%‘, because those optics are un-restricted by means of the license. Here is an example output:

show port        conf   
Port Configuration Monitor                              Wed Sep  5   20:35:54 2012   
Port    Virtual    Port  Link  Auto   Speed      Duplex   Flow  Load    Media           
        router     State State Neg  Cfg Actual Cfg Actual Cntrl Master  Pri Red   
================================================================================   
1     VR-Default  E      R   OFF 40000         FULL                   $Q+SR4            
2     VR-Default  E     NP   OFF 10000         FULL                    NONE       
3     VR-Default  E     NP   OFF 10000         FULL                    NONE       
4     VR-Default  E     NP   OFF 10000         FULL                    NONE       
5     VR-Default  E      R   OFF 40000         FULL                    NONE       
6     VR-Default  E     NP   OFF 10000         FULL                    NONE       7     VR-Default  E     NP   OFF 10000         FULL                    NONE          
 ================================================================================    > indicates Port
        > indicates Port Display Name truncated past 8 characterspback type
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback type
Port State: D-Disabled, E-Enabled, L-License Disabledant media type
Media: !-Unsupported, $-Unlicensed detail" for redundant media type
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF
0->Clear Counters  U->page up  D->page down ESC->exit

History

This command was first available in ExtremeXOS 12.1.

The tag value was added in ExtremeXOS 12.4.4.

Show output for 3rd party restricted optics support was added in ExtremeXOS 15.3.

The refresh keyword was added in ExtremeXOS 16.1.

Flag to show ports disabled by excessive link-flapping added in ExtremeXOS 22.1.

Flag (L) to show port disabled due to lack of port speed license (applies to ExtremeSwitching X870-96x-8c switches only).

MACsec information was adde in ExtremeXOS 22.5.

Platform Availability