189
Configuring MBGP route summarization
To reduce the routing table size on medium and large MBGP networks, you need to configure route
summarization on peers. MBGP supports automatic and manual summarization modes:
• Automatic summarization—Summarizes subnets redistributed from IGP. With the feature
configured, MBGP advertises only summary natural networks rather than subnets. The default
routes and routes injected with the network command are not summarized.
• Manual summarization—Summarizes MBGP local routes. A manual summary route has a higher
priority than an automatic one.
To configure MBGP route summarization:
Ste
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter IPv4 MBGP address
family view.
ipv4-family multicast
N/A
4. Configure MBGP route
summarization.
Enable automatic route
summarization:
summary automatic
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 ] *
Use either command
No route summarization is
configured by default.
If the two commands are both
configured, the manual route
summarization takes effect.
Advertising a default route to an IPv4 MBGP peer or peer
group
Ste
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter IPv4 MBGP address
family view.
ipv4-family multicast N/A
4. Advertise a default route to an
MBGP peer or peer group.
peer { group-name | ip-address }
default-route-advertise
[ route-policy route-policy-name ]
Not advertised by default.