Use this command to add or remove a static IPv6 route.
prefix/prefix-length | Specifies a destination IP address in prefix/prefix-length format. |
ipv6-ip-address | Specifies a next-hop router IP address for this static route. |
interface interface-name | Specifies a next-hop interface ID for this static route. |
vlan vlan-id | Specifies a next-hop VLAN interface for this static route. Valid values for VLAN ID: 1 - 4094. |
vrf egress-vrf | Specifies the egress VRF router that will determine the next hop for the route. |
recursive | (Optional) Specifies that the next-hop interface is determined by route lookup. |
distance | (Optional) Specifies an administrative distance metric for this route. Valid values are 1 (default) to 255. Routes with lower values receive higher preference in route selection. |
tag tag-id | (Optional) Specifies an OSPF tag ID for this route. Valid values are 1 - 4294967295. |
Global configuration.
This command is used to configure static routes that will route transit frames.
Use the vrf egress-vrf parameter to point to the egress VRF router that will perform the next-hop lookup for this static route.
If you only enter the prefix/length and the IP address of the nexthop router and do not specify the optional recursive parameter, a search is performed of all configured subnets for a subnet containing the next?hop. If found, the static route will be anchored to that interface, else it will become a recursive route.
The no ipv6 route command removes the specified static IPv6 route.
This example shows how to configure a static route with a prefix and length of 2001:11ac:fd34::/48, a next hop IPv6 address of 2001:11ac:fd34:3333::4, to determine the next-hop interface using route lookup, and assigns the OSPF tag 65514 to the route:
System(su)->router Internet-Access System(su-*t-Access)->configure System(su-*t-Access-config)->ipv6 route 2001:11ac:fd34::/48 2001:11ac:fd34:3333::4 recursive tag 65514