315
Examples
# Enable open authentication mode on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port-security authentication open
Related commands
display dot1x connection
display mac-authentication connection
port-security authentication open global
port-security authentication open global
Use
port-security authentication open global
to enable global open authentication mode.
Use
undo port-security authentication open global
to disable global open authentication mode.
Syntax
port-security authentication open global
undo port-security authentication open global
Default
Global open authentication mode is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables access users (802.1X or MAC authentication users) to come online and
access the network even if they use nonexistent usernames or incorrect passwords.
Access users that come online in open authentication mode are called open users. Authorization and
accounting are not available for open users. To display open user information, use the following
commands:
•
display dot1x connection open
.
•
display mac-authentication connection open
.
Open authentication mode does not affect the access of users that use correct user information.
The open authentication mode setting has lower priority than the 802.1X Auth-Fail VLAN and the
MAC authentication guest VLAN. Open authentication mode does not take effect on a port if the port
is also configured with the 802.1X Auth-Fail VLAN or the MAC authentication guest VLAN.
For information about 802.1X authentication or MAC authentication, see
Security Configuration
Guide
.
Examples
# Enable global open authentication mode.
<Sysname> system-view
[Sysname] port-security authentication open global