show ip interface

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

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

Examples

The following example displays typical summary information about all interfaces.

device# show ip interface brief
Flags:  I - Insight Enabled     U - Unnumbered interface    M - Redundant Management
Interface              IP-Address          Vrf                     Status                    Protocol
==================     ==========          ==================      ====================      ========
Loopback 42            42.42.42.2           mgmt-vrf                up                        up
Loopback 45            unassigned           default-vrf             administratively down     down
Ethernet 0/1           unassigned           default-vrf             up                        down
Ethernet 0/2           unassigned           default-vrf             up                        down
Ethernet 0/3           43.43.43.2           mgmt-vrf                up                        down
Ethernet 0/4           unassigned           default-vrf             up                        up
Ethernet 0/5           unassigned           default-vrf             up                        down
Ethernet 0/6           unassigned           default-vrf             up                        down
Ethernet 0/7           unassigned           default-vrf             up                        down
Ethernet 0/8           unassigned           default-vrf             up                        down
Ethernet 0/9           unassigned           default-vrf             up                        down
Ethernet 0/10          unassigned           default-vrf             up                        up
Ethernet 0/11          unassigned           default-vrf             up                        down
Ethernet 0/12          unassigned           default-vrf             up                        down
Ethernet 0/13          unassigned           default-vrf             up                        down
Ethernet 0/14          unassigned           default-vrf             up                        down
Ethernet 0/15          unassigned           default-vrf             up                        down
Ethernet 0/16          unassigned           default-vrf             up                        down
Ethernet 0/17          unassigned           default-vrf             up                        down
Ethernet 0/18          unassigned           default-vrf             up                        down
Ethernet 0/19          unassigned           default-vrf             up                        down
Ethernet 0/20:1        unassigned           default-vrf             up                        up
Ethernet 0/20:2        40.40.40.2           mgmt-vrf                up                        up
Ethernet 0/20:3        unassigned           default-vrf             up                        down
Ethernet 0/20:4        unassigned           default-vrf             up                        down
Ethernet 0/21          unassigned           default-vrf             up                        down
Ethernet 0/22          unassigned           default-vrf             up                        down
Ethernet 0/23          unassigned           default-vrf             up                        down
Ethernet 0/24          unassigned           default-vrf             up                        down
Ethernet 0/25          unassigned           default-vrf             up                        down
Ethernet 0/26          unassigned           default-vrf             up                        down
Ethernet 0/27          unassigned           default-vrf             up                        up
Ethernet 0/28          unassigned           default-vrf             up                        down
Ethernet 0/29          unassigned           default-vrf             up                        down
Ethernet 0/30          unassigned           default-vrf             up                        down
Ethernet 0/31:1(M)     unassigned           mgmt-vrf                up                        up
Ethernet 0/31:2        unassigned           default-vrf             administratively down     down
Ethernet 0/31:3        unassigned           default-vrf             administratively down     down
Ethernet 0/31:4        unassigned           default-vrf             administratively down     down
Ethernet 0/32          unassigned           default-vrf             administratively down     down
Ve 3                   unassigned           default-vrf             administratively down     down
Ve 41                  41.41.41.2           mgmt-vrf                up                        up

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