beautypg.com

66 neighbor shutdown, 65 neighbor send-community – CANOGA PERKINS 9175 Command Reference User Manual

Page 288

background image

CanogaOS Command Reference

16-43

16.65 neighbor send-community

Use this command to specify that a community attribute should be sent to a BGP neighbor.

Use the no parameter with this command to remove the entry. Use the extended and no parameters to

remove extended communities. Specifying no other parameter with no removes standard communities only.

Command Syntax

(no) neighbor NEIGHBORID send-community (both|extended|standard)

NEIGHBORID = A.B.C.D|X:X::X:X|TAG

A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.

X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the

neighbor peer-group and neighbor remote-as commands. When this parameter is used with a command,

the command applies on all peers in the specified group.

both = Sends Standard and Extended Community attributes

extended = Sends Extended Community attributes

standard = Sends Standard Community attributes

Default

Both standard and extended community attributes are sent to a neighbor.

Command Mode

Router mode and Address Family mode

Usage

This command is used to specify a community attribute to be sent to a 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. Only when the no parameter is

used with this command the community attributes are not reannounced 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.

Examples

Switch# configure terminal

Switch(config)# bgp config-type standard

Switch(config)# router bgp 10

Switch(config-router)# neighbor 10.10.0.72 send-community extended

Related Commands

bgp config-type