To do...
Enable route redistribution from a
routing protocol into BGP
Enable default route redistribution
into BGP
Controlling route distribution and reception
Configuration prerequisites
BGP connections must be created.
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 automatic and manual summarization modes. Manual
summary routes have 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 cannot 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
Use the command...
import-route protocol [ { process-id
| all-processes } [ allow-direct |
med med-value | route-policy
route-policy-name ] * ]
default-route imported
Use the command...
system-view
bgp as-number
summary automatic
Use the command...
system-view
bgp as-number
208
Remarks
Required
Not redistributed by default
The allow-direct keyword is
available only when the specified
routing protocol is OSPF.
Optional
Not enabled by default
Remarks
—
—
Required
Not configured by
default.
Remarks
—
—