Step
2.
Enter OSPF view.
Configure inbound
3.
route filtering.
Configuring ABR Type-3 LSA filtering
You can configure an ABR to filter Type-3 LSAs advertised to an area.
To configure Type-3 LSA filtering on an ABR:
Step
1.
Enter system view.
2.
Enter OSPF view.
3.
Enter area view.
4.
Configure ABR Type-3 LSA
filtering.
Configuring an OSPF cost for an interface
You can configure an OSPF cost for an interface by using either of the following methods:
Configure the cost value in interface view
•
•
Configure a bandwidth reference value for the interface. OSPF computes the cost with this formula:
Interface OSPF cost = Bandwidth reference value (100 Mbps)/Interface bandwidth (Mbps). If the
calculated cost is greater than 65,535, the value of 65,535 is used. If the calculated cost is less
than 1, the value of 1 is used. If no cost or bandwidth reference value is configured for an interface,
OSPF computes the interface cost based on the interface bandwidth and default bandwidth
reference value.
To configure an OSPF cost for an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure an OSPF cost
for the interface.
To configure a bandwidth reference value:
Command
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
filter-policy { acl-number [ gateway
ip-prefix-name ] | gateway ip-prefix-name |
ip-prefix ip-prefix-name [ gateway
ip-prefix-name ] | route-policy
route-policy-name } import
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
area area-id
filter { acl-number | ip-prefix
ip-prefix-name } { import | export }
Command
system-view
interface interface-type
interface-number
ospf cost value
70
Remarks
N/A
Not configured by default.
Remarks
N/A
N/A
N/A
Not configured by
default.
Remarks
N/A
N/A
Optional.
The default cost depends on the interface
type: 1 for a VLAN interface and 0 for a
loopback interface, computed according
to the bandwidth for other interfaces.