Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 4 OSPF Configuration
Huawei Technologies Proprietary
4-17
Operation Command Description
Enable ASBR route summary
asbr-summary
ip-address mask
[ not-advertise | tag
value ]
Required
This command takes
effect only when it is
configured on an
ASBR. By default,
summary of imported
routes is disabled.
4.6.3 Configuring OSPF to Filter Received Routes
Table 4-9 Configure OSPF to filter received routes
Operation
Command Description
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id [ router-id
router-id ] ]
Required
Configure to filter the
received routes
filter-policy { acl-number |
ip-prefix ip-prefix-name |
gateway ip-prefix-name }
import
Required
By default, OSPF does
not filter received
routing information.
Note:
OSPF is a dynamic routing protocol based on link state, with routing information
hidden in LSAs. Therefore, OSPF cannot filter any advertised or received LSA. In fact,
the filter-policy import command filters the routes calculated by OSPF; only the
routes passing the filter can be added to the routing table.
4.6.4 Configuring the Cost for Sending Packets on an OSPF Interface
Table 4-10 Configure the cost for sending packets on an OSPF interface
Operation Command Description
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
Required