223
To do… Use the command… Remarks
Enter system view system-view —
Enter BGP view bgp as-number —
Enter MBGP address family view ipv4-family multicast —
Enable route redistribution from
another routing protocol
import-route protocol [ { process-
id | all-processes } [ allow-direct
| med med-value | route-policy
route-policy-name ] * ]
Required
No route redistribution is
configured by default.
Currently, the allow-direct
keyword is available only when
the specified routing protocol is
OSPF.
Enable default route redistribution
into the MBGP routing table
default-route imported
Required
Not enabled by default
Configuring MBGP route summarization
To reduce the routing table size on medium-sized and large-sized MBGP networks, you must configure
route summarization on peers. MBGP supports the following 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 by the network command are not summarized.
• Manual summarization—Summarizes MBGP local routes. A manual summary route has a higher
priority than an automatic one.
Follow these steps to configure MBGP route summarization:
To do… Use the command… Remarks
Enter system view system-view —
Enter BGP view bgp as-number —
Enter IPv4 MBGP address family view ipv4-family multicast —
Configure
MBGP route
summarization
Enable automatic route
summarization
summary automatic
Required
No route
summarization
is configured by
default.
Choose either
as needed. If
both are
configured, the
manual route
summarization
takes effect.
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 ] *