R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

444
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] network 2002:: 16
peer advertise-community (IPv6 address family view)
Use peer advertise-community to advertise the community attribute to a peer or peer group.
Use undo peer advertise-community to remove the configuration.
Syntax
peer { group-name | ipv4-address | ipv6-address } advertise-community
undo peer { group-name | ipv4-address | ipv6-address } advertise-community
Default
No community attribute is advertised to any peer group/peer.
Views
IPv6 address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: Specifies the IPv4 address of a peer.
ipv6-address: Specifies the IPv6 address of a peer.
Examples
# Advertise the community attribute to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 advertise-community
peer advertise-ext-community (IPv6 address family view)
Use peer advertise-ext-community to advertise the extended community attribute to a peer or peer
group.
Use undo peer advertise-ext-community to remove the configuration.
Syntax
peer { group-name | ipv4-address | ipv6-address } advertise-ext-community
undo peer { group-name | ipv4-address | ipv6-address } advertise-ext-community
Default
No extended community attribute is advertised to a peer or peer group.
Views
IPv6 address family view