Configuring BGP Route Summarization
To reduce the routing table size on medium and large BGP networks, you need to configure route
summarization on BGP routers. BGP supports two summarization modes: automatic and manual.
Manual summary routes enjoy a higher priority than automatic ones.
Configure automatic route summarization
After automatic route summarization is configured, BGP summarizes redistributed IGP subnets to
advertise only natural networks. Routes injected with the network command can not be summarized.
Follow these steps to configure automatic route summarization:
To do...
Enter system view
Enter BGP view
Configure automatic route
summarization
Configure manual route summarization
By configuring manual route summarization, you can summarize both redistributed routes and routes
injected using the network command and determine the mask length for a summary route as needed.
Follow these steps to configure BGP manual route summarization:
To do...
Enter system view
Enter BGP view
Configure manual route
summarization
Advertising a Default Route to a Peer or Peer Group
After this task is configured, the BGP router sends a default route with the next hop being itself to the
specified peer/peer group, regardless of whether the default route is available in the routing table.
Follow these steps to advertise a default route to a peer or peer group:
To do...
Enter system view
Use the command...
system-view
bgp as-number
summary automatic
Use the command...
system-view
bgp as-number
aggregate ip-address { mask | mask-length }
[ as-set | attribute-policy route-policy-name |
detail-suppressed | origin-policy
route-policy-name | suppress-policy
route-policy-name ]*
Use the command...
system-view
6-23
Remarks
—
—
Required
Not configured by
default.
Remarks
—
—
Required
Not configured by
default.
Remarks
—