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 or peer group.

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