D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
14
7
21
MAC AUTHENTICATION COMMANDS
The MAC Authentication commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command Parameter
enable
mac_based_access_control
disable
mac_based_access_control
config
mac_based_access_control
{ports [<portlist> | all] state [enable | disable] }
show
mac_based_access_control
{ports [<portlist> | all]}
Each command is listed in detail, as follows:
enable mac_based_access_control
Purpose To globally enable MAC based access control.
Syntax
enable mac_based_access_control
Description The enable mac_based_access_control command enables the
functionality of MAC-based access control globally on the switch.
This command also enables 802.1x globally if it is disabled, as
802.1x functionality is used to activate MAC authentication.
If ports on the switch are configured to MAC-based mode, this
command sets the port state to auto. To achieve this, the enable
command runs the following 802.1x command on these ports:
- config 802.1x auth_parameter ports 1:2 port_control auto
Parameters None.
Restrictions None.
Example usage:
To enable MAC Based Access Control:
DGS3100# enable mac_based_access_control
DGS3100#