Configuring ipv6 bgp community, Configuring an ipv6 bgp route reflector – H3C Technologies H3C SR8800 User Manual

Page 377

Advertising
background image

361

Configuring IPv6 BGP community

Advertising community attribute to an IPv6 peer/peer group

To advertise 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

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

To 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 you configure 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 “Configuring routing policies.”

Configuring an IPv6 BGP route reflector

To configure an IPv6 BGP route reflector:

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

Advertising