xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Manual
42
1
clear mac_based_access_control auth_mac
Used to reset
the current state of a user. The re-authentication will be
started after the user traffic is received again.
Purpose
clea
r mac_based_access_control auth_mac [ports [all | <portlist>] |
mac_addr <macaddr>]
Syntax
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
timers associated with the port (or the user) will be reset.
Description
ports – T
o specify the port range to delete MACs on them.
Parameters
<macaddr> – To delete a specified host with this MAC.
Only Administrator-level users
can issue this command.
Restrictions
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
Used to creat
e the local database entry.
Purpose
cre
ate mac_based_access_control_local mac <macaddr> {[vlan
<vlan_name 32> | vlanid <vlanid 1-4094>]}
Syntax
This
command is used to create the local database entry.
Description
mac – Th
e MAC address that access accepts by local mode.
Parameters
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.
Only Administrator-level users
can issue this command.
Restrictions
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#