set as-path
To modify the AS path for border gateway protocol (BGP) routes, configure a filter.
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 Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.7(0.0) Introduced on the S6000–ON.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
8.1.1.0 Introduced on the E-Series ExaScale.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
pre-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.
Access Control Lists (ACL)
305