Cisco Cisco ASR 5700

Page of 8994
  Context Configuration Mode Commands I-M 
ip community-list  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
2521 
 
internet – Advertise this route to the internet community, and any router that belongs to it. 
 
local-AS – Use in confederation scenarios to prevent sending packets outside the local autonomous 
system (AS). 
 
no-advertise – Do not advertise this route to any BGP peer, internal or external. 
 
no-export – Do not advertise to external BGP (eBGP) peers. Keep this route within an AS. 
 
value 
AS-community_number
 – Specifies a community string in AS:NN format, where AS = 2-byte 
AS-community hexadecimal number and NN = 2-byte hexadecimal number (1 to 11 characters). 
You can enter multiple destinations and AS community numbers separated by spaces. 
Usage 
Configures filtering via a BGP community list. To filter by a BGP community, you must then match the 
community in a route-map. 
Multiple community-list entries can be attached to a community-list by adding multiple permit or deny 
clauses for various community strings. Up to 64 community-lists can be configured in a context.  
 The communities-list is a way to group destinations into communities and apply routing decisions based on 
the communities. This method simplifies the configuration of a BGP speaker that controls distribution of 
routing information. 
A community is a group of destinations that share some common attribute. Each destination can belong to 
multiple communities. Autonomous system administrators define to which communities a destination 
belongs. 
Example
 
The following command specifies that community list number 5 will permit access to AS destination 200:5. 
ip community-list standard 5 permit value 200:5