5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
687
individually, a community list used to remove communities should not include the exact-match option on
statements with multiple communities. Such statements can never match an individual community.
When a route map statement includes both
set
community and
set comm-list delete
terms, the
set
comm-list delete
term is processed first, and then the
set
community term (meaning that, communities
are first removed, and then communities are added).
No
command deletes the
set
command from a route map.
set comm-list community-list-name delete
no set comm-list
Parameters
community-list-name
A standard community list name.
Default
The default is None.
Command Mode
Route Map Config
7-64
set community
To modify the communities attribute of matching routes, use the
set community
command in Route Map
Configuration mode. The
set community
command can be used to assign communities to routes
originated through BGP's network and redistribute commands, and to set communities on routes received
from a specific neighbor or advertised to a specific neighbor. lt can also be used to remove all
communities from a route.
To remove a subset of the communities on a route, use the command “
set comm-list delete
”.
No
command removes a
set
term from a route map.
set community {community-number [additive] | none}
no set community
Parameters
community-number
One to sixteen community numbers, either as a 32-bit integers or in
AA:NN format. Communities are separated by spaces. The well-known
communities
no advertise
and
no-export
are also accepted.
additive
(Optional) Communities are added to those already attached to the
route.
none
Removes all communities from matching routes.