Chapter 25
| IP Interface Commands
IPv4 Interface
– 603 –
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 (602)
show ipv6 default-gateway (620)
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): SC30010
Console#
Related Commands