Configuring mbgp community – H3C Technologies H3C S7500E Series Switches User Manual

Page 250

Advertising
background image

8-16

z

To configure an MBGP peer group, you need to enable the corresponding IPv4 BGP unicast peer

group in IPv4 MBGP address family view.

z

Before adding an MBGP peer to an MBGP peer group, you need to add the corresponding IPv4

unicast peer to the IPv4 BGP peer group.

Configuring MBGP Community

The community attribute can be advertised between MBGP peers in different ASs. Routers in the

same community share the same policy.

You can reference a route policy to modify the community attribute for routes sent to a peer. In addition,

you can define extended community attributes as needed.

Follow these steps to configure MBGP community:

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

Advertise the

community

attribute to an

MBGP

peer/peer

group

peer { group-name | ip-address }

advertise-community

Advertise the

community attribute

to an MBGP

peer/peer group

Advertise the

extended

community

attribute to an

MBGP

peer/peer

group

peer { group-name | ip-address }

advertise-ext-community

Required

Not configured by default.

Apply a route policy to routes

advertised to an MBGP peer/peer

group

peer { group-name | ip-address }

route-policy route-policy-name

export

Required

Not configured by default.

Advertising