Cuda 12000 IP Access Switch CLI-based Administration Guide
Creating Route Maps 225
Creating Route Maps
You can use route maps to control and modify routing information and to
define the conditions by which routes are redistributed .
When you run the route-map command within router: rip:import or export
mode, or router:ospf:export mode the following syntax applies:
route-map <map-tag> { permit | deny}
The map-tag is a number that identifies the route map. The permit keyword
configures the router to accept matching routes; the deny keyword
configures the router to reject matching routes.
When you run the route-map command within router-ospf import mode,
the following syntax applies:
route-map <map-tag>
All route maps must permit incoming OSPF routes; deny is not an option.
Once you issue the route-map command, you enter configuration mode
for the specified route-map. For example:
cli:172.16.19.10:root# router ospf export
mode: router:ospf:export
cli:172.16.19.10:router:ospf:export# route-map 80 permit
cli:172.16.19.10:router:ospf:export:route-map(80)#
While within this mode, you then use the follow ing commands:
match — Use this command to specify the routes to match.
override — Use this command to alter the attributes of redistributed
routes.