282
Step Command
Remarks
4.
Configure a summary route.
abr-summary
ipv6-address
prefix-length
[
not-advertise
]
Not configured by default.
The
abr-summary
command takes
effect on ABRs only.
Configuring OSPFv3 inbound route filtering
According to some rules, you can configure OSPFv3 to filter routes that are computed from received
LSAs.
To configure OSPFv3 inbound route filtering:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
]
N/A
3.
Configure inbound
route filtering.
filter-policy
{
acl-number
|
ipv6-prefix
ipv6-prefix-name
}
import
Not configured by default.
The
filter-policy
import
command
can only filter routes computed by
OSPFv3. Only routes not filtered
out can be added into the local
routing table.
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 the cost value is not configured for an interface, OSPFv3 computes the interface cost value
automatically.
To configure an OSPFv3 cost for an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure an OSPFv3
cost for the interface.
ospfv3 cost
value
[
instance
instance-id
]
Optional.
The default cost depends on the interface type:
1 for a VLAN interface; 0 for a loopback
interface; computed according to the
bandwidth for other interfaces.
To configure a bandwidth reference value: