Chapter 50
| IP Routing Commands
Policy-based Routing for BGP
– 1138 –
â–
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.
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 FD
Console(config-route-map)#
continue This command goes to a route-map entry with a higher sequence number after a
successful match occurs. Use the no form to remove this entry from a route map.
Syntax
continue [sequence-number]
no continue
sequence-number – Sequence number at which to continue processing.
(Range: 1-65535)