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 on Summit X460, X480, and X670 series switches 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 Summit family switch:

show ports configuration
Port Configuration Monitor                              Fri Apr 13 10:22:29 2007
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    ON  AUTO       AUTO                   NONE UTP
2        VR-Default  E      R    ON  AUTO       AUTO                   NONE UTP
3        VR-Default  E      R    ON  AUTO       AUTO                   NONE UTP
4        VR-Default  E      R    ON  AUTO       AUTO                   NONE UTP
5        VR-Default  E      R    ON  AUTO       AUTO                   NONE
6        VR-Default  E      R    ON  AUTO       AUTO                   NONE
7        VR-Default  E      R   OFF   100       FULL                   SX
8        VR-Default  E      R    ON  AUTO       AUTO                   NONE
9        VR-Default  E      R    ON  AUTO       AUTO                   NONE
10       VR-Default  E      R    ON  AUTO       AUTO                   NONE
11       VR-Default  E      R    ON  AUTO       AUTO                   NONE
12       VR-Default  E      R    ON  AUTO       AUTO                   NONE
13       VR-Default  E      R    ON  AUTO       AUTO                   NONE
14       VR-Default  E      R    ON  AUTO       AUTO                   NONE
15       VR-Default  E      R    ON  AUTO       AUTO                   NONE
================================================================================
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled, E-Enabled, Media: %-Licensed,!-Unsupported, $-Restricted
Media Red: * - use "show port info detail" for redundant media type
0->Clear Counters  U->page up  D->page down ESC->exit

The following command displays the port configuration for slot 2, port 2 on a modular switch:

show ports 2:2 configuration

Following sample output includes flags that indicate the summary status of a non-Extreme optical device. "Licensed" means the optics license is installed (the 40G+ device is unrestricted, but still unsupported). "Unsupported" means the non-Extreme device is unsupported by Extreme, but is unrestricted because it does not require a license (1G/10G). "Restricted" means the non-Extreme 40G+ device will be restricted because no optics license is installed.

show ports 3-4 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
========================================================================================
3     VR-Default   E       R    OFF     10000        FULL                        $Q+SR4
4     VR-Default   E       R    OFF     10000        FULL                        $Q+SR4   
========================================================================================
> 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, Media: %-Licensed,!-Unsupported, $-Restricted
Media Red: * - use "show port info detail" for redundant media type
0->Clear Counters U->page up D->page down ESC->exit

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.

Platform Availability

This command is available on all platforms.