API ReferenceNew CentralGuidesMRT APIConfiguration API
GithubAirheads Developer Community
API Reference

Update existing as-path-list with name {aspathListName}

AS Path List definition with a unique name identifier. Each list contains a sequence of entries with permit or deny actions and regular expression patterns to match Autonomous System paths in BGP route advertisements. AS Path Lists are used in route-maps to control route acceptance, rejection, or modification based on the path characteristics, enabling sophisticated BGP routing policies and AS-based traffic engineering

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 9999

Unique name identifier for the AS Path List. This name is referenced in route-maps and BGP routing policies to apply AS Path-based filtering. The name is used as a configuration key to identify specific AS Path filtering rules across the routing policy domain

Query Params
string

LOCAL - To update local objects. SHARED - To update shared objects. Default - Defaults to SHARED if not provided

string

Scope at which local object needs to be updated. Mandatory if object-type = LOCAL. Should not be provided for object-type = SHARED.

string

Device function for which the local object needs to be updated. Mandatory if object_type = LOCAL. Should not be provided for object_type = SHARED.

Body Params

as-path-listbody object

as-path-list-entry
array of objects
length ≤ 2147483647

AS Path List entries with permit or deny actions. Each entry specifies a regular expression pattern to match Autonomous System paths in BGP route advertisements. Entries are evaluated sequentially in ascending order by sequence number, allowing first-match policy enforcement for path-based route filtering and manipulation

as-path-list-entry
string
length between 1 and 32

Unique name identifier for the AS Path List. This name is referenced in route-maps and BGP routing policies to apply AS Path-based filtering. The name is used as a configuration key to identify specific AS Path filtering rules across the routing policy domain

string
length between 1 and 254

Optional description for the AS Path List. Provides documentation about the purpose, use case, and context for this AS Path List in BGP routing policies for operational clarity and maintenance

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json