39.10. create mac_based_access_control_local
mac
Description
This command is used to create a database entry.
Format
create mac_based_access_control_local mac <macaddr> {[vlan <vlan_name 32> |
vlanid <vlanid 1-4094>]}
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:
Zxxx0: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.
Zxxx0:admin#
39. MAC-based Access Control Commands
349