175
Related commands
display dot1x
dot1x timer tx-period
dot1x unicast-trigger
dot1x port-control
Use
dot1x
port-control
to set the authorization state for the port.
Use
undo dot1x
port-control
to restore the default.
Syntax
dot1x
port-control
{
authorized-force
|
auto
|
unauthorized-force
}
undo dot1x
port-control
Default
The default port authorization state is
auto
.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
authorized-force
: Places the port in authorized state, enabling users on the port to access the
network without authentication.
auto
: Places the port initially in unauthorized state to allow only EAPOL packets to pass, and places
the port in authorized state after a user passes authentication. You can use this option in most
scenarios.
unauthorized-force
: Places the port in unauthorized state, denying any access requests from users
on the port.
Usage guidelines
You can use this command to set the port authorization state to determine whether a client is granted
access to the network.
Examples
# Set the authorization state of port GigabitEthernet 1/0/1 to
unauthorized-force
.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dot1x port-control unauthorized-force
Related commands
display dot1x
dot1x port-method
Use
dot1x
port-method
to specify an access control method for the port.
Use
undo dot1x
port-method
to restore the default.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...