peer advertise-ext-community (IPv6 address family view)

Use peer advertise-ext-community to advertise the extended community attribute to a peer/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/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 extended 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-ext-community