vlan/{vlan-name}/mac

Configures MAC access group.

Resource URIs

URI Description
http://host:80/rest/config/running/vlan/{vlan-name}/mac Configures MAC access group.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

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>

URI

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

URI

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