show ip interface

Last Updated : Oct 25, 2015 |
Displays information about an interface that has an IP address or about all interfaces that have IP addresses.
Prolog information

Syntax

show ip interface [interface_name|ip_interface|ip_address]

Parameters

Parameter
Description
Possible Values
Default Value
interface_name
The name of the interface whose information you want to display
ip_interface
The name of the IP interface whose information you want to display
string (1-32 chars)
ip_address
The IP address of the interface whose information you want to display
Note:
If using spaces, enclose the entire string in quotation marks (for example, New York).

User level

read-only

Context

general

Examples

To display information for the FastEthernet interface:
Gxxx-001(super)# show ip interface FastEthernet 10/3
To display information for the sub-interface 0 of the FastEthernet interface:
Gxxx-001(super)# show ip interface FastEthernet 10/3.0
To display all IP interfaces:
Gxxx-001(super)# show ip interface
Showing 2
InterfacesSerial 1:1 is down
Internet address is 2.2.2.2, subnet mask is 255.255.255.0
Advertised IPCP address
Broadcast address is 2.2.2.255
Directed broadcast forwarding is disabled
Proxy ARP is disabled
Primary management IP interface
FastEthernet 10/3 is up
Internet address is 149.49.75.71, subnet mask is 255.255.255.0
Broadcast address is 149.49.75.255
Directed broadcast forwarding is disabled
Proxy ARP is disabled
Note:
If address negotiation is configured on the PPP connection, the following message appears:
Internet address will be negotiated using IPCP, or Address determined by IPCP.
If DHCP client was configured on the interface, the following message appears: Internet address will be negotiated using DHCP,or Address determined by DHCP.

Header Compression Output Fields

If header compression was enabled on the interface, one of the following header compression status messages appears:
Status message
Meaning
RTP/IP header compression is enabled and not compressing
RTP header compression was enabled on this interface, but is not actively compressing. This can be caused by failure to negotiate.
RTP /IP header compression is enabled and compressing
RTP header compression was enabled on this interface, and is functioning properly
RTP /IP header compression is disabled
RTP header compression is disabled (default)
TCP/IP header compression is enabled and not compressing
VJ header compression was enabled on this interface, but is not actively compressing. This can be caused by failure to negotiate.
TCP/IP header compression is enabled and compressing
Header compression was enabled on this interface, and is functioning properly
TCP/IP header compression is disabled
VJ header compression is disabled (default)