xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
458
Example usage:
To config the MAC-based access control port state:
DGS-3627:5# config mac_based_access_control ports 1:1-1:8 state
enable
Command: config mac_based_access_control ports 1:1-1:8 state enable
Success.
DGS-3627:5#
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
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-level and Operator-level users can issue this
command.
Example usage:
To configure MAC-based access control authenticating method;
DGS-3627:5#
config mac_based_access_control method local
Command: config mac_based_access_control method local
Success.
DGS-3627:5#
config mac_based_access_control guest_vlan ports
Purpose
Config the mac_based_access_control guest_vlan membership
Syntax
config mac_based_access_control guest_vlan ports <portlist>
Description
This command 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 config mac based_access_control port 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 guestvlan. If the user authentication fails, the user
will stay in the guestvlan mode.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config MAC-based access control guest VLAN: