D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
403
clear mac_based_access_control auth_mac
port) . The port (or the user) will return to un-authenticated state. All the
timers associated with the port (or the user) will be reset.
Parameters
ports – To specify the port range to delete MACs on them.
<macaddr> To delete a specified host with this MAC.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To clear the MAC being processed by MAC-based access control:
DES-3200-28:4#clear mac_based_access_control auth_mac ports all
Command: clear mac_based_access_control auth_mac ports all
Success.
DES-3200-28:4#
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
This command is used to create the local database entry.
Parameters
mac – The MAC address that access accepts by local mode.
vlan – If the MAC address is authorized, the port will be assigned to
this VLAN.
vlanid – If the MAC address is authorized, the port will be assigned to
this VLAN.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To create a MAC-based access control local entry:
DES-3200-28:4#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.
DES-3200-28:4#
config mac_based_access_control_local mac
Purpose
Used to configure a MAC-based access control local database entry.
Syntax
config mac_based_access_control_local mac <macaddr> [vlan <vlan_name 32> |
vlanid <vlanid 1-4094> | clear_vlan ]
Description
This command is used to configure a MAC-based access control local database entry
previously created using the create mac_based_access_control_local command.
Parameters
mac - Specify the authenticated host’s MAC address.
vlan - Specify the target VLAN by VLAN name. When this host is authorized, the host is
assigned to this VLAN.