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.
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: ICX 7150 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.
- Enter global configuration mode.
- Enter the
ipv6 routecommand 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.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.