Configures, modifies, or retrieves the Internet Protocol (IP) access group.
URI | Description |
---|---|
<base_URI>/config/running/interface/{interface-type}/{interface-name}/ip/access-group |
Configures IP access group. Valid interface types: Ethernet, Port-channel, Ve. |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
Note
IP access-list should be created before configuring interface/ip/access-group.The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/interface/ethernet/%221/1%22/ip/access-groupNone
<access-group xmlns="urn:brocade.com:mgmt:brocade-ip-access-list" y:self="/rest/config/running/interface/Ethernet/%221/1%22/ ip/access-group/acl%2Cin"> <ip-access-list>acl</ip-access-list> <ip-direction>in</ip-direction> </access-group>
The following is an example of the POST operation to add an access-group.
http://host:80/rest/config/running/interface/ethernet/%221/1%22/ip
<access-group> <ip-access-list>acl8</ip-access-list> <ip-direction>in</ip-direction> </access-group>
None
The following is an example of the DELETE operation to remove the access-group configuration.
http://host:80/rest/config/running/interface/ethernet/%221/1%22/ip/access-group
None
None