API Guide

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
set extcomm-list add
Add communities in the specified list to the EXTCOMMUNITY attribute in a matching inbound or outbound BGP route.
Syntax
set extcomm-list extcommunity-list-name add
Parameter extcommunity-list-name Enter the name of an established extcommunity list. A maximum of 140
characters.
Defaults None
Command Mode ROUTE-MAP
Usage
Information
In a route map, use this set command to add an extended list of communities that pass a permit
statement to the EXTCOMMUNITY attribute of a BGP route sent or received from a BGP peer. Use the
set extcomm-list delete command to delete an extended community list from a matching route.
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set extcomm-list TestList add
1182 Access Control Lists