Configures, modifies, or retrieves the Internet Protocol (IP) access list configuration.
URI | Description |
---|---|
/restconf/data/brocade-ip-access-list:ip-acl | The Internet Protocol configuration. |
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard | Standard IP ACL configuration. |
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/extended | Extended IP ACL configuration. |
POST URIs | Payload | Description |
---|---|---|
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list | <standard><name>{acl-name}</name></standard> | Configures a standard ACL. |
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list | <extended><name>{acl-name}</name></extended> | Configures an extended ACL. |
DELETE URIs |
---|
/restconf/data/brocade-ip-access-list:ip-acl |
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name% |
/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/extended=%name% |
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface |
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction% |
/restconf/data/brocade-interface:interface/ethernet=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction%/traffic-type |
/restconf/data/brocade-interface:interface/port-channel=%name%/brocade-ip-access-list:ip-acl-interface |
/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ip-access-list:ip-acl-interface |
/restconf/data/brocade-common-def:routing-system/brocade-interface:interface/ve=%name%/brocade-ip-access-list:ip-acl-interface/ip/access-group=%ip-access-list%,%ip-direction% |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the access list configurations.
http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%
None
<ip-acl xmlns="urn:brocade.com:mgmt:brocade-ip-access-list"> <ip> <access-list> <standard> <name>%req_val%</name> </standard> </access-list> </ip> </ip-acl>
The following example uses the POST option to configure a standard access list.
http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%
<standard > <name>std10</name> </standard>
None
The following example uses the DELETE option to remove a standard access list.
http://host:443/restconf/data/brocade-ip-access-list:ip-acl/ip/access-list/standard=%name%
None
None