DGS-6604
m
neighbor send-community
CLI Reference Guide
451
neighbor send-community
Use this command to specify that the communities attribute should be sent to a
BGP neighbor, use the
no
form of this command to remove the entry.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} send-community [both | standard | extended]
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} send-community [both | standard |
extended]
Default
None
Command Mode
Address family configuration
Router configuration
Usage Guideline
When a BGP peer group is specified using the
PEER-GROUP-NAME
argument,
then all the members of the peer group inherit the characteristics configured with
this command.
Example
The following example, using the address family configuration mode, sets the
send-community with the
both
option (standard and extended):
Verify the settings by entering the
show ip bgp neighbor
command.
Syntax Description
IP-ADDRESS
Specifies IP address prefixes.
PEER-GROUP-NAME
Name of a Border Gateway Protocol (BGP) peer group.
both
(Optional) Specifies that both standard and extended communities will be sent.
standard
(Optional) Specifies that only standard communities will be sent.
extended
(Optional) Specifies that only extended communities will be sent.
Switch(config)# router bgp 65100
Switch(config-router)# address-family ipv4
Switch(config-router-af)# neighbor 10.4.4.4 send-community both