Configuration Guide Vol. 3


9.2.7 Configuring Static Routes Across VRF [SL-L3A]

Set a static route between VRFs to configure an extranet between specific hosts.

Points to note

Specifies the partner VRF with the vrf parameter of the ip route command (after the next hop address).

Command examples

  1. (config)# ip route vrf 2 172.16.3.1 255.255.255.255 10.3.1.100 vrf 3 noresolve

    Generates the static route 172.16.3.1/32 for VRF2. As the next hop, specifies neighboring gateway 10.3.1.100 for VRF3.

  2. (config)# ip route vrf 3 172.16.1.1 255.255.255.255 10.1.1.100 vrf 2 noresolve

    Generates the static route 172.16.1.1/32 for VRF3. As the next hop, specifies neighboring gateway 10.1.1.100 for VRF2.