9.2.6 Configuring Static Routes in VRF [SL-L3A]
Set a static route for a VRF.
- Points to note
-
Specifies a VRF by using the vrf parameter of the ip route command.
Command examples
-
(config)# ip route vrf 2 172.16.2.0 255.255.255.0 10.2.1.100 noresolve
Generates the static route 172.16.2.0/24 for VRF2. As the next hop, specifies neighboring gateway 10.2.1.100.