Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
Route-map Configuration Mode Commands
▀ set as-path
▄ Cisco ASR 5x00 Command Line Interface Reference
7866
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.
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