248
Ste
Command
Remarks
3. Enter MBGP address family
view.
ipv4-family multicast N/A
4. Enable route redistribution
from another routing protocol.
import-route protocol [ { process-id
| all-processes } [ allow-direct |
med med-value | route-policy
route-policy-name ] * ]
No route redistribution is
configured by default.
The allow-direct keyword is
available only when the specified
routing protocol is OSPF.
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:
Ste
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 ] *
Use either command
No route summarization is
configured by default.
If the two commands are both
configured, the manual route
summarization takes effect.