interface

Displays configured system interfaces and their status

Supported on the following devices:

Syntax

show interface {<INTERFACE-NAME>|brief|counters|ge|me1|port-channel|pppoe1|switchport|
vlan|wwan1}
show interface {<INTERFACE-NAME>|brief|counters|ge <1-4>|me1|port-channel <1-2>|
pppoe1|switchport|vlan <1-4094>|wwan1} {on <DEVICE-NAME>}

Parameters

show interface {<INTERFACE-NAME>|brief|counters|ge <1-4>|me1|port-channel <1-2>|
pppoe1|switchport|vlan <1-4094>|wwan1} {on <DEVICE-NAME>}
interfaces Optional. Displays system interface status based on the parameters passed
<INTERFACE-NAME> Optional. Displays status of the interface specified by the <INTERFACE-NAME> parameter. Specify the interface name.
brief Optional. Displays a brief summary of the interface status and configuration
counters Optional. Displays interface Tx or Rx counters
ge <1-4> Optional. Displays Gigabit Ethernet interface status and configuration
  • <1-4> – Select the Gigabit Ethernet interface index from 1 - 4.
me1 Optional. Displays Fast Ethernet interface status and configuration
port-channel <1-2> Optional. Displays port channel interface status and configuration
  • <1-2> – Specify the port channel index from 1 - 2.
pppoe1 Optional. Displays PPP over Ethernet interface status and configuration
switch port Optional. Displays layer 2 interface status
vlan <1-4094> Optional. Displays VLAN interface status and configuration
  • <1-4094> – Specify the Switch Virtual Interface (SVI) VLAN ID from 1 - 4094.
wwan1 Optional. Displays Wireless WAN interface status, configuration, and counters
on <DEVICE-NAME> The following keywords are common to all of the above interfaces:
  • on <DEVICE-NAME> – Optional. Displays interface related information on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.

Examples

nx9500-6C8809(config)#show interface switchport
---------------------------------------------------------------------------------------
 INTERFACE          STATUS   MODE     VLAN(S)                                   
---------------------------------------------------------------------------------------
 ge1                UP       access   1                                         
 ge2                DOWN     access   1                                         
---------------------------------------------------------------------------------------
A '*' next to the VLAN ID indicates the native vlan for that trunk port
nx9500-6C8809(config)#
nx9500-6C8809(config)#show interface vlan 1
Interface vlan1 is UP
  Hardware-type: vlan, Mode: Layer 3, Address: B4-C7-99-6C-88-09
  Index: 5, Metric: 1, MTU: 1500
  IP-Address: 192.168.13.13/24
    input packets 4623946, bytes 568905032, dropped 0, multicast packets 0
    input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
    output packets 458235, bytes 90317187, dropped 0
    output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
    collisions 0
  IPv6 mode is disabled

nx9500-6C8809(config)#
nx9500-6C8809(config)#show interface ge 1
Interface ge1 is UP
  Hardware-type: ethernet, Mode: Layer 2, Address: 00-1E-67-4B-BF-BC
  Index: 2001, Metric: 1, MTU: 1500
  Speed: Admin Auto, Operational 1G, Maximum 1G
  Duplex: Admin Auto, Operational Full
  Active-medium: n/a
    Input packets 2326745, bytes 348775278, dropped 0
    Received 2326745 unicasts, 4367 broadcasts, 1219173 multicasts
    Input errors 0, runts 0, giants 0
    CRC 0, frame 0, fragment 0, jabber 0
    Output packets 1080901, bytes 244595966, dropped 0
    Sent 1080901 unicasts, 392 broadcasts, 132573 multicasts
    Output errors 0, collisions 0, late collisions 0
    Excessive collisions 0

nx9500-6C8809(config)#
nx9500-6C8809(config)#show interface counters
--------------------------------------------------------------------------------------------------------------
    INTF            MAC           RX-PKTS     RX-BYTES     RX-DROP     TX-PKTS     TX-BYTES       TX-DROP
--------------------------------------------------------------------------------------------------------------
 vlan1      B4-C7-99-6C-88-09   2571193     341672167    0           625888      90924957     0
 ge1        00-1E-67-4B-BF-BC   2326629     348759017    0           1080855     244588229    0
 ge2        00-1E-67-4B-BF-BD   0           0            0           0           0            0
 port..nel1 00-1E-67-4B-BF-BC   2326631     348759243    0           1080857     244588673    0
--------------------------------------------------------------------------------------------------------------
nx9500-6C8809(config)#
The following command shows the state of Energy-efficient Ethernet, where:
  • Enable: Indicates if Energy-Efficient Ethernet is enabled or disabled on the selected physical port. A value of '1' indicates enabled and '0' indicates disabled.
  • Active: Indictaes if Energy-Efficient Ethernet is active or inactive on the selected physical port. A value of '1' indicates EEE is active and '0' indicates inactive. Note, will be active only if the devices on both ends of the phhysical link support EEE.
ap505-13403B#show interface ge 1
Interface ge2 is UP
  Hardware-type: ethernet, Mode: Layer 2, Address: 94-9B-2C-13-40-39
  Index: 2002, Metric: 1, MTU: 1500
  Speed: Admin Auto, Operational 1G, Maximum 2.5G
  Duplex: Admin Auto, Operational Full
  EEE: Enable 1, Active 1
  Active-medium: n/a
  Switchport settings: access, access-vlan: 1
    Input packets 0, bytes 0, dropped 0
    Received 0 unicasts, 0 broadcasts, 0 multicasts
    Input errors 0, runts 0, giants 0
    CRC 0, frame 0, fragment 0, jabber 0
    Output packets 0, bytes 0, dropped 0
    Sent 0 unicasts, 0 broadcasts, 0 multicasts
    Output errors 0, collisions 0, late collisions 0
    Excessive collisions 0

ap505-13403B#