CLI Guide

Layer 3 Routing Commands 1515
S *66.6.6.0/24 [1/0] via 8.0.0.2, Vl30
ip route default
Use the ip route default command in Global Configuration mode to
configure the next hop address of the default route. Use the no form of the
command to delete the default route.
Use of the optional VRF parameter executes the command within the
context of the VRF specific routing table.
Syntax
ip route default [vrf vrf-name] next-hop-ip [preference]
no ip route default next-hop-ip [preference]
vrf-name—The name of the VRF associated with the routing table context
used by the command. If no vrf is specified, the global routing table
context is used.
next-hop-ip — IP address of the next hop router.
preference — Specifies the preference value, a.k.a administrative distance,
of an individual static route. (Range: 1-255)
Default Configuration
Default value of preference is 1.
Command Mode
Global Configuration mode
User Guidelines
For routed management traffic:
1
Router entries are checked for applicable destinations.
2
The globally assigned default-gateway is consulted.
If DHCP is enabled on multiple in-band interfaces and the system learns a
different default gateway on each, the system retains the first default gateway
it learns and ignores any others. If the first default gateway is lost, the system
does not revert to an alternate default gateway until it renews its IP address.