neighbor send-community
Syntax
neighbor {< ip地址>|<体育ER-GROUP-NAME>} send-community [standard | extended] no neighbor {< ip地址>|<体育ER-GROUP-NAME>} send-community [standard | extended]
描述
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标准
andextended
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没有
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地址>
-
Specifies the neighbor IP address in the IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255, or in the IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
), wherex
is a hexadecimal number from 0 to F. -
<体育ER-GROUP-NAME>
-
Specifies a peer group.
权威
Administrators or local user group members with execution rights for this command.
Examples
switch(config-bgp-ipv4-uc)#neighbor 1.1.1.1 send-community standardswitch(config-bgp-ipv4-uc)#没有neighbor 1.1.1.1 send-community standard
switch(config-bgp-ipv4-uc)#neighbor 1.1.1.1 send-community extendedswitch(config-bgp-ipv4-uc)#没有neighbor 1.1.1.1 send-community
switch(config-bgp-ipv4-uc)#neighbor PG send-community standardswitch(config-bgp-ipv4-uc)#没有neighbor PG send-community standard
switch(config-bgp-ipv4-uc)#neighbor PG send-community extendedswitch(config-bgp-ipv4-uc)#没有neighbor PG send-community