![D-Link DGS-3700 Series Reference Manual Download Page 447](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575447.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 447
Example usage:
To create a MAC-based access control local entry:
DGS-3700-12:5#create mac_based_access_control_local mac 00-00-00-00-00-01 vlan default
Command: create mac_based_access_control_local mac 00-00-00-00-00-01 vlan default
Success.
DGS-3700-12:5#
config mac_based_access_control_local
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> | clear_vlan]
Description
This command is used to modify a database entry.
Parameters
mac
−
The MAC address that accepts access by local mode.
vlan
−
If the MAC address is authorized, the port will be assigned to this VLAN.
vlanid <vlanid 1-4094>
−
the vlan id of specified VLAN,the range of the VLAN ID is
from 1 to 4094. If the MAC address is authorized, the port will be assigbed to this
VLAN.
clear_vlan
– Specifies that the VLAN list will be cleared.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the MAC-based access control local entry:
DGS-3700-12: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-3700-12: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
– Delete the database entry by this MAC address.
vlan
– Delete the database entry by this VLAN name.
vlanid <vlanid 1-4094>
−
Delete the database entry by this VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete MAC-based access control local by MAC address: