Switch Management Guide

IP I
NTERFACE
C
OMMANDS
38-4
Example
The following example defines a default gateway for this device:
Related Commands
show ip redirects (38-4)
show ip interface
This command displays the settings of an IP interface.
Command Mode
Privileged Exec
Example
Related Commands
show ip redirects (38-4)
show ip redirects
This command shows the IP default gateway configured for this device.
Command Mode
Privileged Exec
Example
Related Commands
ip default-gateway (38-3)
Console(config)#ip default-gateway 10.1.1.254
Console(config)#
Console#show ip interface
Console#
Console#show ip redirects
ip default gateway 10.1.0.254
Console#