show ip interface

Displays useful information about the configuration and status of the IP protocol and its services, on all interfaces.
Syntax
show ip interface [ ethernet unit/slot/port | loopback num | tunnel num | ve num |lag lag-id]
Parameters
ethernet unit slot port
Displays the specified Ethernet interface by unit, slot, and port number.
loopback num
Displays the loopback interface number.
tunnel num
Displays the tunnel interface number.
ve num
Displays the Virtual Ethernet interface number.
lag lag-id
Displays the lag number.
Modes

User EXEC mode

Privileged EXEC mode

Global configuration mode

Interface configuration mode

LAG configuration mode

The show ip interface command displays the following information:

Output field Description
Interface The type and the slot and port number of the interface.
IP-Address The IP address of the interface.
OK? Whether the IP address is configured on the interface.
Method Whether the IP address is saved in NVRAM. If you have set the IP address for the interface in the CLI, the Method field is "manual".
Status The link status of the interface. If the user has disabled the interface with the disable command, the entry in the 'Status' field is "administratively DOWN". Otherwise, the entry in the 'Status' field is either UP or DOWN.
Protocol Whether the interface can provide two-way communication. If the IP address is configured and the link status of the interface is up, the entry in the 'Protocol' field is UP. Otherwise, the entry in the 'Protocol' field is DOWN.
VRF Whether the VRF is configured or set to default.
Examples

The following example displays information about all IP interfaces.

device# show ip interface

Interface     IP-Address      OK?  Method   Status   Protocol   VRF
Eth 1/1/6     10.53.5.1       YES  manual   down     down       default-vrf
Eth mgmt1     10.25.224.194   YES  manual   up       up         default-vrf 

The following example displays the show ip interface command specifically for tunnel interface 1.

device(config)#show ip interface tunnel 1
Interface Tunnel 1
  port enabled
  port state: UP
  ip address: 123.1.1.1         subnet mask: 255.255.255.0     
  Port belongs to VRF: default-vrf
  encapsulation: GRE, mtu: 9192, metric: 1
  directed-broadcast-forwarding: disabled
  ICMP redirect: disabled
  TCP adjust-mss: 1200
  proxy-arp: disabled
 ip arp-age:  10 minutes
  No Helper Addresses are configured.
  No inbound ip access-list is set
  No outgoing ip access-list is set

The following example displays the IP interface VE configurations.

device(config)#show ip interface ve 100
Interface Ve 100
  members: ethe 2/1/21 ethe 3/1/47 
  active: ethe 2/1/21 ethe 3/1/47 
  port enabled
  port state: UP
  ip address: 100.1.1.1         subnet mask: 255.255.255.0     
  Port belongs to VRF: default-vrf
  encapsulation: ETHERNET, mtu: 9216, metric: 1
  directed-broadcast-forwarding: disabled
  ICMP redirect: enabled
  TCP adjust-mss: 1200
  proxy-arp: disabled
  ip arp-age:  10 minutes
  no delay in notification
  No Helper Addresses are configured.
  No inbound ip access-list is set
  No outgoing ip access-list is set

The following example displays the show ip interface command to verify a user-configured MAC address. The “ip-mac:” text is followed by the configured MAC address.

device(config)#show ip interface ethernet 2/1/22
Interface Ethernet 2/1/22
  port enabled
  port state: UP
  ip address: 202.1.1.1         subnet mask: 255.255.255.0     
  Port belongs to VRF: default-vrf
  encapsulation: ETHERNET, mtu: 9216, metric: 1
  directed-broadcast-forwarding: disabled
  ICMP redirect: disabled
  TCP adjust-mss: 1200
  proxy-arp: disabled
  ip arp-age:  10 minutes
  No Helper Addresses are configured.
  No inbound ip access-list is set
  No outgoing ip access-list is set
  ip-mac: 000a.000a.000a 

The following example displays the IP interface LAG configurations.

device(config)#show ip interface lag 1       
Interface Ethernet lg1
  port enabled
  port state: UP
  ip address: 101.1.1.1         subnet mask: 255.255.255.0     
  Port belongs to VRF: default-vrf
  encapsulation: ETHERNET, mtu: 9216, metric: 1
  directed-broadcast-forwarding: disabled
  ICMP redirect: disabled
  TCP adjust-mss: 1200
  proxy-arp: disabled
  ip arp-age:  10 minutes
  No Helper Addresses are configured.
  No inbound ip access-list is set
  No outgoing ip access-list is set


History
Release version Command history
08.0.40 The command output was modified to display a user-configured MAC address for an IP interface.
08.0.90 The IP TCP MSS configuration was introduced to this command.