Name
ip community-list — global
Synopsis
ip community-listnumber
{permit | deny}community
no ip community-listnumber
Configures
A community list for BGP
Default
None
Description
This command defines a community list, which is basically an access list for a BGP community. A community list can be used with the match community
command in a route-map configuration.
-
number
A value identifying the community list that this command belongs to. Values can be 1 to 99.
-
permit | deny
Permits or denies the given community.
-
community
The community to permit or deny. This parameter may be a community number between 1 and 99, or one of the default community names (
internet
,no-export
,no-advertise
).
Example
ip community-list 1 permit internet
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.