Users Guide

Layer 3 Routing Commands 1506
S U - Unnumbered Peer, L - Leaked Route
* Indicates the best (lowest metric) route for the subnet.
Default Gateway is 9.0.0.2
S *0.0.0.0/0 [253/0] via 9.0.0.2, Vl10
C *9.0.0.0/24 [0/1] directly connected, Vl10
L *66.6.6.0/24 [1/0] via 0.0.0.0, Vl30
console(config)#show ip route vrf Red
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, E - Externally Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
S U - Unnumbered Peer, L - Leaked Route
* Indicates the best (lowest metric) route for the subnet.
No default gateway is configured.
C *8.0.0.0/24 [0/1] directly connected, Vl30
L *9.0.0.0/24 [1/0] via 0.0.0.0, Vl10
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)