Creates a user-defined ACL (UDA).
URI | Description |
---|---|
<base_URI>/config/running/uda | Creates a user-defined ACL. |
GET URIs | Description |
---|---|
<base_URI>/config/running/interface/Ethernet/name/uda/access-group/ | Applies rules in a user-defined ACL to traffic entering an interface. |
<base_URI>/config/running/uda/access-list | Creates a user-defined ACL. |
<base_URI>/config/running/running/uda-key/profile | Creates a user-defined ACL profile. |
<base_URI>/config/running/vlan/{vlan-num}/ip/igmp | Specifies the user-defined ACL offsets for a UDA profile. |
POST URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/uda/access-list | <uda-acl-name> | Creates a user-defined ACL (UDA). |
<base_URI>config/running/uda/access-list/extended/%name% | <extended><name>{acl-name}</name></extended> | Creates an extended ACL. Extended ACLs contain rules that permit or deny traffic according to source and destination addresses. |
<base_URI>config/running/interface/Ethernet/%name%/uda | <access-group> <uda-access-list> <uda-direction> <uda-acl-name> {enumeration} </uda-acl-name> | Creates an ACL name unique among all ACLs (Layer 2, Layer 3, and UDAs). |
<base_URI>config/running/interface/Port-channel/%name%/uda | <access-group> <uda-access-list> <uda-direction> <uda-acl-name> {enumeration} </uda-acl-name> | Creates an ACL name . |
<base_URI>config/running/uda-key | <uda-profile-name> | Creates the UDA key. |
DELETE URIs |
---|
<base_URI>/config/running/uda/access-list/extended/%name% |
<base_URI>config/running/uda/access-list/extended/%name%/seq/%seq-id% |
<base_URI>/interface/Ethernet/%name%/uda |
<base_URI>/uda/access-group/%uda-access-list%/%uda-direction% |
<base_URI>/config/running/interface/Port-channel/%name%/uda |
<base_URI>/interface/Port-channel/%name%/uda/access-group/%uda-access-list%/%uda-direction% |
<base_URI>/config/running/uda-key/profile/%name% |
<base_URI>/config/running/interface/Ethernet/%name%/uda-profile-apply |
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/running/uda-key/profile
None
None
The following is an example of the POST operation.
http://host:80/rest/config/running/uda/access-list
None
None
The following is an example of the DELETE operation.
http://host:80/rest/config/running/interface/Ethernet/%name%/uda-profile-apply
None
None