D-Link DGS-1510/ME Series Reference Manual page 363

Table of Contents

Advertisement

DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
DGS-1510-28XMP/ME:admin# clear mac_based_access_control auth_state ports all
Command: clear mac_based_access_control auth_state ports all
Success.
DGS-1510-28XMP/ME: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-1510-28XMP/ME: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-1510-28XMP/ME:admin#
42-10 create mac_based_access_control_local mac
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
<macaddr> - Enter the MAC address that can pass local authentication.
vlan - (Optional) Specifies 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) Specifies 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, the target VLAN is not specified for this host.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create one MAC-based Access Control local database entry for MAC address 00-00-00-00-00-01 and specify
that the host will be assigned to the "default" VLAN after the host has been authorized:
359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents