Chapter 50
  |  IP Routing Commands
Policy-based Routing for BGP
–  1137  –
route-map This command enters route-map configuration mode, allowing route maps to be 
created or modified. Use the no form to remove a route map.
Syntax 
[no] route-map map-name {deny | permit} sequence-number
map-name – Name for the route map. (Range: 1-128 case-sensitive 
alphanumeric characters)
deny – Route-map denies set operations.
permit – Route-map permits set operations.
sequence-number – Sequence to insert to or delete from existing route-map 
entry. (Range: 1-65535)
Command Mode 
Global Configuration
Default Setting 
Disabled
Command Usage 
◆ This command enters the route map configuration mode. In this mode, a new 
route map can be created, or an existing route map modified.
◆ The match commands specify the conditions under which policy routing 
occurs, and the set commands specify the routing actions to perform if the 
criteria enforced by the match commands are met.
◆ If the match criteria are met for a route map, and the permit keyword specified, 
the packet is policy routed based on defined set commands.
◆ If the match criteria are not met, and the permit keyword specified, the next 
route map with the same map-name is tested. If a route passes none of the 
match criteria for the set of route maps sharing the same name, it is not policy 
routed by that set.
◆ If the match criteria are met for the route map and the deny keyword specified, 
the packet is not policy routed, and no further route maps sharing the same 
map-name are examined. If the packet is not policy routed, the normal 
forwarding process is used.
◆ Processing for exceptions include the following results:
■
For a deny route-map, if it does not have a match clause, any routing 
message is matched, and therefore all routes are denied.
■
For a deny route-map which includes a match clause for an access-list, if the 
access-list does not exist, no routing message will be matched, and 
therefore all routes are skipped.