EasyManua.ls Logo

D-Link DGS-3000 - Page 535

D-Link DGS-3000
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
531
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-3000-26TC: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-3000-26TC:admin#
config mac_based_access_control_local 49-12
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 Administrators, Operators and Power-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:

Table of Contents

Related product manuals