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

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 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:
DGS-3120-24TC:admin# 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.
DGS-3120-24TC:admin#
46-12 config mac_based_access_control_local
Description
This command is used to configure a MAC-based Access Control local database entry.
Format
config mac_based_access_control_local mac <macaddr> [vlan <vlan_name 32> | vlanid
<vlanid 1-4094> | clear_vlan]
Parameters
mac - Specify the authenticated host's MAC address.
<macaddr> - Enter the MAC address used here.
vlan - Specify the target VLAN by VLAN name. When this host is authorized, the host will be
assigned to this VLAN.
<vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long.
vlanid - Specify the target VLAN by VID. When this host is authorized, the host 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.
clear_vlan - Not specify the target VLAN. When this host is authorized, will not assign target
VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the target VLAN "default" for the MAC-based Access Control local database entry 00-
00-00-00-00-01:
471

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents