Setting a BGP Community Attribute to a List of Community Numbers

You can use the set community command to set the community attribute in BGP updates. You can specify a community list number in the range 1–4,294,967,295 or in the new community format of AA:NN, or you can specify one of the following well-known communities:

Alternatively, you can use the list keyword to specify the name of a community list that you previously created with the ip community-list command. You can use this command with inbound, outbound, and redistribution route maps.

You can use the none keyword to remove the community attribute from a route.

To set the community attribute in BGP updates:

host1(config-route-map)#set community no-advertise

Use the no version to remove the set clause from a route map.

Related Documentation