neighbor send-community

Syntax

neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} send-community [standard | extended]

no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} send-community [standard | extended]

Description

This command allows community values to be sent to a specific neighbor. When this command is configured for the peer-group, then all the neighbors that are part of peer-group will send the community values to the peers. The parameters standard and extended send only the respective community numbers. When the command is issued without either of these parameters, both standard and extended communities will be sent to the neighbor.

The no form of this command will not allow the neighbor to send community values to the specific neighbors that are part of peer-group.

Command context

config-bgp-ipv4-uc

or

config-bgp-ipv6-uc

Parameters

<IP-ADDRESS>

Specifies an IP address.

<PEER-GROUP-NAME>

Specifies a peer group.

Authority

Administrators

Examples

switch(config-bgp-ipv4-uc)# neighbor 1.1.1.1 send-community standard
switch(config-bgp-ipv4-uc)# no neighbor 1.1.1.1 send-community standard
switch(config-bgp-ipv4-uc)# neighbor 1.1.1.1 send-community extended
switch(config-bgp-ipv4-uc)# no neighbor 1.1.1.1 send-community
switch(config-bgp-ipv4-uc)# neighbor PG send-community standard
switch(config-bgp-ipv4-uc)# no neighbor PG send-community standard
switch(config-bgp-ipv4-uc)# neighbor PG send-community extended
switch(config-bgp-ipv4-uc)# no neighbor PG send-community