ip as-path

Configure an AS-path list for BGP

as-path Specification

Type Collection
Object Key(s) access-list, action, value
Collection Name as-path-list
Collection URI /axapi/v3/ip/as-path/
Element Name as-path
Element URI /axapi/v3/ip/as-path/{access-list}+{action}+{value}
Element Attributes as-path_attributes
Schema as-path schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/ip/as-path/

as-path Attributes

Create List

POST

/axapi/v3/ip/as-path/

as-path Attributes

Get Object

GET

/axapi/v3/ip/as-path/{access-list}+{action}+{value}

as-path Attributes

Get List

GET

/axapi/v3/ip/as-path/

as-path-list

Modify Object

POST

/axapi/v3/ip/as-path/{access-list}+{action}+{value}

as-path Attributes

Replace Object

PUT

/axapi/v3/ip/as-path/{access-list}+{action}+{value}

as-path Attributes

Replace List

PUT

/axapi/v3/ip/as-path/

as-path-list

Delete Object

DELETE

/axapi/v3/ip/as-path/{access-list}+{action}+{value}

as-path Attributes

as-path-list

as-path-list is JSON List of as-path Attributes

as-path-list : [

as-path Attributes

access-list

Description: Specify an access list name (Regular expression access-list name)

Type: string

Required: Yes

action

Description: ‘deny’: Specify packets to reject; ‘permit’: Specify packets to forward;

Type: string

Supported Values: deny, permit

Required: Yes

uuid

Description: uuid of the object

Type: string

value

Description: A regular-expression to match the BGP AS paths

Type: string

Format: string-rlx

Required: Yes