Configuring a VRF as Next Hop for an IPv6 Static Route

A non-default VRF can be configured as the next-hop gateway for an IPv6 static route.
Before configuring a static IPv6 route, you must enable the forwarding of IPv6 traffic on the Layer 3 switch using the ipv6 unicast-routing command and enable IPv6 on at least one interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface.

Note: RUCKUS ICX 7150 and ICX 8100 devices do not support VRFs.
Note: The VRF designated in the procedure must be a valid VRF.

To configure a VRF as the next hop for an IPv6 static route, follow these steps.

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enter the ipv6 route command followed immediately by the keyword vrf and the name of the VRF that contains the next-hop router for the route. On the same command line, enter the destination IPv6 address, including the prefix length, and the IPv6 address of the next hop.
    device(config)# ipv6 route vrf partners 2001:DB8::0/32 2001:DB8:0:ee44::1
    This example creates an IPv6 static route for the destination network addresses with the prefix 2001:DB8::0/32 through the next-hop VRF named "partners" with the global IPv6 address 2001:DB8:0:ee44::1.