![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg16d.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
361
config mac_based_access_control_local mac
Purpose Used to configure the local database entry.
Syntax
config mac_based_access_control_local mac <macaddr> [vlan <vlan_name 32>|
vlanid <vlanid 1–4094>]
Description This command is used to modify a database entry.
Parameters mac – The MAC address that access accept by local mode
vlan – If the MAC address is authorized, the port will be assigned to this VLAN.
vlanid – If the MAC address is authorized, the port will be assigned to this VLAN.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a local database entry:
DGS–3426:5#config mac_based_access_control_local mac 00–00–00–00–00–01 vlan
default
Command: config mac_based_access_control_local mac 00–00–00–00–00–01 vlan
default
Success.
DGS–3426:5#
delete mac_based_access_control_local
Purpose Used to delete the local database entry.
Syntax
delete mac_based_access_control_local [mac <macaddr> | [vlan <vlan_name
32>|vlanid <vlanid 1–4094>]]
Description This command is used to delete a database entry.
Parameters mac – Deletes the database by this MAC address.
vlan – Deletes the database by this VLAN name.
vlanid – Deletes the database by this VLAN ID.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the local database entry by MAC address:
DGS–3426:5#delete mac_based_access_control_local mac 00–00–00–00–00–01
Command: delete mac_based_access_control_local mac 00–00–00–00–00–01
Success.
DGS–3426:5#
To delete the local database entry by VLAN name:
DGS–3426:5#delete mac_based_access_control_local vlan default
Command: delete mac_based_access_control_local vlan default
Success.
DGS–3426:5#