Country/Region

- United States
- ASEAN Region
- Australia
- 中国 - China
- France
- Deutschland - Germany
- India
- Italia - Italy
- 日本 - Japan
- 대한민국 - Korea
- Россия - Russia
- España - Spain
- 台灣 - Taiwan
- United Kingdom

Contact Us
|
Country/Region
United States

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Report Documentation Bug
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Feedback

## Documentation Search

Advanced Search | Search Tips

# set as-path prepend

#### Syntax

set as-path prepend { list listName | asPathNumber [ asPathNumber ]* }

no set as-path prepend

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Prepends one or more AS numbers or a list of AS numbers to the AS path for BGP routes. The no version removes the set clause from a route map.

#### Options

- listName—Name of a list of AS path numbers; string of up to 32 characters
- asPathNumber—Number, in the range 1–65535, that appends the string following the keyword prepend to the AS path of the route that is matched by the route map. Applies to outbound BGP route maps.
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Route Map Configuration

#### Published: 2010-10-19

Help
|
My Account
|
Log Out