D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
445
Example usage:
To delete the MAC-based Access Control guest VLAN called default:
DGS-3627:admin# delete mac_based_access_control guest_vlan default
Command: delete mac_based_access_control guest_vlan default
Success.
DGS-3627:admin#
clear mac_based_access_control auth_state
Purpose Used to clear the clients’ authentication information by specific port(s) or MAC address.
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 an 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 MAC addresses on them.
<macaddr> - To delete a specified host with this MAC address.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To clear MAC-based Access Control clients’ authentication information for all ports:
DGS-3627:admin# clear mac_based_access_control auth_state ports all
Command: clear mac_based_access_control auth_state ports all
Success.
DGS-3627:admin#
To delete the MAC-based Access Control authentication information for the host that has a MAC address of 00-00-00-47-
04-65:
DGS-3627:admin# clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65
Command: clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65
Success.
DGS-3627:admin#
create mac_based_access_control_local
Purpose Used to create a MAC-based Access Control local database entry that will be used for
authentication. This command can also specify the VLAN that an authorized host will be
assigned to.
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. The user also has the option of specifying
a target VLAN for this entry.