Cisco Cisco Packet Data Gateway (PDG)

Página de 9109
  Route-map Configuration Mode Commands 
set community  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
8371 
set community 
Sets the BGP community destination for the routes matching the route-map. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Route-map Configuration 
configure > context context_name > route-map map_name { deny | permit }
 
seq_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-route-map)# 
Syntax
 
set community [additive] { internet | local-AS | no-advertise | no-export | none | value 
AS-community_number AS-community_number AS-community_number+ } 
{ internet | local-AS | no-advertise | no-export | none | value AS-community_number AS-
community_number
 AS-community_number ...  } 
{ internet | local-AS | no-advertise | no-export | none | value AS-community_number AS-
community_number
 AS-community_number ... } 
no set community { internet | local-AS | no-advertise | no-export | value AS-
community_number 
 } 
no
 
Unsets the specified community destination. 
[additive]
 
When enabled this option allows multiple BGP destinations and route targets to be included in the same 
community. 
{ internet | local-AS | no-advertise | no-export | value
 
AS-community_number 
 
Specifies the destination for the community. 
 
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. 
 
none – No community attribute 
 
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).