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

type

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

number

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

brief

(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

None

Command Modes

Any command mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Examples

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#

Related Commands

Command
Description

ip address

Assigns a primary IP address for a network interface.