D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
527
Parameters
<macaddr> - Specify the MAC address that access accepts by local mode.
vlan - (Optional) If the MAC address is authorized, the port will be assigned to this VLAN.
<vlan_name 32> - Specify a VLAN name up to 32 characters long.
vlanid - (Optional) If the MAC address is authorized, the port will be assigned to this VLAN ID.
<vlanid 1-4094> - Specify a VLAN ID between 1 and 4094.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a local database entry:
DGS-3420-28SC:admin#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-3420-28SC:admin#
52-11 config mac_based_access_control_local mac
Description
This command is used to modify a database entry.
Format
config mac_based_access_control_local mac <macaddr> [vlan <vlan_name 32> | vlanid
<vlanid 1-4094> | clear_vlan]
Parameters
<macaddr> - Specify the MAC address that access is accepted by local mode.
vlan
- If the MAC address is authorized, the port will be assigned to this VLAN.
<vlan_name 32> - Specify a VLAN name up to 32 characters long.
vlanid - If the MAC address is authorized, the port will be assigned to this VLAN ID.
<vlanid 1-4094> - Specify a VLAN ID between 1 and 4094.
clear_vlan - Specify to clear the specified VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a local database entry:
DGS-3420-28SC:admin#config mac_based_access_control_local mac 00-00-00-00-00-01
vlan default