Enables sending the community attribute in updates to the specified BGP neighbor.
The device does not send community attributes.
BGP address-family IPv4 unicast configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
BGP address-family L2VPN EVPN configuration mode
BGP address-family VPNv4 unicast configuration mode
BGP address-family VPNv6 unicast configuration mode
If the send-community attribute is enabled after a BGP session has been established, the neighbor session must be cleared for this change to take effect.
The no form of the command restores the defaults.
The following example sends standard community attributes to a neighbor.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 unicast device(config-bgp-ipv4u)# neighbor 10.11.12.13 send-community standard %Warning: Please clear the neighbor session for the parameter change to take effect!
The following example sends extended community attributes to a neighbor for VRF instance "red".
device# configure terminal ddevice(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)# neighbor 2001:2018:8192::125 send-community extended %Warning: Please clear the neighbor session for the parameter change to take effect!
The following example sends standard and extended community attributes to a neighbor in L2VPN EVPN configuration mode.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family l2vpn evpn device(config-bgp-evpn)# neighbor 10.1.1.1 send-community both %Warning: Please clear the neighbor session for the parameter change to take effect!
The following example sends standard community attributes to a neighbor in the address IPv6 unicast mode.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor 10.11.12.13 send-community standard %Warning: Please clear the neighbor session for the parameter change to take effect!