Configuring a priority for ospfv3, Configuring ospfv3 route redistribution – H3C Technologies H3C S12500 Series Switches User Manual

Page 331

Advertising
background image

315

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPFv3 view.

ospfv3 [ process-id ]

N/A

3.

Specify the maximum number

of ECMP routes.

maximum load-balancing
maximum

Optional.
16 by default.

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:

Step 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

Follow these guidelines when you configure OSPFv3 route redistribution:

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 then 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:

Step 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.
1 by default.

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.

Advertising