ipv6 route next-hop

Enables a device to use routes from a specified protocol to resolve a configured static route.
Syntax
ipv6 route [ vrf vrf-name ] next-hop { bgp | ospf | rip }
no ipv6 route [ vrf vrf-name ] next-hop { bgp | ospf | rip }
Command Default

By default, static routes are not distributed or resolved through another protocol.

Parameters
vrf vrf-name
Specifies the VRF that contains the next-hop router (gateway) for the route.
bgp
Configures the device to use iBGP and eBGP routes to resolve static routes.
ospf
Configures the device to use OSPF routes to resolve static routes.
rip
Configures the device to use RIP routes to resolve static routes.
Modes

Global configuration mode

Usage Guidelines

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.

ICX 7150 and ICX 8100 devices do not support tunnels or VRFs.

The no form of the command disables IPv6 static route next-hop resolution through the designated protocol. If a VRF is configured, the no form of the command removes the static IPv6 route configuration from the VRF.

Examples

The following example enables IPv6 static route next-hop resolution through OSPF.

device# configure terminal
device(config)# ipv6 route next-hop ospf