DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
530
Example
To clear MAC-based Access Control clients’ authentication information for all ports:
DGS-3000-26TC:admin#clear mac_based_access_control auth_state ports all
Command: clear mac_based_access_control auth_state ports all
Success.
DGS-3000-26TC: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-3000-26TC: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-3000-26TC:admin#
create mac_based_access_control_local
49-11
Description
This command is 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.
Format
create mac_based_access_control_local mac <macaddr> {[vlan <vlan_name 32> | vlanid <
vlanid 1-4094>]}
Parameters
mac
- Specify the MAC address that can pass local authentication.
<macaddr>
- Enter the MAC address used here.
vlan
- (Optional) Specify the target VLAN by using the VLAN name. When this host is authorized,
it will be assigned to this VLAN.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
vlanid
- (Optional) Specify the target VLAN by using the VID. When this host is authorized, it will
be assigned to this VLAN if the target VLAN exists.
<vlanid 1-4094>
- Enter the VLAN ID here. This value must be between 1 and 4094.
If no vlanid or vlan parameter is specified, not specify the target VLAN for this host.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Summary of Contents for DGS-3000 series
Page 1: ......