Configuring mbgp route summarization – H3C Technologies H3C S10500 Series Switches User Manual

Page 254

Advertising
background image

239

To do…

Use the command…

Remarks

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 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.

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
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
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

Follow these steps to advertise a default route to an MBGP peer or peer group:

Advertising