show ip interface

Displays the IP address, status, and configuration for a specified interface.

Syntax

show ip interface { brief | ethernet slot/port | port-channel number }

Parameters

brief
Specifies a brief summary of IP interface status and configuration.
ethernet slot/port
Specifies an Ethernet slot and port.
port-channel number
Specifies a port-channel.

Modes

Privileged EXEC mode

Usage Guidelines

You can also display a brief summary of such information for all interfaces.

Examples

The following example displays information about all of the interfaces in the summary format.

device# show ip interface brief
Interface       IP-Address  Vrf          Status                  Protocol
===========     ==========  ==========   ================        ========
Port-channel 1  unassigned               administratively down   down
Port-channel 2  unassigned               administratively down   down
Ethernet 1/1    unassigned  default-vrf  up                      down (UDLD blocked unidirectional link)
Ethernet 1/2    unassigned  default-vrf  up                      down (Link-OAM blocked link)
Ethernet 1/3    unassigned  default-vrf  up                      up
Ethernet 1/4    unassigned  default-vrf  administratively down   down

The following example displays the IP interface status of a specified Ethernet port.

device# show ip interface ethernet 1/1
 Ethernet 1/2 is up, line protocol is down (Link-OAM blocked link), Link-OAM is enabled
Hardware is Ethernet, address is 00e0.0c70.c005
    Current address is 00e0.0c70.c005
Pluggable media present
Interface index (ifindex) is 406880257
MTU 1548 bytes
10G Interface
LineSpeed Actual     : Nil
LineSpeed Configured : Auto, Duplex: Full
Priority Tag disable
Last clearing of show interface counters: 10:50:20
Queueing strategy: fifo
Receive Statistics:
    67181801 packets, 8867997496 bytes
    Unicasts: 67181799, Multicasts: 1, Broadcasts: 1
    64-byte pkts: 1, Over 64-byte pkts: 4, Over 127-byte pkts: 67181796
    Over 255-byte pkts: 0, Over 511-byte pkts: 0, Over 1023-byte pkts: 0
    Over 1518-byte pkts(Jumbo): 0
    Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0
    Errors: 0, Discards: 0
Transmit Statistics:
    82627975 packets, 10906817712 bytes
    Unicasts: 82627873, Multicasts: 11, Broadcasts: 89
    Underruns: 0
    Errors: 0, Discards: 0
Rate info:
    Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
    Output 0.001014 Mbits/sec, 1 packets/sec, 0.00% of line-rate
Time since last interface status change: 00:08:22