Configure Policy Route_Map - Alcatel Router User Manual

Table of Contents

Advertisement

Chapter : Policy Commands

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
definition
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:
-
/configure> policy route_map Block100 1 permit
Alcatel
host
23
Router User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents