show ports configuration

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

Description

Displays port configuration statistics, in real time or snapshot.

Syntax Description

mgmt

Specifies the management port.

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 data.

refresh Specifies a continous refresh of output.

Default

Real-time statistics.

Usage Guidelines

If you do not specify a port number, range of ports, or tag value, configuration statistics are displayed for all ports. If you specify the no-refresh parameter, the system displays a snapshot of the data at the time you issue the command.

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

This status information may be useful for your technical support representative if you have a network problem.

This command displays port configuration, which includes:
  • Virtual router.
  • Port state.
  • Link state.
  • Autonegotiation information.
  • Link speed.
  • Duplex mode.
  • Flow control.
  • Load sharing information.
  • Link media information.
    Note

    Note

    On 10 Gbps ports, the Media Primary column displays NONE when no module is installed, and SR, LR, or ER depending on the module installed when there is one present. Combination ports display Autonegotiation, Link speed, and Duplex mode information only for the current primary medium.

Example

The following command displays the port configuration for all ports on a switch:

# show port configuration no-refresh 
Port Configuration
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 10000        FULL                    NONE         
2        VR-Default E       R   OFF 10000        FULL                    NONE         
3        VR-Default E       R   OFF  1000        FULL                    #SX          
4        VR-Default E       R   OFF 10000        FULL                    #SF+_SR      
5        VR-Default E       R   OFF 10000        FULL                    NONE         
6        VR-Default E       A    ON  1000 1000   FULL FULL   NONE        1000T        
7        VR-Default E       A    ON  1000 1000   FULL FULL   NONE        1000T        
8        VR-Default E       R   OFF 10000        FULL                    NONE         
9        VR-Default E       R   OFF  1000        FULL                    #NONE          
10       VR-Default E       R   OFF 10000        FULL                    #NONE      
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled, E-Enabled, L-License Disabled
Media: !-Unsupported, $-Unlicensed, #-LRM/MACsec Adapter
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF

Example

The following command displays the indication that a 25G lane based optic has been inserted into port partitioned for 10G lanes:

pacman debug) 5520-24X-EXOS.7 # show port 25 config no
Port Configuration
Port     Virtual    Port  Link  Auto   Speed       Duplex   Flow  Load   Media
         router     State Neg  Cfg Actual  Cfg Actual Cntrl Master Pri Red
================================================================================
25       VR-Default E       R   OFF 40000        FULL                   ?Q28+SWDM4
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled, E-Enabled, L-License Disabled
Media: !-Unsupported, $-Unlicensed, #-LRM/MACsec Adapter, ?-Mismatches Partition
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF
(pacman debug) 5520-24X-EXOS.8 #

Example

The following command displays the indication that a 100G optic has been inserted into an unlicensed port:

(pacman debug) 5520-24X-EXOS.7 # show port 1 config no
Port Configuration
Port     Virtual    Port  Link  Auto   Speed       Duplex   Flow  Load   Media
         router     State Neg  Cfg Actual  Cfg Actual Cntrl Master Pri Red
================================================================================
25       VR-Default E       R   OFF 10000        FULL                   ?$Q28+SWDM4
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled, E-Enabled, L-License Disabled
Media: !-Unsupported, $-Unlicensed, #-LRM/MACsec Adapter, ?-Mismatches Partition
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF

History

This command was first available in ExtremeXOS 10.1.

The Port not present and Media variables were added in ExtremeXOS 11.2.

The no-refresh variable was added in ExtremeXOS 11.3.

The tag value was added in ExtremeXOS 12.4.4.

This command was updated to include flags that indicate the summary status of a non-Extreme optical device in ExtremeXOS 15.4.

The refresh keyword was added in ExtremeXOS 16.1.

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

Flag (#) to show that LRM/MACsec adapter is connected to a port was added in ExtremeXOS 30.1.

Mismatched port compatility indication was added in ExtremeXOS 31.3.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.