CLI Reference Guide-R02

Table Of Contents
Chapter 28
| IP Interface Commands
IPv4 Interface
– 805 –
C 192.168.2.0/24 is directly connected, VLAN1
Console(config)#
Related Commands
ip address (802)
ip route (858)
ipv6 default-gateway (814)
show ip interface This command displays the settings of an IPv4 interface.
Syntax
show ip interface [vlan vlan-id]
vlan-id - VLAN ID (Range: 1-4094)
Command Mode
Privileged Exec
Example
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is CC-37-AB-BC-4F-FA
Index: 1001, MTU: 1500
Address Mode is User specified
IP Address: 192.168.2.98 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP Relay Server:
VLAN 200 is Administrative Up - Link Down
Address is CC-37-AB-BC-4F-FA
Index: 1200, MTU: 1500
Address Mode is not specified
Proxy ARP is disabled
DHCP Client Vendor Class ID (text): ECS5520-18X
DHCP Relay Server:
Console#
Related Commands
ip address (802)
show ipv6 interface (823)