Configuring ipv6 bgp community – H3C Technologies H3C SecPath F1000-E User Manual

Page 827

Advertising
background image

802

Step Command

Remarks

6.

Add the IPv6 peer into the
peer group.

peer ipv6-address group
ipv6-group-name

Not added by default.

NOTE:

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; however, you cannot specify AS number for the EBGP peer

group.

Configuring IPv6 BGP community

Advertising community attribute to an IPv6 peer/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 address family
view.

ipv6-family

N/A

4.

Advertise community attribute

to an IPv6 peer/peer group.

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

advertise-community

Not advertised by default.

5.

Advertise extended
community attribute to an IPv6

peer/peer group.

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

advertise-ext-community

Not advertised by default.

Apply a routing policy to routes advertised to a peer/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 address family

view.

ipv6-family

N/A

4.

Apply a routing policy to
routes advertised to an IPv6

peer/peer group.

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

Not applied by default.

NOTE:

When configuring IPv6 BGP community, you must configure a routing policy to define the community
attribute, and apply the routing policy to route advertisement.

For routing policy configuration, see "Configuring routing policies."

Advertising