Examples
This example shows how to display the detailed configuration of the
specified interface:
switch# show interface ethernet 1/1
Ethernet1/1 is up
Dedicated Interface
Hardware: 40000 Ethernet, address: c84c.753d.5b78 (bia c84c.753d.5b78)
MTU 1500 bytes, BW 40000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is access
auto-duplex, 40 Gb/s
Beacon is turned off
Input flow-control is off, output flow-control is off
Switchport monitor is off
EtherType is 0x8100
Last link flapped never
Last clearing of "show interface" counters never
0 interface resets
30 seconds input rate 0 bits/sec, 0 packets/sec
30 seconds output rate 0 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 0 bps, 0 pps; output rate 0 bps, 0 pps
RX
0 unicast packets 0 multicast packets 0 broadcast packets
0 input packets 0 bytes
0 jumbo packets 0 storm suppression bytes
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 0 multicast packets 0 broadcast packets
0 output packets 0 bytes
0 jumbo packets
0 output errors 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
switch#
This example shows how to display the counters configured on a
specified interface:
switch# show interface ethernet 1/1 counters
--------------------------------------------------------------------------------
Port InOctets InUcastPkts
--------------------------------------------------------------------------------
Eth1/1 0 0
--------------------------------------------------------------------------------
Port InMcastPkts InBcastPkts
--------------------------------------------------------------------------------
Eth1/1 0 0
--------------------------------------------------------------------------------
Port OutOctets OutUcastPkts
--------------------------------------------------------------------------------
Eth1/1 0 0
--------------------------------------------------------------------------------
Port OutMcastPkts OutBcastPkts
--------------------------------------------------------------------------------
Eth1/1 0 0
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.2.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#
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#