Install guide
2-14 Release Note
Software Version 2.7.5
C613-10454-00 REV A
Note that the action of the prefix list and of the route map entry are separate.
Table 2-2 shows the effect of each combination.
In this context, the parameters match and nomatch in the prefix list do not
indicate whether the prefix is allowed or dropped; they simply indicate
whether the prefix matches or does not match the prefix list.
Matching on
tag
An entry that matches on tag lets you select or discard certain static routes for
importing into BGP. To do this, first tag the routes of interest with an
identification number, using one of the commands:
add ip route=ipadd interface=interface nexthop=ipadd
tag=1..65535 [other-options]
set ip route=ipadd interface=interface mask=mask
nexthop=ipadd tag=1..65535 [other-options]
To see which number a route is tagged with, use the command:
show ip route
Then use the tags in a route map by using the command:
add ip routemap=routemap entry=1..4294967295
[action={include|exclude}] match tag=1..65535
Table 2-2: The effect of actions in prefix list and route map entries
Prefix list entry Route map entry Action when route map applied
match include An update message that contains the prefix
matches the route map entry. The prefix is
processed.
match exclude An update message that contains the prefix
matches the route map entry. The prefix is removed
from the update message. Other prefixes in the
update are not removed.
nomatch include An update message that contains the prefix does
not match the route map entry. The router or
switch continues checking to see if the update
message matches other entries in the route map.
nomatch exclude An update message that contains the prefix does
not match the route map entry. The router or
switch continues checking to see if the update
message matches other entries in the route map.