show interface

Displays the detailed interface configuration and capabilities of all interfaces or for specified interfaces.

Syntax

show interface [ description ]
show interface [ ethernet slot / port | port-channel number ] [ switchport ]
show interface loopback number
show interface management [ management-id ]
show interface trunk

Parameters

description
For all device interfaces, displays a summary that includes the Description field.
ethernet
Specifies an Ethernet interface.
slot
Specifies a valid slot number. For devices that do not support line cards, specify 0.
port
Specifies a valid port number.
port-channel number
Specifies a port-channel number.
switchport
Specifies Layer 2 interfaces.
loopback number
Specifies a loopback interface.
management management-id
Specifies the management interface. The only supported value is 0.
trunk
Displays VLANs on the trunk.

Modes

Privileged EXEC mode

Output

The show interface ethernet command displays the following information:

Output field Description
Ethernet slot / port Displays the port state. The states are "admin down, line protocol is down (admin down)" or "up, line protocol is up (connected)".
Redundant management mode Displays "enabled" if so configured. (SLX-9250 only)
Hardware Displays the MAC address of the Ethernet interface.
Pluggable media Displays "present" or "not present".
Interface index Displays the interface index.
MTU Displays the maximum transmission unit (MTU), in bytes.
nG interface Displays the speed of the Ethernet interface, in Gb.
Transparent phy loopback If loopback phy was configured on the interface, displays "configured". If not configured, this line is not displayed.
LineSpeed Actual Displays the actual line speed in Mb or "Nil".
LineSpeed Configured Displays "Auto" or a value in Mb.
Duplex Displays "Half" or "Full".
Priority Tab Displays "enable" or "disable".
Reload Delay Displays reload-delay time value, and remaining time, in seconds.
Forward LACP PDU Displays "enable" or "disable".
Route Only Displays "enabled" or "disabled".
Queueing strategy Displays "FIFO".
Primary Internet Address Displays the primary Internet address
Broadcast Displays the broadcast Internet address
Receive Statistics Displays receive statistics: packets, bytes, unicasts, multicasts, broadcasts, packets by byte size, runts, jabbers, cyclic redundancy check (CRC), overruns, errors, and discards.
Transmit Statistics Displays transmit statistics: packets, bytes, unicasts, multicasts, broadcasts, underruns, errors, and discards.
Rate info Displays input and output in Mbits/sec, packets/sec, and percentage of the line rate.
Route-Only Packets Dropped Displays the number or routing-only packets dropped.

The show interface loopback command displays the following information:

Output field Description
Loopback Displays the loopback number and state and the line protocol state. The states are "Loopback nn is up", "Loopback nn is admin down, line protocol is down (admin down). "
Hardware Displays "is Loopback".
Pluggable media Displays "present" or "not present".
Interface index Displays the interface index.
MTU Displays the maximum transmission unit (MTU), in bytes.
LineSpeed Actual Displays the actual line speed in Mb or "Nil".
LineSpeed Configured Displays "Auto" or a value in Mb.
Last clearing of show interface counters: In days, hours, and minutes, displays how much time elapsed since the last counter clear.
Queueing strategy Displays "FIFO".
Primary Internet Address Displays the primary Internet address.

The show interface ethernet management command displays the following information:

Output field Description
LineSpeed Actual Displays "100000baseT" (100Gb), "40000baseT" (40Gb), "25000baseT" (25Gb), "10000baseT" (10Gb), or "1000baseT" (1Gb).
Duplex Displays "Half" or "Full".
LineSpeed Configured Displays "Auto" or a value in Mb.
oper-status Displays "up" or "down".
ip address Displays "static" or "dynamic" and the IPv4 address.
ip gateway-address Displays the IPv4 gateway address.
ipv6 ipv6-address Displays the IPv6 address.
ipv6 ipv6-gateways Displays the IPv6 gateway address.
redundant management Displays the port where redundant management is enabled.

The show interface ethernet switchport command displays the following information:

Output field Description
Interface name Displays "Ethernet slot / port" or "Port-channel nn".
Switchport mode Displays "access", "trunk", or "trunk-no-default-native".
Ingress filter Displays "enable".
Acceptable frame types Displays "vlan-tagged only", "vlan-untagged only", or "all".
Native Vlan Displays the ID number of the native VLAN.
Active Vlans Displays ID numbers of the active VLANs.
MAC learn disable Vlans Displays VLANs for which MAC learning is disabled.

The show interface trunk command displays the following information:

Output field Description
Port Displays the Ethernet ports by slot / port.
Vlans Allowed on Trunk Displays "Nil" or a list of the VLANs allowed on the trunk.

Examples

The following example displays detailed information for a specified Ethernet interface.

device# show interface ethernet 3/4
Ethernet 3/4 is up, line protocol is up (connected)
Hardware is Ethernet, address is 768d.f804.ca08
    Current address is 768d.f804.ca08
Pluggable media present
Interface index (ifindex) is 207650816
MTU 1548 bytes
IP MTU 1500 bytes
10G Interface
LineSpeed Actual     : 10000 Mbit
LineSpeed Configured : Auto, Duplex: Full
Priority Tag disable
Forward LACP PDU: Disable
Route Only: Disabled
Last clearing of show interface counters: 11:59:37
Queueing strategy: fifo
 Primary Internet Address is 12.2.1.2/24 broadcast is 12.2.1.255
Receive Statistics:
    45756 packets, 34003184 bytes
    Unicasts: 9094, Multicasts: 36650, Broadcasts: 12
    64-byte pkts: 1438, Over 64-byte pkts: 8113, Over 127-byte pkts: 1786
    Over 255-byte pkts: 10132, Over 511-byte pkts: 8432, Over 1023-byte pkts: 15855
    Over 1518-byte pkts(Jumbo): 0
    Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0
    Errors: 0, Discards: 0
Transmit Statistics:
    33405 packets, 25357172 bytes
    Unicasts: 10232, Multicasts: 23162, Broadcasts: 10
    Underruns: 0
    Errors: 0, Discards: 0
Rate info:
    Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
    Output 0.000333 Mbits/sec, 0 packets/sec, 0.00% of line-rate
Route-Only Packets Dropped: 0

The following example displays detailed information for the specified management interface.

device# show interface management 0
interface Management 0
 line-speed actual "1000baseT, Duplex: Full"
 line-speed configured Auto
 oper-status up
 ip address "static 10.17.110.59/20"
 ip gateway-address 10.17.114.1
 ipv6 ipv6-address [  ]
 ipv6 ipv6-gateways [ fe80::21b:edff:fe0b:9000 fe80::21b:edff:fe0b:3c00 ]

The following example displays detailed information for a specified loopback interface.

device# show interface loopback 1
Loopback 1 is up, line protocol is up
Hardware is Loopback
Pluggable media not present
Interface index (ifindex) is 1476395009
IP MTU 1500 bytes
LineSpeed Actual     : Nil
LineSpeed Configured : Auto
Last clearing of show interface counters: 00:00:23
Queueing strategy: fifo
 Primary Internet Address is 50.1.1.1/32

The following example displays details of a specified Layer 2 interface.

device# show interface switchport 1/15
 Interface name          : Ethernet 1/15
 Switchport mode         : trunk
 Ingress filter          : enable
 Acceptable frame types  : vlan-tagged only
 Native Vlan             : 1
 Active Vlans            : 1-201
 MAC learn disable Vlans : -
This example shows whether the control plane is receiving packets at the configured rate.
device# show int eth 0/1 | inc rate
Queueing strategy: fifo
    Input 8.649182 Mbits/sec, 8446 packets/sec, 0.10% of line-rate
    Output 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate