Attaching an IPv4 ACL to an Interface in the Egress Direction
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/acl/ipv6/policy/egress.json
{ "aclEgress": { "children": [ { "aclIf": { "attributes": { "name": "eth1/2" }, "children": [ { "aclInst": { "attributes": { "name": "bar" }}}]}}]}}
Response
{ imdata": [] }
Copy
<System> <acl-items> <ipv4-items> <policy-items> <egress-items> <intf-items> <If-list> <name>eth1/2</name> <acl-items> <name>bar</name> </acl-items> </If-list> </intf-items> </egress-items> </policy-items> </ipv4-items> </acl-items> </System>