Administrator Guide

Layer 3 Routing Commands 1573
Default Configuration
No route maps are configured by default. If no permit or deny tag is specified,
permit is the default.
Command Mode
Global Configuration mode
User Guidelines
Apply an ACL rule on the VLAN interface to perform policy based routing
based on the VLAN ID as a matching criteria for incoming packets. Packets
matching a deny rule or a deny route-map are routed using the routing table.
There is no implicit deny all at the end of a route map. Packets not matching
any clause are routed using the routing table.
Route maps with no set clause are ignored. One use of a route map is to limit
the redistribution of routes to a specified range of route prefixes. The
redistribution command specifies a route map which refers to a prefix list.
The prefix list identifies the prefixes that may be redistributed.
Route maps are ordered from lowest to greatest sequence number, with lower
sequence numbers being considered first. If no sequence number is specified,
the system assigns a value ten greater than the last statement in the route
map. The range is 0 to 65,535.
One use of a route map is to limit the redistribution of routes to a specified
range of route prefixes. The redistribution command specifies a route map
which refers to a prefix list. The prefix list identifies the prefixes that may be
redistributed.
Examples
The following example creates (or edits) the route map
equal-access
as the
first route map in the system for allowing matching packets into the system.
Route-map mode is also entered.
console(config)#route-map equal-access permit 0
In the following example, BGP is configured to redistribute all prefixes within
172.20.0.0 and reject all others.
console(config)# ip prefix-list redist-pl permit 172.20.0.0/16 le 32
console(config)# route-map redist-rm permit
2CSNXXX_SWUM204.book Page 1573 Monday, January 25, 2016 1:25 PM