protocols static route6 <subnet> next-hop <address>
Configures the next hop for an IPv6 static route.
- route6 subnet
- Multi-node. An IPv6 static route. The format is a destination subnet of the form IPv6- address/prefix (h:h:h:h:h:h:h:h/x).
You can define multiple static routes by creating multiple route6 configuration nodes.
- next-hop address
- The IPv6 address of the next hop router.
- disable
- Disables the IPv6 static route.
- distance distance
- The next-hop distance for this route. Routes with a smaller distance are selected before those with a larger distance.
- interface
- The outgoing interface used to reach the next-hop address. This interface is needed when the next-hop address is a link-local address (that is, it has a fe80::/64 prefix).
Configuration mode
protocols {
static {
route6 subnet {
next-hop address {
disable
distance distance
interface interface
}
}
}
}
Use this command to configure IPv6 static routes on the router.
Use the set form of this command to configure the next hop for an IPv6 static route.
Use the delete form of this command to remove the next hop from an IPv6 static route.
Use the show form of this command to view the next hop for an IPv6 static route.