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 This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. 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.

The default display string for Integrated Application Hosting (IAH) dedicated ports on ExtremeSwitching X465 series switches is “Insight” to indicate that these are to be used for virtualization. On X465-24MU and and X465-24XE switches, the dedicated ports are 33–34; on X465-24MU-24W, and X465i-48W switches, the dedicated ports are 57–58. You can change this display string (configure ports port_list display-string string ). If you unconfigure the display string, it is reset to “Insight”.

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 licensing, M-MKA enabled
   Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback,
               D-ELSM enabled but 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 v 22.1.

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

Flag (B) to show port blocked by MAC Security was added in ExtremeXOS 30.1.

"Insight" display string appears for IAH dedicated ports of ExtremeSwitching X465-24MU amd X465-24MU-24W switches for ExtremeXOS 30.2.

"Insight" display string appears for IAH dedicated ports of ExtremeSwitching X465-24XE and X465i-48W switches for ExtremeXOS 30.5.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.