peer advertise-community (IPv6 BGP-VPN instance view)

Use peer advertise-community to advertise the COMMUNITY attribute to a peer.

Use undo peer advertise-community to remove the configuration.

Syntax

peer ipv6-address advertise-community

undo peer ipv6-address advertise-community

Default

No COMMUNITY attribute is advertised to any peer.

Views

IPv6 BGP-VPN instance view

Default command level

2: System level

Parameters

ipv6-address: Specifies the IPv6 address of a peer.

Examples

# In IPv6 BGP-VPN instance view, advertise the COMMUNITY attribute to the peer 1:2::3:4.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance 1
[Sysname-bgp-ipv6-1] peer 1:2::3:4 advertise-community