show interface

Use this command to display interface configuration and status information.

Command Syntax

Copy
show interface (IFNAME|)
show interface brief (IFNAME|)

Parameters

IFNAME

Interface name.

Default

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

Copy
#show interface xe1/1
Interface xe1/1
  Scope: both
  Flexport: Breakout Control Port (Active): Break Out Enabled
  Hardware is ETH  Current HW addr: ecf4.bb6e.934b
  Physical:ecf4.bb6e.934b  Logical:(not set)
  Port Mode is access
  Interface index: 5001
  Metric 1 mtu 1500 duplex-full(auto) link-speed 1g(auto)
  PHY Link Training: Disabled
  PHY Dfe: Enabled
  PHY Unreliable LOS: Disabled
  <UP,BROADCAST,RUNNING,MULTICAST>
  VRF Binding: Not bound
  Label switching is disabled
  No Virtual Circuit configured
DHCP client is disabled.
  Last Flapped: 2016 Nov 05 22:40:23 (00:19:25 ago)
  Statistics last cleared: 2016 Nov 05 04:49:55 (18:09:53 ago)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 256 bits/sec, 0 packets/sec
  RX
    unicast packets 39215813 multicast packets 0 broadcast packets 0
    input packets 39215813 bytes 2666662432
    jumbo packets 0
    runts 0 giants 0 CRC 0 fragments 0 jabbers 0
    input error 0
    input with dribble 0 input discard 0
    Rx pause 0
  TX
    unicast packets 38902 multicast packets 437 broadcast packets 0
    output packets 437 bytes 28018
    jumbo packets 0
    output errors 0 collision 0 deferred 0 late collision 0
    output discard 0
    Tx pause 0

Here is the explanation of the show command output fields.

Table 95. show interface output details

Field

Description

Scope

Interface can be used for communication within the device and outside the device (Both).

Flexport

Specifies whether the ports has Breakout capabilities or is a Non-Control Port.

Breakout Control Port (Active)

Specifies whether Breakout is active or disabled.

Hardware is ETH Current HW addr

The MAC address of the interface.

Physical

Displays the physical MAC address of the interface.

Logical

Displays the logical MAC address (if any) of the interface.

Port Mode

Displays the port mode: Router, VLAN access, switch, or trunk.

Interface index

Index number, Metric, MTU size, duplex-full (auto) or half-duplex, minimum link speed in gigabits, and if the interface is up, broadcasting, and multicasting.

PHY Link Training Displays the status of physical link training,
PHY Dfe Displays the status of physical digital feedback equalizer.
PHY Unreliable LOS Displays the status of physical unreliable loss of signal.

VRF Binding

Show whether the interface is VRF bound and (if bound) with what VRF, if Label Switching is enabled or disabled, and if a virtual circuit is configured.

DHCP client

The state of the DHCP client – whether this interface is connected to a DHCP server.

Last Flapped

Date and time when the interface last flapped.

Statistics last cleared

Date and time when the interface’s statistics were cleared.

5 minute input rate

Input rate in bits/second and packets/second

5 minute output rate

Output rate in bits/second and packets/second

RX

Counters for unicast packets, multicast packets, broadcast packets, input packets, bytes, jumbo packets, runts, giants, CRC errors, fragments, jabbers, input errors, input with dribble input discards, and receive pause.

TX

Counters for unicast packets, multicast packets, broadcast packets, output packets, bytes, jumbo packets, output errors, collisions, differed packets, input late collisions, output discards, and transmit pause.

Copy
#show interface brief xe51
 
Codes: ETH - Ethernet, LB - Loopback, AGG - Aggregate, MLAG - MLAG Aggregate
       FR - Frame Relay, TUN -Tunnel, PBB - PBB Logical Port, VP - Virtual Port
       CVP - Channelised Virtual Port, METH - Management Ethernet, UNK- Unknown
       ED - ErrDisabled, PD - Protocol Down, AD - Admin Down, IA - InActive
       PD(Min L/B) - Protocol Down Min-Links/Bandwidth
       OTD  - Object Tracking Down
       DV - DDM Violation, NA - Not Applicable
       NOM - No operational members, PVID - Port Vlan-id
       Ctl - Control Port (Br-Breakout/Bu-Bundle)
 
 
---------------------------------------------------------------------------------------
Ethernet   Type     PVID  Mode      Status  Reason  Speed Port Ch #  Ctl Br/Bu  Loopbk
Interface                                                             
----------------------------------------------------------------------------------------
xe51        ETH     --    routed     down    OTD     10g   --         No         No