
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
359
DGS–3426:5#config mac_based_access_control ports 1
–
8 mode port_based
Command: config mac_based_access_control ports 1
–
8 mode port_based
Success.
DGS–3426:5#
create mac_based_access_control
Purpose Used to create a guest VLAN.
Syntax
create mac_based_access_control [guest_vlan <vlan_name 32>|guest_vlanid
<vlanid 1–4094>]
Description This command is used to create a guest VLAN.
Parameters guest_vlan – If the MAC address is authenticated failure, the port will be assigned to this
vlan.
guest_vlanid – If the MAC address is authenticated failure, the port will be assigned to
this vlan.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To create a MAC-based access control guest VLAN:
DGS–3426:5# create mac_based_access_control guest_vlan default
Command: create mac_based_access_control guest_vlan default
Success.
DGS–3426:5#
delete mac_based_access_control
Purpose Used to delete a guest VLAN.
Syntax
delete mac_based_access_control [guest_vlan <vlan_name 32>| guest_vlanid
<vlanid 1–4094>]
Description
This command is used to de–assign the guest VLAN. When the guest VLAN is de–
assigned, the guest VLAN function is disabled.
Parameters guest_vlan – Specifies the name of the guest VLAN.
guest_vlanid – Specifies the VLAN ID of the guest VLAN.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a guest VLAN:
DGS–3426:5# delete mac_based_access_control guest_vlan default
Command: delete mac_based_access_control guest_vlan default
Success.
DGS–3426:5#