To display the usability status of interfaces configured for IP, use the
show
ip
interface command in privileged EXEC mode.
show ip interface [type number] [brief]
Syntax Description
type
|
(Optional) Interface type.
|
number
|
(Optional) Interface number.
|
brief
|
(Optional) Displays a summary of the usability status information for each interface.
|
Command Default
The full usability status is displayed for all interfaces configured for IP.
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
10.0
|
This command was introduced.
|
12.0(3)T
|
The command output was modified to show the status of the
ip
wccp
redirect
out and
ip
wccp
redirect
exclude
add
in commands.
|
12.2(14)S
|
The command output was modified to display the status of NetFlow on a subinterface.
|
12.2(15)T
|
The command output was modified to display the status of NetFlow on a subinterface.
|
12.3(6)
|
The command output was modified to identify the downstream VPN routing and forwarding (VRF) instance in the output.
|
12.3(14)YM2
|
The command output was modified to show the usability status of interfaces configured for Multiprocessor Forwarding (MPF)
and implemented on the Cisco 7301 and Cisco 7206VXR routers.
|
12.2(14)SX
|
This command was implemented on the Supervisor Engine 720.
|
12.2(17d)SXB
|
This command was integrated into Cisco IOS 12.2(17d)SXB on the Supervisor Engine 2, and the command output was changed to
include NDE for hardware flow status.
|
12.4(4)T
|
This command was integrated into Cisco IOS Release 12.4(4)T.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(31)SB2
|
The command output was modified to display information about the Unicast Reverse Path Forwarding (RPF) notification feature.
|
12.4(20)T
|
The command output was modified to display information about the Unicast RPF notification feature.
|
12.2(33)SXI2
|
This command was modified. The command output was modified to display information about the Unicast RPF notification feature.
|
Cisco IOS XE Release 2.5
|
This command was modified. This command was implemented on the Cisco ASR 1000 Series Aggregation Services Routers.
|
Cisco IOS XE Release 3.9S
|
This command was implemented on Cisco 4400 Series ISRs.
|
Usage Guidelines
The Cisco IOS software automatically enters a directly connected route in the routing table if the interface is usable (which
means that it can send and receive packets). If an interface is not usable, the directly connected routing entry is removed
from the routing table. Removing the entry lets the software use dynamic routing protocols to determine backup routes to the
network, if any.
If the interface can provide two-way communication, the line protocol is marked "up." If the interface hardware is usable,
the interface is marked "up."
If you specify an optional interface type, information for that specific interface is displayed. If you specify no optional
arguments, information on all the interfaces is displayed.
When an asynchronous interface is encapsulated with PPP or Serial Line Internet Protocol (SLIP), IP fast switching is enabled.
A
show
ip
interface command on an asynchronous interface encapsulated with PPP or SLIP displays a message indicating that IP fast switching is
enabled.
You can use the
show
ip
interface
brief command to display a summary of the router interfaces. This command displays the IP address, the interface status, and other
information.
The
show
ip
interface
brief command does not display any information related to Unicast RPF.
Examples
The following example shows configuration information for interface Gigabit Ethernet 0/3. In this example, the IP flow egress
feature is configured on the output side (where packets go out of the interface), and the policy route map named PBRNAME is
configured on the input side (where packets come into the interface).
Router# show running-config interface gigabitethernet 0/3
interface GigabitEthernet0/3
ip address 10.1.1.1 255.255.0.0
ip flow egress
ip policy route-map PBRNAME
duplex auto
speed auto
media-type gbic
negotiation auto
end
The following example shows interface information on Gigabit Ethernet interface 0/3. In this example, MPF is enabled, and
both Policy Based Routing (PBR) and NetFlow features are not supported by MPF and are ignored.
Router# show ip interface gigabitethernet 0/3
GigabitEthernet0/3 is up, line protocol is up
Internet address is 10.1.1.1/16
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP Feature Fast switching turbo vector
IP VPN Flow CEF switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is enabled, using route map PBR
Network address translation is disabled
BGP Policy Mapping is disabled
IP Multi-Processor Forwarding is enabled
IP Input features, "PBR",
are not supported by MPF and are IGNORED
IP Output features, "NetFlow",
are not supported by MPF and are IGNORED
The following example identifies a downstream VRF instance. In the example, "Downstream VPN Routing/Forwarding "D"" identifies
the downstream VRF instance.
Router# show ip interface virtual-access 3
Virtual-Access3 is up, line protocol is up
Interface is unnumbered. Using address of Loopback2 (10.0.0.8)
Broadcast address is 255.255.255.255
Peer address is 10.8.1.1
MTU is 1492 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is enabled
IP Flow switching is disabled
IP CEF switching is enabled
IP Feature Fast switching turbo vector
IP VPN CEF switching turbo vector
VPN Routing/Forwarding "U"
Downstream VPN Routing/Forwarding "D"
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
The following example shows the information displayed when Unicast RPF drop-rate notification is configured:
Router# show ip interface ethernet 2/3
Ethernet2/3 is up, line protocol is up
Internet address is 10.0.0.4/16
Broadcast address is 255.255.255.255
Address determined by non-volatile memory
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP Flow switching is disabled
IP CEF switching is disabled
IP Null turbo vector
IP Null turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
IP route-cache flags are No CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
Examples
Input features: uRPF
IP verify source reachable-via RX, allow default
0 verification drops
0 suppressed verification drops
0 verification drop-rate
Router#
The following example shows how to display the usability status for a specific VLAN:
Router# show ip interface vlan 1
Vlan1 is up, line protocol is up
Internet address is 10.0.0.4/24
Broadcast address is 255.255.255.255
Address determined by non-volatile memory
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP Fast switching turbo vector
IP Normal CEF switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
Sampled Netflow is disabled
IP multicast multilayer switching is disabled
Netflow Data Export (hardware) is enabled
The table below describes the significant fields shown in the display.
Table 24. show ip interface Field Descriptions
Field
|
Description
|
Virtual-Access3 is up
|
Shows whether the interface hardware is usable (up). For an interface to be usable, both the interface hardware and line
protocol must be up.
|
Broadcast address is
|
Broadcast address.
|
Peer address is
|
Peer address.
|
MTU is
|
MTU value set on the interface, in bytes.
|
Helper address
|
Helper address, if one is set.
|
Directed broadcast forwarding
|
Shows whether directed broadcast forwarding is enabled.
|
Outgoing access list
|
Shows whether the interface has an outgoing access list set.
|
Inbound access list
|
Shows whether the interface has an incoming access list set.
|
Proxy ARP
|
Shows whether Proxy Address Resolution Protocol (ARP) is enabled for the interface.
|
Security level
|
IP Security Option (IPSO) security level set for this interface.
|
Split horizon
|
Shows whether split horizon is enabled.
|
ICMP redirects
|
Shows whether redirect messages will be sent on this interface.
|
ICMP unreachables
|
Shows whether unreachable messages will be sent on this interface.
|
ICMP mask replies
|
Shows whether mask replies will be sent on this interface.
|
IP fast switching
|
Shows whether fast switching is enabled for this interface. It is generally enabled on serial interfaces, such as this one.
|
IP Flow switching
|
Shows whether Flow switching is enabled for this interface.
|
IP CEF switching
|
Shows whether Cisco Express Forwarding switching is enabled for the interface.
|
Downstream VPN Routing/Forwarding "D"
|
Shows the VRF instance where the PPP peer routes and AAA per-user routes are being installed.
|
IP multicast fast switching
|
Shows whether multicast fast switching is enabled for the interface.
|
IP route-cache flags are Fast
|
Shows whether NetFlow is enabled on an interface. Displays "Flow init" to specify that NetFlow is enabled on the interface.
Displays "Ingress Flow" to specify that NetFlow is enabled on a subinterface using the
ip
flow
ingress command. Shows "Flow" to specify that NetFlow is enabled on a main interface using the
ip
route-cache
flow command.
|
Router Discovery
|
Shows whether the discovery process is enabled for this interface. It is generally disabled on serial interfaces.
|
IP output packet accounting
|
Shows whether IP accounting is enabled for this interface and what the threshold (maximum number of entries) is.
|
TCP/IP header compression
|
Shows whether compression is enabled.
|
WCCP Redirect outbound is disabled
|
Shows the status of whether packets received on an interface are redirected to a cache engine. Displays "enabled" or "disabled."
|
WCCP Redirect exclude is disabled
|
Shows the status of whether packets targeted for an interface will be excluded from being redirected to a cache engine. Displays
"enabled" or "disabled."
|
Netflow Data Export (hardware) is enabled
|
NetFlow Data Expert (NDE) hardware flow status on the interface.
|
The table below describes the significant fields shown in the display.
Examples
The following is a sample out of the show ip interface brief command displaying a summary of the interfaces and their status on the device.
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 unassigned YES NVRAM down down
GigabitEthernet0/0/1 unassigned YES NVRAM down down
GigabitEthernet0/0/2 unassigned YES NVRAM down down
GigabitEthernet0/0/3 unassigned YES NVRAM down down
Serial1/0/0 unassigned YES unset down down
GigabitEthernet0 unassigned YES NVRAM up up
Examples
The following example shows how to display a summary of the usability status information for each interface:
Router# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Ethernet0 10.108.00.5 YES NVRAM up up
Ethernet1 unassigned YES unset administratively down down
Loopback0 10.108.200.5 YES NVRAM up up
Serial0 10.108.100.5 YES NVRAM up up
Serial1 10.108.40.5 YES NVRAM up up
Serial2 10.108.100.5 YES manual up up
Serial3 unassigned YES unset administratively down down
Table 25. show ip interface brief Field Descriptions
Field
|
Description
|
Interface
|
Type of interface.
|
IP-Address
|
IP address assigned to the interface.
|
OK?
|
"Yes" means that the IP Address is valid. "No" means that the IP Address is not valid.
|
Method
|
The Method field has the following possible values:
-
RARP or SLARP--Reverse Address Resolution Protocol (RARP) or Serial Line Address Resolution Protocol (SLARP) request.
-
BOOTP--Bootstrap protocol.
-
TFTP--Configuration file obtained from the TFTP server.
-
manual--Manually changed by the command-line interface.
-
NVRAM--Configuration file in NVRAM.
-
IPCP--ip
address
negotiated command.
-
DHCP--ip
address
dhcp command.
-
unset--Unset.
-
other--Unknown.
|
Status
|
Shows the status of the interface. Valid values and their meanings are:
|
Protocol
|
Shows the operational status of the routing protocol on this interface.
|