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 with the traffic-type set to routed to a VE interface.
http://host:80/rest/config/running/interface/ve/%22100/ip/access-group
<access-group xmlns="urn:brocade.com:mgmt:brocade-ip-access-list" y:self="/rest/config/running/interface/ve/%221100/ip/access-group/acl%2Cin> <ip-access-list>acl8</ip-access-list> <ip-direction>in</ip-direction> <traffic-type>routed</traffic-type> </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