1-21
To do…
Use the command…
Remarks
Enable route redistribution from
a routing protocol into BGP
import-route
protocol
[
process-id | all-processes
]
[
med med-value
|
route-policy
route-policy-name
] *
Required
Not redistributed by default
Enable default route
redistribution into BGP
default-route imported
Optional
Not enabled by default
Controlling Route Distribution and Reception
Prerequisites
BGP connections have been 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 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…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure automatic route
summarization
summary automatic
Required
Not configured by default.
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure manual route
summarization
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
]*
Required
Not configured by
default.