Examples
This example shows how to display the detailed configuration of the
specified interface:
switch# show interface ethernet 1/1
Ethernet1/1 is up
Hardware: 1000/10000 Ethernet, address: 000d.ece7.df48 (bia 000d.ece7.df48)
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is fex-fabric
full-duplex, 10 Gb/s, media type is 1/10g
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
Last link flapped 09:03:57
Last clearing of "show interface" counters never
30 seconds input rate 2376 bits/sec, 0 packets/sec
30 seconds output rate 1584 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 1.58 Kbps, 0 pps; output rate 792 bps, 0 pps
RX
0 unicast packets 10440 multicast packets 0 broadcast packets
10440 input packets 11108120 bytes
0 jumbo packets 0 storm suppression packets
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
0 unicast packets 20241 multicast packets 105 broadcast packets
20346 output packets 7633280 bytes
0 jumbo packets
0 output errors 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble
0 Tx pause
1 interface resets
switch#
This example shows how to display the counters configured on a
specified interface:
switch# show interface ethernet 1/1 counters
--------------------------------------------------------------------------------
Port InOctets InUcastPkts InMcastPkts InBcastPkts
--------------------------------------------------------------------------------
Eth1/1 17193136 0 16159 0
--------------------------------------------------------------------------------
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
--------------------------------------------------------------------------------
Eth1/1 11576758 0 28326 106
switch#
This example shows how to display the information for an interface
configured for Adapter-FEX:
switch# show interface ethernet 1/2
Ethernet1/2 is up
Hardware: 1000/10000 Ethernet, address: 000d.ecb0.fc49 (bia 000d.ecb0.fc49)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is vntag
full-duplex, 1000 Mb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is on
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 00:00:13
Last clearing of "show interface" counters 1d05h
30 seconds input rate 0 bits/sec, 0 bytes/sec, 0 packets/sec
30 seconds output rate 1328 bits/sec, 166 bytes/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 0 bps, 0 pps; output rate 160 bps, 0 pps
RX
32453811602 unicast packets 649076 multicast packets 0 broadcast packets
32454460682 input packets 2206903326245 bytes
0 jumbo packets 0 storm suppression packets
3 runts 0 giants 1 CRC 0 no buffer
4 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
33695526841 unicast packets 36871810887 multicast packets 72059438 broadca
st packets
70639397169 output packets 4803378946692 bytes
0 jumbo packets
3 output errors 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble
0 Tx pause
2 interface resets
switch#
The above display shows the port mode configured as a virtual network
tag (VNTag) port.
This example shows how to display the detailed configuration
information of a specified subinterface:
switch# show interface ethernet 1/5.2
Ethernet1/5.2 is up
Hardware: 1000/10000 Ethernet, address: 0005.73a6.1dbc (bia 0005.73a6.1d6c)
Description: Eth 1/5.2 subinterfaces
Internet Address is 192.0.0.3/24
MTU 1500 bytes, BW 1500 Kbit, DLY 2000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 100
EtherType is 0x8100
switch#
This example shows how to display the brief configuration information
of a specified subinterface:
switch# show interface ethernet 1/5.2 brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/5.2 100 eth routed up none 10G(D) --
switch#
This example shows how to display the purpose of a specified
subinterface:
switch# show interface ethernet 1/5.2 description
-------------------------------------------------------------------------------
Port Type Speed Description
-------------------------------------------------------------------------------
Eth1/5.2 eth 10G Eth 1/5.2 subinterfaces
switch#
This example shows how to display the switchport information for a
specific interface:
switch# show interface ethernet 1/2 switchport
Name: Ethernet1/2
Switchport: Enabled
Switchport Monitor: Not enabled
Operational Mode: trunk
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: 1,300-800
Pruning VLANs Enabled: 2-1001
Administrative private-vlan primary host-association: none
Administrative private-vlan secondary host-association: none
Administrative private-vlan primary mapping: none
Administrative private-vlan secondary mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Monitor destination rate-limit: 1G
switch#
In the above display, the Monitor destination rate-limit field
displays the rate limit configured on a switchport interface on a Cisco Nexus
5010 Series switch.
Note |
You can configure the monitor destination rate-limit only on a
Cisco Nexus 5010 Series switch or Cisco Nexus 5020 Series switch.
|
This example shows how to display the information about a specific
Ethernet interface that is bound to a virtual Ethernet interface:
switch(config)# interface vethernet 10
switch(config-if)# bind interface ethernet 1/5 channel 10
switch(config-if)# inherit port-profile ppVEth
switch(config-if)# untagged cos 3
switch(config-if)# exit
switch(config)# exit
switch# show interface ethernet 1/5 brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/5 -- eth routed down SFP not inserted 10G(D) 10
switch#
The following table describes the significant fields in the above
display:
Table 1. show interface ethernet brief Field Description
Field
|
Description
|
Ethernet Interface
|
Ethernet interface information.
|
VLAN
|
VLANs associated with the Ethernet interface.
|
Type
|
Type of interface.
|
Mode
|
Mode configured for the interface: access, trunk, routed
(applies to Layer 3 interfaces), and vlan.
|
Status
|
Indicates whether the interface hardware is currently active
(up), is currently inactive (down), or has been taken down by an administrator
(administratively down).
|
Reason
|
Indicates the reason the interface is inactive or
administratively down.
|
Speed
|
Interface speed.
|
Port Ch #
|
EtherChannel associated with the interface.
|
This example shows how to display the MAC address of a specified
subinterface:
switch# show interface ethernet 1/5.2
mac-address
--------------------------------------------------------------------------------
Interface Mac-Address Burn-in Mac-Address
--------------------------------------------------------------------------------
Ethernet1/5.2 0005.73a6.1dbc 0005.73a6.1d6c
switch#