Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    set as-path prepend


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

    no set as-path prepend

    Release Information

    Command introduced before JunosE Release 7.1.0.


    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.


    • 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


    Route Map Configuration

    Published: 2014-08-18