DGS-6604
ipv6 route
CLI Reference Guide
366
Practical Usage
Operators may like to specify the priorities of multiple routes destined for the
same network. When multiple routes destined for the same network exist, a
network device needs to decide which route should be registered into the routing
table. The higher priority routes will be active, while lower priority routes will be
backup. The following lists the default priority of available kinds of routes in the
system.
• LOCAL INTERFACE 0
• STATIC 1
• RIP 120
• RIPNG 120
• OSPF 110
• OSPF6 110
• EBGP 20
• IBGP 200
• ISIS 115
Examples
Assume that a routing protocol originates the same route to the same destination
as an existing static route. However, an operator would like to select the
calculation of the best route to choose from the routing protocols first. To do that
the operator needs to change the priority of the static route, since the default
priority of static routes is usually higher than dynamic routes.
This example shows how to create floating static routes. The System will
ultimately choose the higher priority (with less distance value) route to be the
master route toward the same destination. In this case, the route with distance 11
will be chosen as the master route toward the destination 2001:0DB8::/32.
Switch > enable
Switch # configure terminal
Switch (config) # ipv6 route 2001:0DB8::/32 vlan 1 fe80::0200:00ff:fe00:a0a0
distance 11
Switch (config) # ipv6 route 2001:0DB8::/32 vlan 2 fe80::0200:00ff:fe00:b0b0
distance 22