show ip interface

To display IP information for an interface, use the show ip interface command.

show ip interface [type number] [brief] [vrf vrf-name]

Syntax Description


(Optional) Interface type. Use ? to see the options.


(Optional) Interface number. Use ? to see the range.


(Optional) Displays a summary of IP information.

vrf vrf-name

(Optional) Specifies the name of the virtual routing and forwarding (VRF) instance. The vrf-name argument can be specified as any case-sensitive, alphanumeric string up to 32 characters. The strings "default" and "all" are reserved VRF names.

Command Default


Command Modes

Any command mode

Command History



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:, IP subnet:
  IP broadcast address:
  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

Related Commands


ip address

Assigns a primary IP address for a network interface.