Alcatel-Lucent 6850 Switch User Manual


 
Configuring IS-IS Configuring IS-IS
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007 page 3-25
Refer to the “IP Commands” chapter in the OmniSwitch CLI Reference Guide for more information about
the ip route-map command parameters and usage guidelines.
Once a route map is created, it is then applied using the ip redist command. See “Configuring Route Map
Redistribution” on page 3-28 for more information.
Creating a Route Map
When a route map is created, it is given a name (up to 20 characters), a sequence number, and an action
(permit or deny). Specifying a sequence number is optional. If a value is not configured, then the number
50 is used by default.
To create a route map, use the ip route-map command with the action parameter. For example,
-> ip route-map rip-to-isis sequence-number 10 action permit
The above command creates the rip-to-isis route map, assigns a sequence number of 10 to the route map,
and specifies a permit action.
To optionally filter routes before redistribution, use the ip route-map command with a match parameter
to configure match criteria for incoming routes. For example,
-> ip route-map rip-to-isis sequence-number 10 match metric 8
The above command configures a match statement for the rip-to-isis route map to filter routes based on
their metric value. When this route map is applied, only RIP routes with a metric value of eight are redis-
tributed into the IS-IS network. All other routes with a different metric value are dropped.
Note. Configuring match statement is not required. However, if a route map does not contain any match
statement and the route map is applied using the ip redist command, the router redistributes all routes into
the network of the receiving protocol.
To modify route information before it is redistributed, use the ip route-map command with a set parame-
ter. For example,
-> ip route-map rip-to-isis sequence-number 10 set metric 5
The above command configures a set statement for the rip-to-isis route map that changes the metric value
to five. Because this statement is part of the rip-to-isis route map, it is only applied to routes that have an
existing metric value equal to eight.
The following is a summary of the commands used in the above examples:
-> ip route-map rip-to-isis sequence-number 10 action permit
-> ip route-map rip-to-isis sequence-number 10 match metric 8
-> ip route-map rip-to-isis sequence-number 10 set metric 5
To verify a route map configuration, use the show ip route-map command:
-> show ip route-map
Route Maps: configured: 1 max: 200
Route Map: rip-to-isis Sequence Number: 10 Action permit
match metric 8
set metric 5