Users Guide

Table Of Contents
set comm-list add
Add communities in the specied list to the COMMUNITY attribute in a matching inbound or outbound BGP route.
Syntax
set comm-list {community-list-name} add
Parameters community-list-name — Enter the name of an established community list. A maximum of 140 characters.
Defaults None
Command Mode ROUTE-MAP
Usage Information In a route map, use this set command to add a list of communities that pass a permit statement to the
COMMUNITY attribute of a BGP route sent or received from a BGP peer. Use the set comm-list delete
command to delete a community list from a matching route.
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set comm-list comlist1 add
Supported Releases 10.4.0E(R1) or later
set comm-list delete
Remove communities in the specied list from the COMMUNITY attribute in a matching inbound or outbound BGP route.
Syntax
set comm-list {community-list-name} delete
Parameters community-list-name — Enter the name of an established community list. A maximum of 140 characters.
Defaults None
Command Mode ROUTE-MAP
Usage Information
Congure the community list you use in the set comm-list delete command so that each lter contains
only one community. For example, the lter deny 100:12 is acceptable, but the lter deny 120:13 140:33
results in an error. If you congure the set comm-list delete command and the set community
command in the same route map sequence, the deletion set comm-list delete command processes before
the insertion set community command . To add communities in a community list to the COMMUNITY attribute
in a BGP route, use the set comm-list add command.
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set comm-list comlist1 delete
Supported Releases 10.3.0E or later
set community
Sets the community attribute in BGP updates.
Syntax
set community {none | community-number}
Parameters
none — Enter to remove the community attribute from routes meeting the route map criteria.
Access Control Lists 1109