D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
197
config 802.1x auth_mode
Purpose Used to configure the 802.1x authentication mode on the Switch.
Syntax
config 802.1x auth_mode {port_based | mac_based]
Description
The config 802.1x authentication mode command is used to
enable either the port-based or MAC-based 802.1x authentication
feature on the Switch.
Parameters
[port_based | mac_based ports] The Switch may authenticate
802.1x by either port or MAC address.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure 802.1x authentication by MAC address:
DGS-3324SRi:4#config 802.1x auth_mode mac_based
Command: config 802.1x auth_mode mac_based
Success.
DGS-3324SRi:4#
config 802.1x capability ports
Purpose Used to configure the 802.1x capability of a range of ports on the
Switch.
Syntax
config 802.1x capability ports [<portlist> | all] [authenticator |
none]
Description
The config 802.1x command has two capabilities that can be set
for each port, authenticator and none.
Parameters
<portlist> Specifies a range of ports. The port list is specified by
listing the lowest switch number and the beginning port number on
that switch, separated by a colon. Then the highest switch
number, and the highest port number of the range (also separated
by a colon) are specified. The beginning and end of the port list
range are separated by a dash. For example, 1:3 specifies switch
number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4
specifies all of the ports between switch 1, port 3 and switch 2,
port 4 in numerical order.
all Specifies all of the ports on the Switch.
authenticator A user must pass the authentication process to
gain access to the network.
none The port is not controlled by the 802.1x functions.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure 802.1x capability on ports 1-10 on switch 1: