ip community-list
Creates a community list for BGP and controls access to it. The no version removes the community list, including all list entries.
Using a regular expression to specify the community:
[ no ] ip community-list communityLisName { permit | deny } communityExpression
Using some other method to specify the community:
ip community-list communityLisName { permit | deny }
{ communityNumber | asCommunityNumber | no-export | no-advertise | local-as |
internet } [ communityNumber | asCommunityNumber | no-export | no-advertise |
local-as | internet ]*no ip community-list communityLisName [ { permit | deny }
[ { communityNumber | asCommunityNumber | no-export | no-advertise | local-as | internet } ] [ communityNumber | asCommunityNumber | no-export | no-advertise | local-as | internet ]* ]
- communityLisNameName of a community list; a string of up to 32 characters; identifies one or more permit or deny groups of communities; used for standard community lists
- permitPermits access for a matching condition
- denyDenies access for a matching condition
- communityExpressionRegular expression that matches the community
- communityNumberCommunity number in the range 14294967295
- asCommunityNumberCommunity number in the format AA:NN, where AA is a number that identifies the autonomous system and NN is a number that identifies the community within the autonomous system.
- no-exportSpecifies that BGP does not advertise this route outside a BGP confederation boundary
- no-advertiseSpecifies that BGP does not advertise this route to any peer (internal or external)
- local-asSpecifies that BGP does not advertise this route to external peers; sometimes known as the no-export-subconfed community
- internetSpecifies the Internet community
- *Indicates that one or more parameters can be repeated multiple times in a list in the command line
Global Configuration
Release Information Command introduced before JUNOSe Release 7.1.0.