Configure a static route for a VRF. Use this command to:
Create static routes for data traffic in a specific VRF context for any platform.
Create static routes for a VRF associated with a Segmented Management Instance CLIP interface.
default ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D}
default ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} dynamic
default ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} enable
default ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} local-next-hop enable
default ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} preference
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} enable
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} enable next-hop-vrf WORD<1-16>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} local-next-hop enable
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} name <0-64>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} preference <1-255>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} preference <1-255> next-hop-vrf WORD<1-16>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} weight <1-65535>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} weight <1-65535> local-next-hop enable
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} weight <1-65535> name <0-64>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} weight <1-65535> next-hop-vrf WORD<1-16>
ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} weight <1-65535> preference <1-255>
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D}
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} dynamic
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} dynamic next-hop-vrf WORD<1-16>
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} enable
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} enable next-hop-vrf WORD<1-16>
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} local-next-hop enable
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} next-hop-vrf WORD<1-16>
no ip route <A.B.C.D A.B.C.D | A.B.C.D/X> {A.B.C.D} preference
Specifies the IP address and mask for the route destination in one of the following formats:
A.B.C.D A.B.C.D
A.B.C.D/X
The default route specifies a route to all networks for which there are no explicit routes in the Forwarding Information Base or the routing table. The default route has a prefix length of zero (RFC 1812).
Specifies the IP address of the next-hop router (the next router at which packets must arrive on this route). When you create a black hole static route, configure this parameter to 255.255.255.255 as the IP address of the router through which the specified route is accessible. Configure a black hole static route to the destination a router advertises to avoid routing loops when aggregating or injecting routes to other routers.
Note
Do not configure a static interface subnet route with a weight of 1.
None
VRF Router Configuration
Static routes for the management OOB, if supported, and management VLAN must use the Segmented Management Instance. For more information, see Fabric Engine User Guide. The management CLIP can use the Segmented Management Instance or routes in the associated VRF routing table manager (RTM).