Install guide

2-18 Release Note
Software Version 2.7.5
C613-10454-00 REV A
Matching on
route source
An entry that matches on routesource lets you select or discard routes
depending on the router ID of the router that they were learnt from.
To do this, first create a prefix list for the router IDs, by using the command:
add ip prefixlist=name entry=1..65535
[action={match|nomatch}] masklength=32 [prefix=ipadd]
See “Creating Prefix Lists” on page 2-8 for more information. Note that the
mask for a router ID must be 255.255.255.255, so the mask length must be 32.
Then use the prefix list in the match clause of a route map by using the
command:
add ip routemap=routemap entry=1..4294967295
[action={include|exclude}] match
routesource=prefixlist-name
Note that the action of the prefix list and of the route map entry are separate.
Table 2-4 shows the effect of each combination.
Matching on
route type
An entry that matches on routetype lets you select or discard particular types
of routes: intra-area, inter-area, External Type 1, External Type 2, or other
routes. To do this, use the command:
add ip routemap=routemap entry=1..4294967295
[action={include|exclude}] match
routetype={intra|inter|type1|type2|other}
See Routing with OSPF in the OSPF chapter of the Software Reference for more
information about these route types.
Matching on tag An entry that matches on tag lets you select or discard certain static routes for
importing into OSPF.
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