DGS-6604
m
route-map
CLI Reference Guide
530
route-map
Use route-map to add the policy routing entry. Use the no form of the command
to remove a policy routing entry.
route-map
MAP-NAME
{permit | deny}
SEQUENCE-NUM
no route-map
MAP-NAME
[permit
SEQUENCE-NUM
| deny
SEQUENCE-NUM
]
Default
permit
Command Mode
Global configuration
Usage Guideline
Use the route-map command to enter route-map configuration mode.
The route map can be used in route redistribution, route filtering, and policy route
application.
A route map could be defined by multiple route map statements. These route
map statements share the same map name. The statement with a lower
sequence number has higher priority. Within the same route map, multiple match
statements and multiple set statements can be defined. To meet a specific route
map statement, all of the match statements must be met. When a route map
statement is met, all of the set statements defined in this route map statement will
be performed. Subsequent route map statements for the same route map will not
be searched.
If the no route-map MAP-TAG command is specified (with no SEQUENCE-NUM
argument), the entire route map is deleted.
Syntax Description
MAP-NAME
A meaningful name for the route map. Multiple route maps may share the same
map tag name
permit
(Optional) If the match criteria is met for this route map, and the permit keyword
is specified, the route is redistributed as controlled by the set actions. In the case
of policy routing, the packet is policy routed.
If the match criteria is not met, and the permit keyword is specified, then the next
route map with the same map tag will be tested. If a route passes none of the
match criteria for the set of route maps sharing the same name, it will not be
redistributed by that set.
deny
(Optional) If the match criteria is met for the route map and the deny keyword is
specified, then the route will not be redistributed. In the case of policy routing, the
packet will not be policy routed, and no further route maps sharing the same map
tag name will be examined. If the packet is not policy routed, then the normal
forwarding algorithm will be used.
SEQUENCE-NUM
(Optional) A number that indicates the position a new route map will have in the
list of route maps already configured with the same name. When used with the
no form of this command, the position of the route map will be deleted.
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...