Cisco Cisco Packet Data Gateway (PDG)

Página de 8770
Route-map Configuration Mode Commands   
▀  set as-path 
 
 
▄  Command Line Interface Reference, StarOS Release 16 
8094 
   
set as-path 
Modifies an Autonomous System (AS) path for a route by adding the specified AS numbers to the front of the path. 
Product
 
HA 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Route-map Configuration 
configure > context context_name > route-map map_name { deny | permit }
 
seq_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-route-map)# 
Syntax
 
[ no ] set as-path prepend ASN 
no
 
Disables prepending the AS path. Any previously set prepends are removed. 
prepend
 
Prepends the AS path. 
ASN
 
AS number(s) to be prepended to the AS path. You can specify up to 16 different AS numbers to be 
prepended in the order specified. Each AS number must be separated by a space. 
ASN
 must be an integer from 
1 through 65535. 
Usage 
Use this command to add up to 16 specified AS numbers to the front of the AS path. 
Example
 
The following command prepends the AS numbers 
100
200
, and 
1000
 to matching AS paths: 
set as-path prepend 100 200 1000