Users Guide

Table Of Contents
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
Configure the community list you use in the set comm-list delete command 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 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.
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
Usage
Information
The no version of this command deletes a BGP COMMUNITY attribute assignment.
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set community none
Supported
Releases
10.3.0E or later
1302 Access Control Lists