![D-Link xStack DGS-3612G series Cli Manual Download Page 464](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854464.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
461
create mac_based_access_control_local mac
Purpose
Used to create the local database entry.
Syntax
create mac_based_access_control_local mac <macaddr> [vlan
<vlan_name 32>| vlanid <vlanid 1-4094>]
Description The
create mac_based_access_control_local mac
command is used
to create a database entry.
Parameters
<macaddr>
−
The MAC address that accepts access by local mode.
vlan
−
If the vlan is authorized failure, the port will be assigbed to this
vlan.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create MAC-based access control local:
DGS-3627: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-3627:5#
config mac_based_access_control_local mac
Purpose
Used to config the local database entry.
Syntax
config mac_based_access_control_local mac <macaddr> [ vlan
<vlan_name 32> | vlanid <vlanid 1-4094> ]
Description The
config mac_based_access_control_local
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 assigbed to this
VLAN.
vlanid
– If the MAC address is authorized, the port will be assigbed to this
VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage
To config MAC-based access control local by VLAN ID:
DGS-3627:5# config mac_based_access_control_local mac 00-00-00-00-
00-01 vlanid 200
Command: config mac_based_access_control_local mac 00-00-00-00-00-01
vlanid 200
Success.
DGS-3627:5#