D-Link DGS-3120-24PC Manual page 474

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-24PC:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Example
To clear MAC-based Access Control clients' authentication information for all ports:
DGS-3120-24TC:admin# clear mac_based_access_control auth_state ports all
Command: clear mac_based_access_control auth_state ports all
Success.
DGS-3120-24TC: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-3120-24TC: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-3120-24TC:admin#
46-11 create mac_based_access_control_local
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 Administrator, Operator and Power-User level users can issue this command.
470

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents