The asbr-summary command configures an AS boundary router (ASBR) to summarize routes imported by OSPF.
The undo asbr-summary command disables ASBRs from summarizing routes imported by OSPF.
By default, ASBRs do not summarize routes imported by OSPF.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the IP address of a summary route. |
The value is in dotted decimal notation. |
mask |
Specifies the mask of the IP address of the summary route. |
The value is in dotted decimal notation. |
not-advertise |
Prevents the summary route from being advertised. If this parameter is not specified, the summary route is advertised. |
- |
generate-null0-route |
Generates a black-hole route in the RM module to prevent routing loops. |
- |
tag tag-value |
Specifies the tag of the summary route. |
The value is an integer ranging from 0 to 4294967295. |
cost cost-value |
Specifies the cost of the summary route. |
The value is an integer ranging from 0 to 16777214. By default:
|
distribute-delay interval |
Specifies the delay for advertising the summary route. |
The value is an integer ranging from 1 to 65535, in seconds. |
Usage Scenario
On a large-scale OSPF network, route lookup may slow down because of the large size of the routing table. To reduce the size of the routing table and simplify management, configure route summarization.
Routes with the same IP prefix can be summarized into one route. If a link connected to a device within an IP address range that has been summarized alternates between Up and Down, the link status change is not advertised to the devices beyond the IP address range. This prevents route flapping and improves network stability. Imported routes with the same prefix can be summarized into one route and advertised as one route using the asbr-summary command. Route summarization reduces the routing table size and improves device performance. After route summarization:Precautions
In case of a large number of summary routes, you can set a delay in advertising them. This ensures that the summary routes advertised each time contain more valid routes and prevents incorrect routing information in case of network flapping.