Command Guide of WGSW-28040
23
Session Time (HH:MM:SS): 0: 0: 0: 0
4.1.2 dot1x authentication
Command:
dot1x (auto|force-auth|force-unauth)
no dot1x
Parameter:
auto
Port control will depends on the outcome of authentication.
force-auth
Force this port to be unconditional authorized.
force-unauth
Force this port to be unconditional unauthorized.
Default:
Default is disabled
Mode:
Interface Configuration
Usage Guide:
Use the “
dot1x
” command to enable 802.1X function on port. Use the
no
form of this command to disable this
function.
The enable of 802.1X global setting is a must
Example:
The following example shows how to enable 802.1X access control on port 1.
Switch(config)#
dot1x
switch(config)#
interface gi1
switch(config-if)#
dot1x auto
switch(config-if)#
exit
switch(config)#
show dot1x
802.1x protocol is: Enabled
802.1x protocol version: 2
switch(config)#
show dot1x interfaces gi1
Port | Mode | Current State | Reauth Control | Reauth Period
--------+--------------------+----------------------+---------------------+-----------------