beautypg.com

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

Page 489

background image

CanogaOS Command Reference

28-1

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.

Command Syntax

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

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.

Command Mode

Global configuration

Defaults

The permit keyword is the default.