...
The set protocols bgp neighbor send-community command enables community and/or extended community exchange with the specified 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 with parameter all, both standard and extended communities will be sent to the neighbor.
The delete protocols bgp neighbor send-community command will not allow the neighbor to send community values to the specific neighbors that are part of peer-group.
...
set protocols bgp [vrf <vrf-name>] [ipv4 {neighbor <ip>| peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast] neighbor <bgppeer> } send-community type [both|extended|standard|large|all]
delete protocols bgp [vrf <vrf-name>] [ipv4 {neighbor <ip>| peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast] neighbor <bgppeer> } send-community type [both|extended|standard|large|all]
...
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
neighbor <bgppeer>{ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast} | Specifies the type of the address family. |
neighbor <ip> | Specifies the IP address of a peer. |
peer-group <peer-group> | Specifies a peer group. |
interface <interface> | Specifies an interface for BGP connection. |
[both|extended|standard|large|all] | Optional. The parameters standard, large and extended send only the respective community numbers. all: both standard and extended communities will be sent to the neighbor. |
Example
• This example allows community values to be sent to a specific neighbor.
Code Block |
---|
admin@XorPlus# set protocols bgp neighbor 2.2.2.2 ipv4-unicast send-community type both admin@XorPlus# commit |
...