neighbor send-community extended

To configure the local router to send the BGP community attributes in Update messages to a specific neighbor, use this command in BGP VPNv4 Address Family Configuration mode.

Using this command under the address-family vpnv4 unicast mode enables the local BGP router to send extended communities attribute to its BGP peer across the backbone. The neighbor address must be the same IP address used in the neighbor remote-as command to create the peer.

Default The extended communities attribute is not sent.
Format neighbor ip-address send-community [extended | both]
Mode
  • VPNv4 Address Family Config
  • L2VPN Address Family Config
Parameter Description
ip-address The neighbor's IPv4 address.
[extended | both] One of the following:
  • extended enables the router to send only extended community attributes.
  • both enables the router to send both standard and extended community attributes.

Example: The following example enables sending of the extended communities attribute to external peer at 1.1.1.1.

(Config)# router bgp 1
(Config-router)# neighbor 1.1.1.1 remote-as 2
(Config-router)# address-family vpnv4 unicast
(Config-router-af-vpnv4)# neighbor 1.1.1.1 sendcommunity extended
(Config-router-af-vpnv4)# neighbor 1.1.1.1 activate

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo