Install guide

Filtering IP Routes 2-15
Software Version 2.7.5
C613-10454-00 REV A
How to configure an entry with a set clause
Once you have determined what update messages or prefixes a route map
entry matches, you can configure set clauses to change the attributes of
matching items.
To create a set clause for an entry, use one of the commands shown in the
following table.
A prefix list can match a subset of prefixes in an update message. You can use
this to change the attributes of some of the prefixes in an outgoing update,
without having to change the attributes of all the prefixes. However, an update
message contains just one set of attributes, which must apply to all the prefixes
in the update. Therefore, the router or switch splits the original update into two
updates:
one that contains the original attribute values and the prefixes that were
not included by the route map entry, and
one that contains the new attribute values and the prefixes that were
included by the route map entry
Table 2-3: The available set clauses for route maps for BGP
Command Result
add ip routemap=routemap entry=1..4294967295
set aspath={1..65534[,...]}
Adds up to 10 AS numbers at the
beginning of the AS path
attribute.
add ip routemap=routemap entry=1..4294967295
set community={noexport|noadvertise|
noexportsubconfed|aa:xx}[,...]} [add={no|yes}]
Either:
replaces the community
attribute with a list of up to 10
community values, if add=no
(the default), or
adds up to 10 community
values to the community
attribute, if add=yes
add ip routemap=routemap entry=1..4294967295
set localpref=0..4294967295
Replaces the existing
local_preference attribute, or sets
it if it was not already set.
add ip routemap=routemap entry=1..4294967295
set med={0..4294967295|remove}
Replaces the existing MED
attribute, or sets it if it was not
already set, or if you specify
med=remove, deletes the MED
attribute.
add ip routemap=routemap entry=1..4294967295
set origin={igp|egp|incomplete}
Replaces the existing origin
attribute, or sets it if it was not
already set.
add ip routemap=routemap entry=1..4294967295
set bgpdampid=1..100
Sets the BGP route flap damping
ID that is given to matching routes
(see Damping routes on specific
peers in the BGP chapter of the
Software Reference).
Route map set clauses
for BGP