C
HAPTER
41
| IP Interface Commands
IPv4 Interface
– 920 –
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 redirects
ip default gateway 10.1.0.254
Console#
RELATED COMMANDS
ip default-gateway (919)
show ipv6 default-gateway (934)
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-0C-00-00-FD (via 00-E0-0C-00-00-FD)
Index: 1001, MTU: 1500, Bandwidth: 1g
Address Mode is DHCP
IP Address: 192.168.0.3 Mask: 255.255.255.0
Proxy ARP is disabled
Console#
RELATED COMMANDS
ip address (918)
show ipv6 interface (935)
traceroute This command shows the route packets take to the specified destination.
SYNTAX
traceroute host
host - IP address or alias of the host.
DEFAULT SETTING
None