Reference Guide

Table Of Contents
set comm-list add
Add communities in the specified 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 (up to 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 specified 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
The community list you use in the set comm-list delete command must be configured so that
each filter contains only one community. For example, the filter deny 100:12 is acceptable, but the
filter deny 120:13 140:33 results in an error. If you configure the set comm-list delete
command and the set community command in the same route map sequence, the deletion command
(set comm-list delete) processes before the insertion command (set community). 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.
community-number Enter the community number in aa:nn format, where aa is the AS number
(2 bytes) and nn is a value specific to that AS.
Default Not configured
Command Mode ROUTE-MAP
620 Access Control Lists