Configuring ipv6 mbgp community – H3C Technologies H3C S12500 Series Switches User Manual

Page 460

Advertising
background image

444

Step

Command

Remarks

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 address family
view.

ipv6-family

N/A

4.

Create an IPv6 BGP peer
group.

group ipv6-group-name [ external
| internal ]

N/A

5.

Add a peer to the peer group.

peer ipv6-address group
ipv6-group-name [ as-number

as-number ]

No peer added by default.

6.

Enter IPv6 MBGP address

family view.

ipv6-family multicast

N/A

7.

Enable the configured IPv6
unicast BGP peer group to

create the IPv6 MBGP peer
group.

peer ipv6-group-name enable

N/A

8.

Add the IPv6 MBGP peer into
the peer group.

peer ipv6-address group
ipv6-group-name

No peer added by default.

Configuring IPv6 MBGP community

A peer group enables a group of peers to share the same policy, and a community enables a group of
IPv6 MBGP routers in multiple ASs to share the same policy. The COMMUNITY attribute is propagated

among IPv6 MBGP peers and not restricted to AS boundaries.
You must configure a routing policy to define the COMMUNITY attribute, and apply the policy to

outgoing routes.
You can reference a routing policy to modify the COMMUNITY attribute for routes sent to a peer. In

addition, you can define extended community attributes as required. For more information about routing

policy configuration, see Layer 3IP Routing Configuration Guide.
To advertise the COMMUNITY attribute to an IPv6 MBGP peer or a peer group:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 MBGP address
family view.

ipv6-family multicast

N/A

4.

Advertise the COMMUNITY
attribute to an IPv6 MBGP

peer or a peer group.

peer { ipv6-group-name |
ipv6-address
}

advertise-community

By default, no COMMUNITY
attribute advertised to any peer

group/peer.

5.

Advertise the extended

community attribute to an IPv6
MBGP peer or a peer group.

peer { ipv6-group-name |
ipv6-address
}

advertise-ext-community

By default, no extended community
attribute advertised to any peer or

peer group by default.

6.

Apply a routing policy to
routes sent to an IPv6 MBGP

peer or a peer group.

peer { ipv6-group-name |
ipv6-address } route-policy
route-policy-name export

Not configured by default.

Advertising