Setting a preference for OSPFv3
A router can run multiple routing protocols. The system assigns a priority for each protocol. When these routing protocols find the same route, the route found by the protocol with the highest priority is selected.
To set a preference for OSPFv3:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OSPFv3 view. | ospfv3 [ process-id | vpn-instance vpn-instance-name ] * | N/A |
3. Set a preference for OSPFv3. | preference [ ase ] { preference | route-policy route-policy-name } * | By default, the preference of OSPFv3 internal routes is 10, and the priority of OSPFv3 external routes is 150. |