C613-50170-01 Rev B
Command Reference for x510 Series
1181
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
ROUTE
-
MAP
route-map
Overview
Use this command to configure a route map entry, and to specify whether the
device will process or discard matching routes.
The device uses a name to identify the route map, and a sequence number to
identify each entry in the route map.
The
route-map
command puts you into route-map configuration mode. In this
mode, you can use the following:
•
one or more of the
match
commands to create match clauses. These specify
what routes match the entry.
•
one or more of the
set
commands to create set clauses. These change the
attributes of matching routes.
Use the
no
variant of this command to delete a route map or to delete an entry
from a route map.
Syntax
route-map
<mapname>
{deny|permit}
<seq
>
no route-map
<mapname
>
no route-map
<mapname>
{deny|permit}
<seq
>
Mode
Global Configuration
Usage
Route maps allow you to control and modify routing information by filtering
routes and setting route attributes. You can apply route maps when the device:
•
redistributes routes from one routing protocol into another
•
redistributes static routes into routing protocols
When a routing protocol passes a route through a route map, it checks the entries
in order of their sequence numbers, starting with the lowest numbered entry.
If it finds a match on a route map with an action of permit, then it applies any set
clauses and accepts the route. Having found a match, the route is not compared
against any further entries of the route map.
If it finds a match on a route map with an action of deny, it will discard the
matching route.
Parameter
Description
<mapname>
A name to identify the route map.
deny
The route map causes a routing process to discard matching routes.
permit
The route map causes a routing process to use matching routes.
<seq>
<
1-65535
> The sequence number of the entry. You can use this
parameter to control the order of entries in this route map.