![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg16c.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
360
clear mac_based_access_control auth_state
Purpose
Used to reset the current state of a user. The re–authentication will be started after the
user traffic is received again.
Syntax
clear mac_based_access_control auth_state [ports [all | portlist] | mac_addr
<macaddr>]
Description This command is used to clear the authentication state of a user (or port). The port (or the
user) will return to un–authenticated state. All the timer associated with the port (or the
user) will be reset.
Parameters ports – To specify the port range to delete MAC on them
<macaddr> – To delete a specified host with this MAC
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the MAC authentication state on MAC-enabled ports:
DGS-3426:5#clear mac_based_access_control auth_state ports all
Command: clear mac_based_access_control auth_state ports all
Success.
DGS-3426:5#
create mac_based_access_control_local mac
Purpose Used to create the local database entry for MAC-based access control.
Syntax
create mac_based_access_control_local mac <macaddr> [vlan <vlan_name 32>|
vlanid <vlanid 1–4094>]
Description This command is used to create a database entry.
Parameters mac – The MAC address that access accept 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 and Operator-level users can issue this command.
Example usage:
To create a local database entry:
DGS–3426:5# 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–3426:5#