beautypg.com

Ipv4 bgp configuration examples, Basic bgp configuration example, Tuning and optimizing ospfv3 networks – H3C Technologies H3C S12500-X Series Switches User Manual

Page 341: Configuring ospfv3 route redistribution

background image

327

Step Command

Remarks

2.

Enter OSPFv3 view.

ospfv3 [ process-id |
vpn-instance
vpn-instance-name ] *

N/A

3.

Configure a preference
for OSPFv3.

preference [ ase ] [ route-policy
route-policy-name ] preference

By default, the preference of OSPFv3
internal routes is 10, and the priority of

OSPFv3 external routes is 150.

400B

Configuring OSPFv3 route redistribution

Because OSPFv3 is a link state routing protocol, it cannot directly filter LSAs to be advertised. OSPFv3

filters only redistributed routes. Only routes that are not filtered out can be advertised in LSAs.
Executing the import-route or default-route-advertise command on a router makes it become an ASBR.
To configure OSPFv3 route redistribution:

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.

(Optional.) Specify a default
cost for redistributed routes.

default cost value

The default setting is 1.

4.

Configure OSPFv3 to
redistribute routes from other

routing protocols.

import-route protocol [ process-id |
all-processes | allow-ibgp ] [ cost cost |

route-policy route-policy-name | type
type ] *

By default, route redistribution
is disabled.

5.

(Optional.) Configure
OSPFv3 to redistribute a

default route.

default-route-advertise [ [ always |
permit-calculate-other ] | cost cost |

route-policy route-policy-name | type
type ] *

By default, no default route is
redistributed.
This command can only inject
and advertise a default route.

6.

(Optional.) Configure

OSPFv3 to filter redistributed
routes.

filter-policy { acl6-number | prefix-list
prefix-list-name } export [ protocol

[ process-id ] ]

By default, OSPFv3 accepts
all redistributed routes.
This command filters only
routes redistributed with the

import-route command. If the
import-route command is not

configured, executing this

command does not take
effect.

109B

Tuning and optimizing OSPFv3 networks

This section describes configurations of OSPFv3 timers, interface DR priority, and the logging of

neighbor state changes.

This manual is related to the following products: