Using Route Maps - Alcatel-Lucent OmniSwitch 9900 Series Network Configuration Manual

Omniswitch aos release 8
Table of Contents

Advertisement

Configuring IP

Using Route Maps

A route map specifies the criteria that are used to control redistribution of routes between protocols. Such
criteria is defined by configuring route map statements. There are three different types of statements:
Action. An action statement configures the route map name, sequence number, and whether
redistribution is permitted or denied based on route map criteria.
Match. A match statement specifies criteria that a route must match. When a match occurs, then the
action statement is applied to the route.
Set. A set statement is used to modify route information before the route is redistributed into the
receiving protocol. This statement is only applied if all the criteria of the route map is met and the
action permits redistribution.
The ip route-map command is used to configure route map statements and provides the following action,
match, and set parameters:
ip route-map action ...
permit
deny
Refer to the "IP Commands" chapter in the OmniSwitch AOS Release 8 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
Redistribution" on page 15-24
Route Maps are also used for VRF route leaking and RIP route filtering. See
page 15-40
section for more information.
Creating a Route Map
When a route map is created, a name (up to 20 characters), a sequence number, and an action (permit or
deny) is specified. 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-bgp sequence-number 10 action permit
The above command creates the ospf-to-bgp 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-bgp sequence-number 10 match tag 8
OmniSwitch AOS Release 8 Network Configuration Guide
ip route-map match ...
ip-address
ip-nexthop
ipv6-address
ipv6-nexthop
tag
ipv4-interface
ipv6-interface
metric
route-type
for more information.
December 2017
ip route-map set ...
metric
metric-type
tag
community
local-preference
level
ip-nexthop
ipv6-nexthop
ip redist
command. See
"Configuring Route Map
"VRF Route Leak" on
IP Configuration
page 15-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents