Cisco Cisco Packet Data Interworking Function (PDIF)
Context Configuration Mode Commands I-M
▀ ip community-list
▄ Command Line Interface Reference, StarOS Release 17
2520
ip community-list
Configures filtering via a BGP community list. To filter by a BGP community, you must then match the community in a
route-map.
route-map.
Product
All products supporting BGP routing
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx)#
Syntax
ip community-list { named named_list | standard identifier } { deny | permit } {
internet | local-AS | no-advertise | no-export | value AS-community_number AS-
community_number AS-community_number ... }
internet | local-AS | no-advertise | no-export | value AS-community_number AS-
community_number AS-community_number ... }
{ internet | local-AS | no-advertise | no-export | value AS-community_number AS-
community_number AS-community_number ...}
community_number AS-community_number ...}
{ internet | local-AS | no-advertise | no-export | value AS-community_number AS-
community_number AS-community_number ...}
community_number AS-community_number ...}
no ip community-list { named named_list | standard identifier } { deny | permit } {
internet | local-AS | no-advertise | no-export | value AS-community_number }
internet | local-AS | no-advertise | no-export | value AS-community_number }
no
Entering no ip community-list with a permit/deny clause deletes the matching community-list entry.
Entering no ip community-list without a permit/deny clause deletes all the entries belonging to a
community-list.
Entering no ip community-list without a permit/deny clause deletes all the entries belonging to a
community-list.
named
named_list
Specifies the name of a community list as an alphanumeric string of 1 through 79 characters.
standard
identifier
Specifies the name of a community list as an integer from 1 through 99.
{ deny | permit }
Specifies whether this community will deny or permit access to a specified destination.
{ internet | local-AS | no-advertise | no-export | value
AS-community_number
Specifies the destinations to deny or permit for the community.