Configuring ospfv3 received route filtering, Configuring inter-area-prefix lsa filtering, Configuring an ospfv3 cost for an interface – H3C Technologies H3C S12500-X Series Switches User Manual

Page 339

Advertising
background image

325

395B

Configuring OSPFv3 received route filtering

According to some rules, you can configure OSPFv3 to filter routes calculated using received LSAs.
To configure OSPFv3 to filter routes calculated using received LSAs:

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.

Configure OSPFv3 to

filter routes calculated
using received LSAs.

filter-policy { acl6-number [ gateway
prefix-list-name ] | prefix-list

prefix-list-name [ gateway
prefix-list-name ] | gateway

prefix-list-name | route-policy

route-policy-name } import

By default, OSPFv3 accepts all
routes calculated using received

LSAs.
This command can only filter routes
computed by OSPFv3. Only routes

not filtered out can be added into

the local routing table.

396B

Configuring Inter-Area-Prefix LSA filtering

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.

Enter OSPFv3 area view.

area area-id

N/A

4.

Configure OSPFv3 to filter

Inter-Area-Prefix LSAs.

filter { acl6-number | prefix-list
prefix-list-name | route-policy
route-policy-name } { export | import }

By default, OSPFv3 accepts all
Inter-Area-Prefix LSAs.
This command takes effect only on
ABRs.

397B

Configuring an OSPFv3 cost for an interface

You can configure an OSPFv3 cost for an interface with one of the following methods:

Configure the cost value in interface view.

Configure a bandwidth reference value for the interface, and OSPFv3 computes the cost
automatically based on the bandwidth reference value: Interface OSPFv3 cost = Bandwidth

reference value (100 Mbps)/Interface bandwidth (Mbps). If the calculated cost is greater than

65535, the value of 65535 is used; if the calculated cost is smaller than 1, the value of 1 is used.

If no cost is configured for an interface, OSPFv3 automatically computes the cost for the interface.
To configure an OSPFv3 cost for an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising
This manual is related to the following products: