
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
357
config mac_based_access_control method
Purpose Used to configure the MAC-based access control authenticating method.
Syntax
config mac_based_access_control method [local | radius]
Description This command is used to specify to authenticate via local database or via RADIUS
server.
Parameters local – Specify to authenticate via local database.
radius – Specify to authenticate via RADIUS server.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the MAC-based access control authenticating method:
DGS–3426:5#config mac_based_access_control
method
local
Command: config mac_based_access_control
method
local
Success.
DGS–3426:5#
config mac_based_access_control guest_vlan ports
Purpose Used to configure the MAC-based access control guest VLAN membership
Syntax
config mac_based_access_control guest_vlan ports <portlist>
Description This command is used to put the specified port in guest VLAN mode. For those ports not
contained in the portlist, they are in non–guest VLAN mode.For detailed information for
operation of guest VLAN mode, please see the description for the config
mac_based_access_control command.
Parameters <portlist> – When the guest VLAN is configured for a port successfully, the port will make
the VLAN assignment based on the assigned VLAN and remove it from the guest VLAN.
If the user authentication fails, the user will stay in the guest VLAN mode.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a MAC-based access control guest VLAN:
DGS–3426:5# config mac_based_access_control
guest_vlan
ports 1
–
8
Command: config mac_based_access_control
guest_vlan ports 1–8
Success.
DGS–3426:5#