beautypg.com

Configuring mbgp route summarization, Group – H3C Technologies H3C S7500E Series Switches User Manual

Page 239

background image

8-5

To do…

Use the command…

Remarks

Enable route redistribution from

another routing protocol

import-route protocol

[ { process-id | all-processes }

[ med med-value | route-policy

route-policy-name ] * ]

Required

No route redistribution is

configured by default.

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 two summarization modes: automatic and manual.

z

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.

z

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

Enable automatic route

summarization

summary automatic

Configure

MBGP route

summarization

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

No route

summarization

is configured by

default.

Choose either

as needed; if

both are

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: