xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
603
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#
57-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:
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...