Configuration Commands : ip default-gateway

ip default-gateway
Description
Use the ip default-gateway command to set the default route to the specified next-hop or interface.
Use the no form of this command to remove the current default route.
Syntax
ip default-gateway <next-hop IP address or interface name> [< interface name>]
no ip default-gateway
Arguments
Either mgmt0 or mgmt1. The interface named here forces the next-hop to use the named management interface, binding the next-hop.
Defaults
None.
Command Mode
Global Configuration Mode
See Also
See the following related commands:
n
n
n
n
Usage Guidelines
None.
Examples
To set the default gateway to 10.10.4.5:
(config) # ip default-gateway 10.10.4.5

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.