Name
route-map — global
Synopsis
route-maptag-name
[permit | deny] [sequence-number] no route-maptag-name
[permit | deny] [sequence-number]
Configures
A route map for route redistribution or policy routing
Default
None
Description
A route map is a very flexible mechanism for specifying what to do
with routes. A route map lets you match certain routes and set
various parameters of the matching routes. The
route-map
command merely defines the list; the
match
command specifies which routes the map
should match (something like an access list); and a number of
set
commands specify what to do with the matching
routes.
A route map is identified by a name
(tag-name
); any number of
route-map
commands can share the same name.
route-map
commands with the same name are
processed in the order given by the
sequence-number
. Although most route
processing is specified by the set
commands
associated with the map, the permit
and
deny
keywords can be used to specify some very
simple processing. permit
is the default; it means
that normal route processing (as specified by the
set
commands) takes place for all routes that
match the map. Processing continues with other route maps that share
the same sequence number. The deny
keyword
specifies that if a match occurs, the route is not distributed and no
further processing of other route maps takes place.
To delete a route map, use the no
form of the
command. Note that if you omit the
sequence-number
, this command deletes all
maps matching the given tag-name
.
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.