What is a Route Map?
© Copyright Lenovo 2015
A route map is used to control and modify routing information. Route maps define
conditions for redistributing routes from one routing protocol to another or
controlling routing information when injecting it in and out of BGP. For example, a
route map is used to set a preference value for a specific route from a peer router
and another preference value for all other routes learned via the same peer router.
For example, the following commands are used to define a route map:
CN4093(config)# routemap <map number>
CN4093(configroutemap)# ?
A route map allows you to match attributes, such as metric, network address, and
AS number. It also allows users to overwrite the local preference metric and to
append the AS number in the AS route. See "BGP Failover Configuration" on
page
417.
Lenovo N/OS allows you to configure 32 route maps. Each route map can have up
to eight access lists. Each access list consists of a network filter. A network filter
defines an IPv4 address and subnet mask of the network that you want to include
in the filter. Figure
43 illustrates the relationship between route maps, access lists
and network filters.
Figure 43. Distributing Network Filters in Access Lists and Route Maps
Route Maps
(rmap)
Access Lists
Route Map 1
Route Map 2
-----
-----
-----
-----
-----
-----
-----
Route Map 32
(Select a route map)
(List available commands)
Network Filter
(nwf)
(alist)
1
1
---
---
---
8
8
1
9
---
---
---
8
16
1
249
---
---
---
8
256
Chapter 30: Border Gateway Protocol
411