User guide
16-30 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
A
CCESS
P
OLICIES
To create a route map, do the following:
1 Create a route map.
2 Add entries to the route map.
3 Add statements to the route map entries.
C
REATING
A
R
OUTE
M
AP
To create a route map, use the following command:
create route-map <route-map>
A
DD
E
NTRIES
TO
THE
R
OUTE
M
AP
To add entries to the route map, use the following command:
config route-map <route-map> add <sequence number> [permit | deny]
{match-one | match-all}
where the following is true:
• The
sequence number
uniquely identifies the entry, and determines the position of
the entry in the route map. Route maps are evaluated sequentially.
• The
permit
keyword permits the route; the
deny
keyword denies the route and is
applied only if the entry is successful.
• The
match-one
keyword is a logical “or”. The route map is successful as long as at
least one of the matching statements is true.
• The
match-all
keyword is a logical “and”. The route map is successful when all
match statements are true. This is the default setting.
A
DD
S
TATEMENTS
TO
THE
R
OUTE
M
AP
E
NTRIES
To add statements to the route map entries, use one of the following three commands:
config route-map <route-map> <sequence number> add match [nlri-list
<access_profile> | as-path [<access_profile> | <as no>] | community
[access-profile <access_profile> | <as_num:number> | number <community>]
| next-hop <ipaddress> | med <number> | origin [igp | egp |
incomplete]]