F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
390
Configuring a priority for OSPFv3
A router can run multiple routing protocols. The system assigns a priority to each protocol. When these
routing protocols find the same route, the route found by the protocol with the highest priority is selected.
To configure a priority for OSPFv3:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter OSPFv3 view. ospfv3 [ process-id ] N/A
3. Configure a priority for
OSPFv3.
preference [ ase ] [ route-policy
route-policy-name ] preference
Optional.
By default, the priority of OSPFv3 internal
routes is 10, and the priority of OSPFv3
external routes is 150.
Configuring OSPFv3 route redistribution
When you configure OSPFv3 route redistribution, follow these guidelines:
• Executing the import-route or default-route-advertise command on a router makes it become an
ASBR.
• You can only inject and advertise a default route by using the default-route-advertise command.
• Because OSPFv3 is a link state routing protocol, it cannot directly filter LSAs to be advertised; you
must filter redistributed routes first. Routes that are not filtered out can be advertised in LSAs.
• The filter-policy export command filters routes redistributed with the import-route command. If the
import-route command is not configured, executing the filter-policy export command does not take
effect.
To configure OSPFv3 route redistribution:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter OSPFv3 view.
ospfv3 [ process-id ]
N/A
3. Specify a default cost for
redistributed routes.
default cost value
Optional.
Defaults to 1.
4. Redistribute routes from
another protocol or another
OSPFv3 process.
import-route protocol [ process-id | allow-ibgp ]
[ cost value | route-policy route-policy-name |
type type ] *
Not configured by
default.
5. Inject a default route.
default-route-advertise [ always | cost value |
type type | route-policy route-policy-name ] *
Optional.
Not injected by
default.
6. Filter redistributed routes.
filter-policy { acl6-number | ipv6-prefix
ipv6-prefix-name } export [ ospfv3 process-id |
ripng process-id | bgp4+ | direct | static ]
Optional.
Not configured by
default.