Configuring ospf route summarization, Configuring ospf inbound route filtering – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 257

25-23
z
OSPF basic functions
z
Corresponding filters if routing information filtering is needed.
Configuring OSPF Route Summarization
OSPF route summarization includes:
z
Configuring route summarization between OSPF areas on an ABR
z
Configuring route summarization when redistributing routes into OSPF on an ASBR
Follow these steps to configure route summarization between OSPF areas 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 OSPF area view
area
area-id
Required
Configure ABR route
summarization
abr-summary
ip-address { mask |
mask-length
} [ advertise |
not-advertise
] [ cost cost ]
Required
Available on an ABR only
Not configured by default
Follow these steps to configure route summarization when redistributing routes into OSPF on an ASBR:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[ process-id | router-id router-id ] *
—
Configure ASBR route
summarization
asbr-summary
ip-address { mask |
mask-length
} [ tag tag | not-advertise |
cost
cost ] *
Required
Available on an ASBR only
Not configured by default
Configuring OSPF Inbound Route Filtering
Follow these steps to configure inbound route filtering:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[ process-id | router-id router-id ] *
Required
Configure inbound route
filtering
filter-policy
{ acl-number | ip-prefix ip-prefix-name |
gateway
ip-prefix-name } import
Required
Not configured by default
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.