39. MAC-based Access Control Commands
349
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
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a local database entry:
<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.
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#
Summary of Contents for ZEQUO 2200
Page 3: ...3 ...
Page 86: ...7 ARP Commands 86 ...
Page 93: ...9 Auto Configuration Commands 93 ...
Page 273: ...30 IPv6 NDP Commands 273 ...
Page 330: ...36 LLDP Commands 330 ...
Page 361: ...39 MAC based Access Control Commands 361 ...
Page 461: ...49 Protocol VLAN Commands 461 ...
Page 483: ...50 QoS Commands 483 ...
Page 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Page 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Page 562: ...57 Subnet VLAN Commands 562 ...