Reference Guide
set as-path
To modify the AS path for border gateway protocol (BGP) routes, configure a filter.
S4820T
Syntax
set as-path prepend as-number [... as-number]
To remove an AS-Path setting, use the no set as-path {prepend as-number |
tag} command.
Parameters
prepend
as-
number
Enter the keyword prepend and then enter up to eight AS numbers
to be inserted into the BGP path information. The range is from 1 to
65535.
Defaults Not configured.
Command Modes ROUTE-MAP
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
Usage
Information
You can prepend up to eight AS numbers to a BGP route.
This command influences best path selection in BGP by inserting a tag or AS number into the
AS_PATH attribute.
Related
Commands
match as-path — redistributes routes that match an AS-PATH attribute.
ip as-path access-list — configures an AS-PATH access list.
neighbor filter-list — configures a BGP filter based on the AS-PATH attribute.
show ip community-lists — displays configured IP Community access lists.
249










