Configuring ospf inbound route filtering – H3C Technologies H3C SR8800 User Manual
Page 103

87
Step Command
Remarks
4.
Configure ABR route
summarization.
abr-summary ip-address { mask |
mask-length } [ advertise |
not-advertise ] [ cost cost ]
Not configured by default.
The command is available on an
ABR only.
Configuring route summarization when redistributing routes into OSPF on an ASBR
Without route summarization, an ASBR advertises each redistributed route in a separate ASE LSA. After
a summary route is configured, the ASBR advertises only the summary route in an ASE LSA instead of
more specific routes, reducing the number of LSAs in the LSDB.
The ASBR summarizes redistributed Type-5 LSAs that fall into the specified address range. If the ASBR is
in an NSSA area, it also summarizes Type-7 LSAs that fall into the specified address range. If the ASBR
is also the ABR, it summarizes Type-5 LSAs translated from Type-7 LSAs.
To configure route summarization when redistributing routes into OSPF on an ASBR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ]* N/A
3.
Configure ASBR route
summarization.
asbr-summary ip-address { mask |
mask-length } [ tag tag | not-advertise
| cost cost ] *
The command is available on an
ASBR only.
Not configured by default.
Configuring OSPF inbound route filtering
NOTE:
For more information about IP prefix list and routing policy, see the chapter “Configuring routing
policies.”
OSPF calculates routes by using LSAs. The calculated routes can be filtered and only permitted routes are
installed into the OSPF routing table.
OSPF provides the following filtering methods:
•
Filters routing information by destination address through ACLs and IP address prefixes
•
Filters routing information by next hop through the filtering criteria configured with the gateway
keyword
•
Filters routing information by destination address through ACLs and IP address prefixes and by next
hop through the filtering criteria configured with the gateway keyword
•
Filters routing information by routing policy specified by the route-policy keyword
To configure inbound route filtering:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
N/A
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module