
MPLS Module Installation and User Guide
8-11
Configuring Route Maps
Creating a Route Map
To create a route map, use the following command:
create route-map <route-map>
Adding Entries to the Route Map
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.
Adding Statements to the Route Map Entries
To add statements to the route map entries, use one of the following four 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]]
config route-map <route_map> <sequence number> add set [as-path <as_num> |
community [remove | {add | delete} [access-profile <access_profile> |
<as_num:number> | number <number> | next-hop <ipaddress> | med <number> |
local-preference <number> | origin [igp | egp | incomplete]]
config route-map <route-map> <sequence number> add goto <route-map>
config route-map <route-map> <sequence number> [add | delete] set
accounting-index 1 value <bin_number>
Содержание BlackDiamond 6800 MPLS
Страница 14: ...xiv MPLS Module Installation and User Guide ...
Страница 24: ...1 10 MPLS Module Installation and User Guide Overview ...
Страница 40: ...2 16 MPLS Module Installation and User Guide Installing or Replacing an MPLS Module ...
Страница 104: ...5 30 MPLS Module Installation and User Guide Configuring RSVP TE ...
Страница 134: ...7 24 MPLS Module Installation and User Guide Configuring MPLS Layer 2 VPNs ...
Страница 154: ...8 20 MPLS Module Installation and User Guide Configuring Destination Sensitive Accounting ...
Страница 166: ...9 12 MPLS Module Installation and User Guide Additional MPLS Module Support Topics ...
Страница 174: ...vi Index MPLS Module Installation and User Guide ...