ip community-list
Use community lists to specify permitted routes by using their BGP community. This list
acts as a filter that Match communities or AS numbers
Syntax
-
ip community-list
<1-1024> memberId <0-65535> <permit|deny> community-string
WORD<0-256>
-
no ip community-list
<1-1024>
-
no ip community-list
<1-1024> community-string WORD<0-256>
-
no ip community-list
<1-1024> memberid <0-65535>
Command Parameters
- <permit|deny>
- Sets the access mode, which
permits or denies access for matching conditions.
- community-list <1-1024>
- Creates the specified community
list entry. <1-1024> specifies the list id.
- community-string WORD<0-256>
- Specifies an alphanumeric string
value with a string length of 0 to 1536 characters. This string value is either an
AS num: community-value or a well-known community string. Well known communities
include: internet no-export no-advertise local-as (known as
NO_EXPORT_SUBCONFED).
- memberId <0-65535>
- Adds an entry to the community
list. <0-65535> is an integer value that represents the member ID in the
community list.
Command Mode
Global Configuration