OmniSwitch os6900 Network Configuration Manual page 416

Table of Contents

Advertisement

Configuring Route Map Redistribution
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 ospf-to-rip sequence-number 10 action permit
The above command creates the ospf-to-rip 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 ospf-to-rip sequence-number 10 match tag 8
The above command configures a match statement for the ospf-to-rip route map to filter routes based on
their tag value. When this route map is applied, only OSPF routes with a tag value of eight are redistrib-
uted into the RIP network. All other routes with a different tag value are dropped.
Note. Configuring match statements is not required. However, if a route map does not contain any match
statements and the route map is applied using the
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 ospf-to-rip sequence-number 10 set tag 5
The above command configures a set statement for the ospf-to-rip route map that changes the route tag
value to five. Because this statement is part of the ospf-to-rip route map, it is only applied to routes that
have an existing tag value equal to eight.
The following is a summary of the commands used in the above examples:
-> ip route-map ospf-to-rip sequence-number 10 action permit
-> ip route-map ospf-to-rip sequence-number 10 match tag 8
-> ip route-map ospf-to-rip sequence-number 10 set tag 5
To verify a route map configuration, use the
-> show ip route-map
Route Maps: configured: 1 max: 200
Route Map: ospf-to-rip Sequence Number: 10 Action permit
match tag 8
set tag 5
page 17-22
ipv6 redist
command, the router redistributes all routes
show ip route-map
OmniSwitch AOS Release 7 Network Configuration Guide
command:
Configuring IPv6
June 2013

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents