OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : neighbor send-community
neighbor send-community
Use this command to send that a community attribute to a BGP neighbor.
The community attribute groups destinations in a certain community and applies routing decisions according to those communities. On receiving community attributes, the router reannounces them to the neighbor.
By default, both standard and extended community attributes are sent to a neighbor. To explicitly send only the standard or extended community attribute, run the bgp config-type command with the standard parameter before running this command.
Use the no parameter with this command to not announce community attributes to the neighbor. Use the extended and no parameters to remove extended communities. Specifying no other parameter with no removes standard communities only.
Command Syntax
no neighbor (A.B.C.D|X:X::X:X|WORD) send-community
no neighbor (A.B.C.D|X:X::X:X|WORD) send-community (both|extended|standard)
neighbor (A.B.C.D|X:X::X:X|WORD) send-community
neighbor (A.B.C.D|X:X::X:X|WORD) send-community (both|extended|standard)
Parameters
A.B.C.D
Address of the BGP neighbor in an IPv4 format
X:X::X:X
Address of the BGP neighbor in an IPv6 format
WORD
Name of a BGP peer group created with the neighbor WORD peer-group command. When you specify this parameter, the command applies to all peers in the group.
both
Send Standard and Extended Community attributes
extended
Send Extended Community attributes
standard
Send Standard Community attributes
Default
Both standard and extended community attributes are sent to a neighbor.
Command Mode
Address Family mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#router bgp 100
(config-router)#address-family ipv4 vrf VRF_A
(config-router-af)#neighbor 10.10.10.1 remote-as 200
(config-router-af)#no neighbor 10.10.0.1 send-community extended
Last modified date: 07-13-2023