Connectivity Guide

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 specic to that AS.
Default Not congured
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 specied 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
Supported Releases 10.4.0E(R1) or later
Access Control Lists 955