![background image](http://html1.mh-extra.com/html/d-link/xstack-dgs-3120-24pc/xstack-dgs-3120-24pc_manual_3500718472.webp)
xStack
®
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
468
DGS-3120-24TC:admin# config mac_based_access_control ports 1:1-1:8 aging_time
infinite block_time 120
Command: config mac_based_access_control ports 1:1-1:8 aging_time infinite
block_time 120
Success.
DGS-3120-24TC:admin#
46-8
create mac_based_access_control
Description
This command is used to assign a static 802.1Q VLAN as a MAC-based Access Control guest
VLAN.
Format
create mac_based_access_control [guest_vlan <vlan_name 32> | guest_vlanid <vlanid 1-
4094>]
Parameters
guest_vlan
- Specify MAC-based Access Control guest VLAN by name, it must be a static 1Q
VLAN.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
guest_vlanid
- Specify MAC-based Access Control guest VLAN by VID, it must be a static 1Q
VLAN.
<vlanid 1-4094>
- Enter the VLAN ID here. This value must be between 1 and 4094.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a MAC-based Access Control guest VLAN:
DGS-3120-24TC:admin# create mac_based_access_control guest_vlan VLAN8
Command: create mac_based_access_control guest_vlan VLAN8
Success.
DGS-3120-24TC:admin#
46-9
delete mac_based_access_control
Description
This command is used to remove a MAC-based Access Control guest VLAN.
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 42: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 38...
Page 168: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164...
Page 765: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761...