28 route-map commands, 1 route-map – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 553

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 553 of 855

28 Route-map Commands

28.1 route-map

To define the conditions for redistributing routes from one routing protocol into another, or
to enable policy routing in bgp, use the route-map command in global configuration
mode and the match and set command in route-map configuration modes. To delete an
entry, use the no form of this command.

28.1.1.1 Command Syntax

route-map map-tag [permit | deny] [sequence-number]
no route-map
map-tag [permit | deny] [sequence-number]

28.1.1.2 Syntax Description

map-tag

A meaningful name for the route map. The redistribute
router configuration command uses this name to
reference this route map. Multiple route maps may share
the same map tag name. The length of route-map name
should not greater than 20 and t

he first character should

be 'a'-'z', 'A'-'Z' or '0'-'9'.

permit

(Optional) If the match criteria are met for this route map,
and the permit keyword is specified, the route is
redistributed as controlled by the set actions.
If the match criteria are not met, and the permit keyword
is specified, the next route map with the same map tag is
tested. If a route passes none of the match criteria for the
set of route maps sharing the same name, it is not
redistributed by that set.

deny

(Optional) If the match criteria are met for the route map
and the deny keyword is specified, the route is not
redistributed.

sequence-number

(Optional) Number that indicates the position a new route
map will have in the list of route maps already configured
with the same name. If given with the no form of this
command, the position of the route map should be
deleted.

28.1.1.3 Command Mode

Global configuration

Advertising