CLI Reference Guide-R05

Table Of Contents
Chapter 26
| IP Interface Commands
IPv4 Interface
– 627 –
show ip
default-gateway
This command shows the IPv4 default gateway configured for this device.
Default Setting
None
Command Mode
Privileged Exec
Example
Console#show ip default-gateway
IP default gateway 10.1.0.254
Console#
Related Commands
ip default-gateway (626)
show ipv6 default-gateway (644)
show ip interface This command displays the settings of an IPv4 interface.
Command Mode
Privileged Exec
Example
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is 00-E0-00-00-00-01
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.2 Mask: 255.255.255.0
DHCP Client Vendor Class ID (text): ECS4510-28T
Console#
Related Commands
ip address (624)
show ipv6 interface (644)