18 set community – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 387
![background image](/manuals/651410/387/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 387 of 855
19.17.1.4 Defaults
No set comm-list is specified by default.
19.17.1.5 Examples
Switch# configure terminal
Switch(config)# route-map ipi permit 3
Switch(config-route-map)# set comm-list 34 delete
19.17.1.6 Related
Commands
19.18 set community
Use this command to set the communities attribute.
Use the no parameter with this command to delete the entry.
Use this command to set the community attribute and group destinations in a certain
community, as well as, apply routing decisions according to those communities.
To use the set community command, you must first have a match clause. Match and set
commands set the conditions for redistributing routes from one routing protocol to another. The
match command specifies the match criteria under which redistribution is allowed for the
current route-map. The set command specifies the set redistribution actions to be performed, if
the match criteria are met.
If the packets do not match any of the defined criteria, they are routed through the normal
routing process.
Note:
This command is valid for BGP only.
19.18.1.1 Command
Syntax
set community [ AA:NN | internet | local-AS | no-advertise | no-export ] [additive]
set community none
no set community
19.18.1.2 Syntax
Description
AA:NN
Specifies the community number in this format.