set community
Sets the BGP community attribute to one or more community numbers or a list of community numbers. The no version removes the set clause from a route map.
set community { list communityListName [ additive ] | none }
set community { communityNumber | knownCommunity | asCommunNumber }
[ communityNumber | knownCommunity | asCommunNumber ]* [ additive ]
- communityListNameName of a community; a string of up to 32 characters
- additiveAdds the community number to the community list
- noneRemoves the community attribute
- communityNumberNumber, in the range 1 4294967295, that specifies the community number
- knownCommunityAny of the following well-known communities; the Internet community is not an option:
- local-asPrevents advertisement outside of the local AS
- no-advertisePrevents advertisement to any peer
- no exportPrevents advertisement beyond the BGP confederation boundary
- AANumber, in the range 165535, that identifies an AS
- NNNumber, in the range 165535, that uniquely identifies a community within an AS
- *Indicates that one or more parameters can be repeated multiple times in a list in the command line
Route Map Configuration
Command introduced before JUNOSe Release 7.1.0.