BGP: Configuring Route Maps
Community Community set clauses give you a lot of control over the community values in updates.
You can:
Replace the set of community values in an update, by using the command: set community
Add more communities to the set of community values in an update, by using the command:
set community <community-values> additive
Remove the community attribute from an update, by using the command: set community none
Remove communities from the set of community values in an update, by creating a community list (see "Configuring a match clause" on page 27) and then applying it in a set clause. Use the command:
set
Localpref This specifies a value to set as the Localpref attribute in the update message.
Use the command:
set
Metric (MED) This specifies a value to set as the MED attribute in the update message. You can:
Set the MED in an update, by using the command: set metric
Increase or decrease the MED in an update by a specified amount, by using one of the commands:
set metric +<amount> set metric
For example, to increase the MED by 2, use the command:
set metric +2
Origin This specifies a value to set as the Origin attribute in the update message.
Use the command:
set origin {igpegpincomplete}
Aggregator This specifies the update’s aggregator attribute. The aggregator attribute specifies the AS and IP address of the device that performed the aggregation.
Use the command:
set aggregator <asn> <ipadd>
Use Route Maps and Other Filters to Filter and Alter BGP and OSPF Routes Page 31