Configuring ipv6 bgp community, Configuring an ipv6 bgp route reflector – H3C Technologies H3C S10500 Series Switches User Manual

Page 354

Advertising
background image

339

NOTE:

When creating a mixed eBGP peer group, you must create a peer and specify its AS number that is
different from AS numbers of other peers; however, you cannot specify AS number for the eBGP peer

group.

Configuring IPv6 BGP community

Advertise community attribute to an IPv6 peer or peer group

Follow these steps to advertise community attribute to an IPv6 peer or 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 or peer group

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

advertise-community

Required
Not advertised by default.

Advertise extended community
attribute to an IPv6 peer or 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 or peer group

Follow these steps to apply a routing policy to routes advertised to a peer or 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

Apply a routing policy to routes
advertised to an IPv6 peer or peer
group

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

Required
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 the chapter “Routing policy configuration.”

Configuring an IPv6 BGP route reflector

Follow these steps to configure an IPv6 BGP route reflector:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Advertising