ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1900
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.
For a permit route-map, if it does not have a match clause, any
routing message is matched, and therefore all routes are permitted.
For a permit route-map which includes a match clause for an
access-list, if the access-list does not exist, no routing messages
are matched, and therefore all routes are skipped.
EXAMPLE
Console(config)#route-map r1 permit 1
Console(config-route-map)#match as-path 60
Console(config-route-map)#set weight 30
Console(config-route-map)#
call This command jumps to another route map after match and set commands
are executed. Use the no form to remove an entry from a route map.
SYNTAX
call map-name
no call
map-name – Name for the route map. (Range: 1-128 case-sensitive
alphanumeric characters)
COMMAND MODE
Route Map
COMMAND USAGE
Only one call clause is permitted per route map. The call clause executed
only after all match and set commands are executed.