Configures MAC access group.
URI | Description |
---|---|
http://host:80/rest/config/running/vlan/{vlan-name}/mac | Configures MAC access group. |
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/vlan/445/mac
None
<access-group xmlns="urn:brocade.com:mgmt:brocade-mac-access-list" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/vlan/445/mac/access-group/mac_1%2Cin"> <mac-access-list>mac_1</mac-access-list> <mac-direction>in</mac-direction> </access-group>
The following example uses the POST option to configure MAC access-group.
http://host:80/rest/config/running/mac
<access-group> <mac-access-list>mac_1</mac-access-list> <mac-direction>out</mac-direction> </access-group>
None
The following example uses the DELETE a MAC access-group.
http://host:80/rest/config/running/vlan/345/mac/access-group/mac-1/out
None
None