Configures, retrieves, and modifies BGP AS Path filter.
URI | Description |
---|---|
<base_URI>/config/running/ip/as-path | Configures BGP AS Path filter. |
GET URIs | Description |
---|---|
<base_URI>/config/running/ip/as-path | Retrieves BGP AS Path filter. |
<base_URI>/config/running/ip/as-path/access-list/{name},{seq-keyword},{instance} | Retrieves BGP AS Path Access List. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/ip/as-path | <access-list><name>{ip-as-path-name-t}</name><seq-keyword>{enumeration}</seq-keyword><instance>{instance-id-t}</instance><ip-action>{action-t}</ip-action><ip-reg-expr>{ip-as-path-reg-expr-t}</ip-reg-expr></access-list> | Configures BGP AS Path Access List. |
PATCH URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/ip/as-path/access-list/{name},{seq-keyword},{instance} | <access-list><ip-action>{action-t}</ip-action><ip-reg-expr>{ip-as-path-reg-expr-t}</ip-reg-expr></access-list> | Configures BGP AS Path Access List. |
DELETE URIs |
---|
<base_URI>/config/running/ip/as-path/access-list/{name},{seq-keyword},{instance} |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/ip/as-path
None
<as-path xmlns="urn:brocade.com:mgmt:brocade-ip-policy" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/ip/as-path"> </as-path>
The following example uses the POST option to configure BGP AS Path filter.
http://host:80/rest/config/running/config/running/ip/as-path
<access-list><name>{ip-as-path-name-t}</name><seq-keyword>{key}</seq-keyword><instance>{instance-id-t} </instance><ip-action>{action-t}</ip-action><ip-reg-expr>{ip-as-path-reg-expr-t}</ip-reg-expr></access-list>
None
The following example uses the DELETE option to remove BGP AS Path filter.
http://host:80/rest/config/running/ip/as-path/access-list/aclt/key/1}
None
None