Command Reference Guide Route Map Command Set
61200510L1-35E Copyright © 2005 ADTRAN 1359

set as-path prepend [<number> | last-as <number>]

Use the set as-path prepend command to prepend a number to the AS path to influence the best-path
selection process by making the AS path appear further away. Use the no form of this command to disable
this feature.
Syntax Description
as-path prepend <number> Specifies a number to be prepen ded to the AS path value as an
autonomous number. (Valid range: 1 to 65,535.)
as-path prepend last-as <number> Specifies a number to be prepended to the last AS path number.
(Valid range: 1 to 10.)
Default Values
No default value necessary for this command.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 Series and
Total Access 900 Series units.
Command History
Release 10.1 Command was introdu ced.
Usage Examples
The following example prepends the number 2 to the last AS path number:
(config)#route-map MyMap permit 100
(config-route-map)#set as-path prepend last-as 2