This chapter describes the Cisco NX-OS Layer 3 interfaces show commands.
To display a brief summary of the interface configuration information, use the show interface brief command.
show interface brief
This command has no arguments or keywords.
None
EXEC mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
5.0(3)N1(1) |
Support for Layer 3 interfaces was added. |
5.1(3)N1(1) |
Support to display FabricPath ports was added. |
This example shows how to display the summary configuration information of the specified interface:
switch# show interface brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth trunk up none 10G(D) 4000
Eth1/2 1 eth trunk up none 10G(D) 4000
Eth1/3 1 eth trunk up none 10G(D) 4000
Eth1/4 1 eth trunk up none 10G(D) 4000
Eth1/5 1 eth access down SFP not inserted 10G(D) --
Eth1/6 1 eth access down SFP not inserted 10G(D) --
Eth1/7 1 eth trunk up none 10G(D) 10
Eth1/8 1 eth trunk up none 10G(D) 10
Eth1/9 1 eth trunk up none 10G(D) 10
Eth1/10 1 eth trunk up none 10G(D) 10
Eth1/11 1 eth access down SFP not inserted 10G(D) --
Eth1/12 1 eth access down SFP not inserted 10G(D) --
Eth1/13 1 eth access down SFP not inserted 10G(D) --
Eth1/14 1 eth access down SFP not inserted 10G(D) --
Eth1/15 1 eth access down SFP not inserted 10G(D) --
Eth1/16 1 eth access down SFP not inserted 10G(D) --
Eth1/17 1 eth access down SFP not inserted 10G(D) --
Eth1/18 1 eth access down SFP not inserted 10G(D) --
Eth1/19 1 eth access down SFP not inserted 10G(D) --
Eth1/20 1 eth access down SFP not inserted 10G(D) --
Eth1/21 1 eth access down SFP not inserted 10G(D) --
Eth1/22 1 eth access down SFP not inserted 10G(D) --
Eth1/23 1 eth access down Link not connected 10G(D) --
Eth1/24 1 eth access down Link not connected 10G(D) --
Eth1/25 1 eth access down SFP not inserted 10G(D) --
Eth1/26 1 eth access down SFP not inserted 10G(D) --
Eth1/27 1 eth access down SFP not inserted 10G(D) --
Eth1/28 1 eth access down SFP not inserted 10G(D) --
Eth1/29 1 eth access down SFP not inserted 10G(D) --
Eth1/30 1 eth access down SFP not inserted 10G(D) --
Eth1/31 1 eth access down SFP not inserted 10G(D) --
Eth1/32 1 eth access down SFP not inserted 10G(D) --
Eth1/33 1 eth access down SFP not inserted 10G(D) --
Eth1/34 1 eth access down SFP not inserted 10G(D) --
Eth1/35 1 eth access down SFP not inserted 10G(D) --
Eth1/36 1 eth access down SFP not inserted 10G(D) --
Eth1/37 1 eth access down SFP not inserted 10G(D) --
Eth1/38 1 eth access down SFP not inserted 10G(D) --
Eth1/39 1 eth access down SFP not inserted 10G(D) --
Eth1/40 1 eth trunk up none 10G(D) --
Eth2/1 1 eth access down SFP not inserted 10G(D) --
Eth2/2 1 eth access up none 10G(D) --
Eth2/3 1 eth access down SFP not inserted 10G(D) --
Eth2/4 1 eth access up none 10G(D) --
Eth2/5 1 eth access up none 10G(D) --
Eth2/6 1 eth access down SFP not inserted 10G(D) --
--------------------------------------------------------------------------------
Port-channel VLAN Type Mode Status Reason Speed Protocol
Interface
--------------------------------------------------------------------------------
Po10 1 eth trunk up none a-10G(D) lacp
Po4000 1 eth trunk up none a-10G(D) lacp
--------------------------------------------------------------------------------
Port VRF Status IP Address Speed MTU
--------------------------------------------------------------------------------
mgmt0 -- up 192.168.10.37 100 1500
-------------------------------------------------------------------------------
Interface Secondary VLAN(Type) Status Reason
-------------------------------------------------------------------------------
Vlan1 -- down Administratively down
switch#
This example shows how to display the summary configuration information of interfaces, including routed interfaces:
switch# show interface brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access down Link not connected 10G(D) --
Eth1/2 1 eth trunk up none 10G(D) --
Eth1/3 1 eth access down SFP not inserted 10G(D) --
Eth1/4 1 eth access down SFP not inserted 10G(D) --
Eth1/5 -- eth routed up none 10G(D) --
Eth1/5.2 -- eth routed down Configuration Incomplete 10G(D) --
Eth1/6 1 eth access up none 10G(D) --
Eth1/7 1 eth access up none 10G(D) --
Eth1/8 1 eth trunk up none 10G(D) 100
Eth1/9 1 eth access up none 10G(D) --
Eth1/10 1 eth access down Link not connected 10G(D) --
Eth1/11 1 eth access down SFP not inserted 10G(D) --
Eth1/12 1 eth access down SFP not inserted 10G(D) --
Eth1/13 1 eth access down SFP not inserted 10G(D) --
Eth1/14 1 eth access down SFP not inserted 10G(D) --
Eth1/15 1 eth access down SFP not inserted 10G(D) --
Eth1/16 1 eth access down SFP not inserted 10G(D) --
Eth1/17 1 eth access up none 10G(D) --
Eth1/18 1 eth access up none 10G(D) --
Eth1/19 1 eth fabric up none 10G(D) --
Eth1/20 1 eth access down Link not connected 10G(D) --
Eth1/21 1 eth access up none 10G(D) --
Eth1/22 1 eth access down Link not connected 10G(D) --
Eth1/23 1 eth access down SFP not inserted 10G(D) --
Eth1/24 1 eth access down SFP not inserted 10G(D) --
Eth1/25 1 eth access down Link not connected 10G(D) --
Eth1/26 1 eth access down SFP not inserted 10G(D) --
Eth1/27 1 eth access down SFP not inserted 10G(D) --
Eth1/28 1 eth access down SFP not inserted 10G(D) --
Eth1/29 1 eth access down Link not connected 10G(D) --
Eth1/30 1 eth access down SFP not inserted 10G(D) --
Eth1/31 1 eth access down SFP not inserted 10G(D) --
Eth1/32 1 eth access up none 10G(D) --
--------------------------------------------------------------------------------
Port-channel VLAN Type Mode Status Reason Speed Protocol
Interface
--------------------------------------------------------------------------------
Po100 1 eth trunk up none a-10G(D) none
--------------------------------------------------------------------------------
Port VRF Status IP Address Speed MTU
--------------------------------------------------------------------------------
mgmt0 -- up 172.29.231.33 1000 1500
-------------------------------------------------------------------------------
Interface Secondary VLAN(Type) Status Reason
-------------------------------------------------------------------------------
Vlan1 -- up --
Vlan100 -- up --
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth100/1/1 1 eth access up none 10G(D) --
Eth100/1/2 1 eth access down Link not connected auto(D) --
Eth100/1/3 1 eth access up none 10G(D) --
Eth100/1/4 1 eth access down Link not connected auto(D) --
Eth100/1/5 1 eth access down Link not connected auto(D) --
Eth100/1/6 1 eth access down Link not connected auto(D) --
Eth100/1/7 1 eth access down Link not connected auto(D) --
Eth100/1/8 1 eth access down Link not connected auto(D) --
Eth100/1/9 1 eth access down Link not connected auto(D) --
Eth100/1/10 1 eth access up none 10G(D) --
Eth100/1/11 1 eth access down Link not connected auto(D) --
Eth100/1/12 1 eth access down Link not connected auto(D) --
Eth100/1/13 1 eth access down Link not connected auto(D) --
Eth100/1/14 1 eth access down Link not connected auto(D) --
Eth100/1/15 1 eth access up none 10G(D) --
Eth100/1/16 1 eth access down Link not connected auto(D) --
--------------------------------------------------------------------------------
Interface Status Description
--------------------------------------------------------------------------------
Lo10 up --
switch#
Note the following in the above display:
•Ethernet 1/5 is a Layer 3-ready interface. The following fields in the display help identify an interface as a configured Layer 3 interface:
–Mode—routed
–Status—up
–Reason—none
•Ethernet 1/5.2 is a Layer 3 subinterface; however, the interface is not ready for Layer 3 configuration (Status—down).
•Interface Lo10 is a Layer 3 loopback interface.
This example shows how to display a brief summary of interfaces configured as FabricPath interfaces on a switch that runs Cisco NX-OS Release 5.1(3)N1(1):
switch# show interface brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch#
--------------------------------------------------------------------------------
Eth1/1 1 eth access down SFP not inserted 1000(D) --
Eth1/2 -- eth routed down SFP not inserted 1000(D) --
Eth1/3 1 eth access down SFP not inserted 10G(D) --
Eth1/4 1 eth access down SFP not inserted 10G(D) --
Eth1/5 1 eth f-path down SFP not inserted 10G(D) --
Eth1/6 1 eth access down Link not connected 10G(D) --
Eth1/7 1 eth fabric down Link not connected 10G(D) --
Eth1/8 1 eth access down SFP not inserted 10G(D) --
Eth1/9 1 eth access down SFP not inserted 10G(D) --
Eth1/10 1 eth access down SFP not inserted 10G(D) --
Eth1/11 1 eth access down SFP not inserted 10G(D) --
Eth1/12 1 eth access down SFP not inserted 10G(D) --
Eth1/13 1 eth access down SFP not inserted 10G(D) --
Eth1/14 1 eth access down SFP not inserted 10G(D) --
Eth1/15 1 eth pvlan up none 1000(D) --
Eth1/16 1 eth access down SFP not inserted 10G(D) --
Eth1/17 1 eth access down SFP not inserted 10G(D) --
switch#
In the above display, Ethernet 1/5 has the mode shown as "f-path" indicating that it has been configured as a FabricPath port.
|
|
---|---|
interface ethernet |
Configures an Ethernet IEEE 802.3 interface. |
To display information about the interface configuration, use the show interface ethernet command.
show interface ethernet slot/port[.subintf-port-no] [brief | counters | description | status | switchport]
Displays all information for the interface.
EXEC mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
5.0(3)N1(1) |
Support for Layer 3 interfaces and subinterfaces was added. The switchport keyword was added. |
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 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.
To display information about the loopback interface, use the show interface loopback command.
show interface loopback lo-number [brief | description]
None
EXEC mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
This example shows how to display the configuration information for a specific loopback interface:
switch# show interface loopback 10
loopback10 is up
Hardware: Loopback
MTU 1500 bytes, BW 8000000 Kbit, DLY 5000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation LOOPBACK
0 packets input 0 bytes
0 multicast frames 0 compressed
0 input errors 0 frame 0 overrun 0 fifo
0 packets output 0 bytes 0 underruns
0 output errors 0 collisions 0 fifo
switch#
Table 1 describes the significant fields shown in the display.
This example shows how to display the brief information for a specific loopback interface:
switch# show interface loopback 10 brief
--------------------------------------------------------------------------------
Interface Status Description
--------------------------------------------------------------------------------
loopback10 up --
switch#
|
|
---|---|
interface loopback |
Configures a loopback interface. |
To display the information about an EtherChannel interface configuration, use the show interface port-channel command.
show interface port-channel number[.subinterface-number] [brief | counters | description | status]
None
EXEC mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
5.0(3)N1(1) |
Support for Layer 3 interfaces and subinterfaces was added. |
This example shows how to display the configuration information of a specified EtherChannel interface:
switch# show interface port-channel 21
port-channel21 is up
Hardware: Port-Channel, address: 000d.ece7.df72 (bia 000d.ece7.df72)
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 10 Gb/s
Beacon is turned off
Input flow-control is on, output flow-control is on
Switchport monitor is off
Members in this channel: Eth2/3
Last clearing of "show interface" counters never
30 seconds input rate 0 bits/sec, 0 packets/sec
30 seconds output rate 352 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 0 bps, 0 pps; output rate 368 bps, 0 pps
RX
0 unicast packets 0 multicast packets 0 broadcast packets
0 input packets 0 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 15813 multicast packets 9 broadcast packets
15822 output packets 1615917 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#
|
|
---|---|
interface port-channel |
Configures an EtherChannel interface. |
To display the Address Resolution Protocol (ARP) information, use the show ip arp command.
show ip arp [ip-addr | {ethernet slot/port | loopback if_number | mgmt mif_number | port-channel number}] [client] [static] [statistics] [vrf vrf-name]
None
Any command mode
|
|
5.0(3)N1(1) |
This command was introduced. |
This example shows how to display the ARP information:
switch# show ip arp
Flags: D - Static Adjacencies attached to down interface
IP ARP Table for context default
Total number of entries: 1
Address Age MAC Address Interface
2.2.2.100 - 000a.000a.000a Ethernet1/2
switch#
|
|
---|---|
ip arp |
Configures a static ARP entry. |
To display ARP adjacency summary, use the show ip arp summary command.
show ip arp summary
This command has no arguments or keywords.
None
Global configuration mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
This example shows how to display ARP adjacency summary:
switch# show ip arp summary
IP ARP Table - Adjacency Summary
Resolved : 0
Incomplete : 0
Unknown : 0
Total : 0
switch#
|
|
---|---|
ip arp timeout |
Configures ARP. |
To display information about the internal IP clients, use the show ip client command.
show ip client [name]
name |
(Optional) Name of the client. |
None
Any command mode
|
|
5.0(3)N1(1) |
This command was introduced. |
This example shows how to display the IP client information for the Address Resolution Protocol (ARP):
switch(config)# show ip client arp
|
|
---|---|
show ip process |
Displays information about the IP process. |
To display IP information for an interface, use the show ip interface command.
show ip interface [type number] [brief] [vrf vrf-name]
None
Any command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
This example shows how to display the IP information for Ethernet 1/5:
switch# show ip interface ethernet 1/5
IP Interface Status for VRF "default"(1)
Ethernet1/5, Interface status: protocol-down/link-down/admin-up, iod: 11,
IP address: 192.0.0.1, IP subnet: 192.0.0.0/24
IP broadcast address: 255.255.255.255
IP multicast groups locally joined: none
IP MTU: 1500 bytes (using link MTU)
IP primary address route-preference: 0, tag: 0
IP proxy ARP : disabled
IP Local Proxy ARP : disabled
IP multicast routing: disabled
IP icmp redirects: enabled
IP directed-broadcast: disabled
IP icmp unreachables (except port): disabled
IP icmp port-unreachable: enabled
IP unicast reverse path forwarding: none
IP load sharing: none
IP interface statistics last reset: never
IP interface software stats: (sent/received/forwarded/originated/consumed)
Unicast packets : 0/0/0/0/0
Unicast bytes : 0/0/0/0/0
Multicast packets : 0/0/0/0/0
Multicast bytes : 0/0/0/0/0
Broadcast packets : 0/0/0/0/0
Broadcast bytes : 0/0/0/0/0
Labeled packets : 0/0/0/0/0
Labeled bytes : 0/0/0/0/0
switch#
|
|
---|---|
ip address |
Assigns a primary IP address for a network interface. |
To display the Address Resolution Protocol (ARP) configuration in the running configuration, use the show running-config arp command.
show running-config arp [all]
all |
(Optional) Displays configured and default information. |
None
Any command mode
|
|
---|---|
5.0(2)N1(1) |
This command was introduced. |
This example shows how to display the ARP configuration:
switch# show running-config arp
!Command: show running-config arp
!Time: Mon Aug 23 07:33:15 2010
version 5.0(2)N1(1)
ip arp timeout 2100
ip arp event-history errors size medium
interface Vlan10
ip arp 192.0.11.37 00C0.4F00.0000
switch#
This example shows how to display the ARP configuration with the default information:
switch# show running-config arp all
!Command: show running-config arp all
!Time: Mon Aug 23 07:33:52 2010
version 5.0(2)N1(1)
ip arp timeout 1500
ip arp event-history cli size small
ip arp event-history snmp size small
ip arp event-history client-errors size small
ip arp event-history client-event size small
ip arp event-history lcache-errors size small
ip arp event-history lcache size small
ip arp event-history errors size small
ip arp event-history ha size small
ip arp event-history event size small
ip arp event-history packet size small
interface Vlan10
ip arp 192.0.11.37 00C0.4F00.0000
ip arp gratuitous update
ip arp gratuitous request
switch#
To display the Address Resolution Protocol (ARP) configuration in the startup configuration, use the show startup-config arp command.
show startup-config arp [all]
all |
(Optional) Displays configured and default information. |
None
Any command mode
|
|
---|---|
5.0(2)N1(1) |
This command was introduced. |
This example shows how to display the ARP startup configuration:
switch# show startup-config arp
!Command: show running-config arp
!Time: Mon Aug 23 07:33:15 2010
version 5.0(2)N1(1)
ip arp timeout 2100
ip arp event-history errors size medium
interface Vlan10
ip arp 192.0.1.37 00C0.4F00.0000
switch#