DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
401
Format
create mac_based_access_control_local mac <macaddr> {[vlan <vlan_name 32> | vlanid
<vlanid 1-4094>]}
Parameters
<macaddr>
- Specifies 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>
- Specifies 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>
- Specifies a VLAN ID between 1 and 4094.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To create a local database entry:
DGS-3710-12C: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-3710-12C:admin#
39-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>
- Specifies 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>
- Specifies 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>
- Specifies a VLAN ID between 1 and 4094.
clear_vlan
- Specifies to clear the specified VLAN.
Restrictions
Only Administrator and Operator-level users can issue this command.