Chapter 50
| IP Routing Commands
Policy-based Routing for BGP
– 1139 –
Command Mode
Route Map
Command Usage
If no match statements precede the call entry, the call is automatically executed. If
no sequence number is specified by the call entry, the next entry is executed.
Example
Console(config)#route-map RD permit 1
Console(config-route-map)#match as-path 60
Console(config-route-map)#set weight 30
Console(config-route-map)#continue 3
Console(config-route-map)#
description This command creates a description of an entry in the route map. Use the no form
to remove the description.
Syntax
description text
no description
text – Comment describing this route-map rule. (Maximum
length: 128 characters, no spaces or other special characters)
Command Mode
Route Map
Example
Console(config)#route-map RD permit 1
Console(config-route-map)#description AS-Path rule
Console(config-route-map)#match as-path 60
Console(config-route-map)#set weight 30
Console(config-route-map)#
match as-path This command sets a BGP autonomous system path access list to match. Use the no
form to remove this entry from a route map.
Syntax
[no] match as-path access-list-name
access-list-name – Name of the access list. (Maximum length: 16 characters,
no spaces or other special characters)
Command Mode
Route Map