show ip interface
show ip interface
[
ethernet
unit/slot/port
|
loopback
num
|
tunnel
num
|
ve
num
|
lag
lag-id
]User EXEC mode
The
show ip interface command displays the following information:
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 information specifically for a specified tunnel interface.
device> 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 configurations for a specified Ethernet interface.
device> 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 configurations for a specified LAG interface.
device> 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
The following example shows IP configurations for a specified VE interface, including anycast gateway configurations. In this example, the anycast gateway feature is enabled for the VE interface. A MAC address of 0002.1111.1110 is assigned to the anycast gateway.
device> show ip interface ve 100 Interface Ve 100 members: ethe 1/1/19 ethe 1/1/31 ethe 1/1/35 ethe 1/1/48 ethe 2/1/14 ethe 2/1/23 lag lg1 lag lg10 active: ethe 1/1/35 ethe 1/1/48 port enabled port state: UP ip address: 100.1.1.1 subnet mask: 255.255.255.0 Port belongs to VRF: overlay-vrf encapsulation: ETHERNET, mtu: 9216, metric: 1 directed-broadcast-forwarding: disabled ICMP redirect: enabled 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 Anycast gateway: enabled Anycast gateway mac : 0002.1111.1110
| 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 command output was modified to include information for IP Transmission Control Protocol (TCP) Maximum Segment Size (MSS) configurations. |
| 10.0.20a |
New entry The command output
was modified to include information for anycast gateway configurations. |