H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration
3-29
Note:
Since OSPF is a link state-based interior gateway protocol, routing information is
contained in LSAs. However, OSPF cannot filter LSAs. Using the filter-policy import
command is to filter routes computed by OSPF, and only routes not filtered out are
installed into the routing table.
3.6.4 Configuring ABR Type-3 LSA Filtering
Follow these steps to configure Type-3 LSA filtering on an ABR:
To do… Use the command… Remarks
Enter system view
System-view
—
Enter OSPF view
ospf [ process-id |
router-id router-id ] *
—
Enter area view
area area-id
—
Configure ABR Type-3
LSA filtering
filter { acl-number |
ip-prefix ip-prefix-name }
{ import | export }
Required
Not configured by default
3.6.5 Configuring an OSPF Cost for an Interface
Follow these steps to configure an OSPF cost for an interface:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure an OSPF
cost for the interface
ospf cost value
Optional
By default, an interface
computes its cost according to
the baud rate.
The cost value defaults to 1 for
VLAN interfaces.
Follow these steps to configure a bandwidth reference value: