OcNOS-SP : System Management Guide : System Management Command Reference : Interface Commands : show interface
show interface
Use this command to display interface configuration and status information.
Command Syntax
show interface (IFNAME|)
Parameter
IFNAME
Interface name.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#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)
<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
 
Table 21-50 explains the output fields.
 
Table 21-50: 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.
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.
Last modified date: 10/19/2023