ip community-list
Syntax
Release Information
Description
Options
Mode
Copyright © 2010, Juniper Networks, Inc.
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 ]* ]
Command introduced before JunosE Release 7.1.0.
Creates a community list for BGP and controls access to it. The no version removes the
community list, including all list entries.
communityLisName—Name 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
permit—Permits access for a matching condition
deny—Denies access for a matching condition
communityExpression—Regular expression that matches the community
communityNumber—Community number in the range 1–4294967295
asCommunityNumber—Community 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-export—Specifies that BGP does not advertise this route outside a BGP
confederation boundary
no-advertise—Specifies that BGP does not advertise this route to any peer (internal
or external)
local-as—Specifies that BGP does not advertise this route to external peers; sometimes
known as the no-export-subconfed community
internet—Specifies the Internet community
*—Indicates that one or more parameters can be repeated multiple times in a list in
the command line
Global Configuration
Chapter 10: I Commands
751
Need help?
Do you have a question about the JUNOSE SOFTWARE 11.2.X - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 and is the answer not in the manual?
Questions and answers