Foundry AR-Series Router User Guide

configure policy route_map

This command configures the policy for router route maps.

Route maps are used for general-purpose matching of routes and setting of route attributes. Each route_map is comprised of one or more route_map clauses, of the form shown below.

route_map name number [ permit deny ]

match statements

set statements

A route_map clause is said to match if each of its match statements matches, according to the rules given below. A route_map is said to succeed if one of its permit clauses clauses matches, and fails if one of its deny clauses matches. Matching proceeds sequentially and stops at the first match. If the route_map succeeds, the actions specified by the set statements in the matched clause are performed.

If neither permit nor deny is specified, the default is permit.

Match statements can be:

match as_path

match community

match ip ip_address Set statements can be:

set as_path

set community

set local_preference

set metric

set origin

set distance

set metric_type

Parameter

Description

name

Route map name

number

A sequence to insert to or delete from exiting route map.

 

The range is 0 - 65535.

action

 

deny

Deny the route map.

 

This is the default value.

permit

Permit the route map.

 

 

syntax:

[ no ] policy route_map name number [ action < deny permit > ]

example:

Foundry-AR1208/configure#policy route_map Block100 1 permit

3 - 8

© 2004 Foundry Networks, Inc.

June 2004

Page 31
Image 31
Foundry Networks AR1204, AR3202-CL Configure policy routemap, Foundry-AR1208/configure#policy routemap Block100 1 permit