Configure IPv6 Floating Route
Configuration Condition
None
Configure an IPv6 Floating Route
IPv6 floating static route indicates there are multiple routes to the same destination network. The output interfaces or gateway addresses of the routes are different, and the priorities of the routes are also different. The route with the higher priority becomes the primary route while the route with the lower priority becomes the floating route. In the routing table, only the primary route is visible. The floating table appears in the routing table only when the primary route becomes invalid. Therefore, the floating route is usually used as a backup route.
Table 4-4 Configuring a floating route
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure the IPv6 primary route.
|
ipv6 route destination-ipv6-address/destination-mask interface-name1 distance1
|
Mandatory.
The output interface of the primary route is interface-name1 and the priority of the route is distance1.
|
Configure the IPv6 floating route.
|
ipv6 route destination-ipv6-address/destination-mask interface-name2 distance2
|
Mandatory.
The output interface of the floating route is interface-name2, the priority is distance2. The value of distance2 must be larger than the value of distance1.
|
-
In configuring the priorities of the routes, the smaller the distance value is, the higher the priority is.