neighbor send-community

Enables sending the community attribute in updates to the specified BGP neighbor.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } send-community [ both | extended | standard ]
no neighbor { ip-address | ipv6-address | peer-group-name } send-community [ both | extended | standard ]
Command Default

The device does not send community attributes.

Parameters
ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies the peer group name configured by the neighbor peer-group-name command.
both
Sends both standard and extended attributes.
extended
Sends extended attributes.
standard
Sends standard attributes.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

BGP L2VPN EVPN address family configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations. Use this command in BGP L2VPN EVPN address family configuration mode for BGP L2VPN EVPN configurations.

For the BGP L2VPN EVPN address family, this command must be configured for each BGP EVPN peer.

This command can be configured in BGP L2VPN EVPN address family configuration mode for RUCKUS ICX 7850 and ICX 7550 devices only.

The no form of the command disables the sending of the community attribute in updates to a specified BGP neighbor.

Examples

The following example sends standard community attributes to a neighbor.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 send-community standard

The following example sends standard community attributes to a neighbor for the BGP L2VPN EVPN address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 656
device(config-bgp-router)# neighbor 10.1.1.35 remote-as 656
device(config-bgp-router)# address-family l2vpn evpn
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 activate
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 send-community both
Release version Command history
10.0.20 This command can also be configured in BGP L2VPN EVPN address family configuration mode.