Configuring mbgp route summarization – H3C Technologies H3C S12500 Series Switches User Manual
Page 237

221
Step Command
Remarks
5.
Enable default route
redistribution into the MBGP
routing table.
default-route imported
Not enabled by default.
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:
Step Command
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 ] *
By default, no route
summarization is
configured.
Use either method.
If both are configured,
the manual route
summarization takes
effect.
Advertising a default route to an IPv4 MBGP peer or peer
group
Step Command
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