set community
Syntax
set community {<AA:NN> | internet | no-export | no-advertise | local-as} [additive | delete]
no set community [<AA:NN> | internet | no-export | no-advertise | local-as] [additive | delete]
Description
Modifies the community number attribute of the route with the value configured in the set clause.
The
no
form of this command restores the default behavior of not modifying the community number attribute of the route.
Command context
config-route-map
Parameters
{<AA:NN> | internet | no-export | no-advertise | local-as}
Selects the value to be set as the community number attribute of the route in the
AA: nn
format or as a known community nameinternet
,no-export
,no-advertise
, andlocal-as
.
[additive]
Specifies that the specified community number is added to the existing community number attribute of the route.
[delete]
Specifies that the specified community number is removed from the existing community number attribute of the route.
Authority
Administrators
Example
Configuring a set clause in the route map to modify the community number attribute of the route:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap-11)# no set community 11:101 switch(config-route-map-GlobalMap-11)# set community no-advertise