beautypg.com

Configuring ipv6 bgp community – H3C Technologies H3C S7500E Series Switches User Manual

Page 349

background image

11-20

To do…

Use the command…

Remarks

Create an eBGP peer group

group ipv6-group-name external

Required

Specify the AS number of an IPv6

peer

peer ipv6-address as-number

as-number

Required

Not specified by default.

Add the IPv6 peer into the peer

group

peer ipv6-address group

ipv6-group-name

Required

Not added by default

When creating a mixed eBGP peer group, you need to create a peer and specify its AS number that

can be different from AS numbers of other peers, but you cannot specify AS number for the eBGP peer

group.

Configuring IPv6 BGP Community

Advertise community attribute to an IPv6 peer/peer group

Follow these steps to advertise community attribute to an IPv6 peer/peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Advertise community attribute to

an IPv6 peer/peer group

peer { ipv6-group-name |

ipv6-address }

advertise-community

Required

Not advertised by default.

Advertise extended community

attribute to an IPv6 peer/peer

group

peer { ipv6-group-name |

ipv6-address }

advertise-ext-community

Required

Not advertised by default.

Apply a routing policy to routes advertised to a peer/peer group

Follow these steps to apply a routing policy to routes advertised to a peer/peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family