125
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] dot1x multicast-trigger
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 the authorized state, enabling users on the port to access the network
without authentication.
auto: Places the port initially in the unauthorized state to allow only EAPOL packets to pass, and after a
user passes authentication, sets the port in the authorized state to allow access to the network. You can
use this option in most scenarios.
unauthorized-force: Places the port in the 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 2/1/1 to unauthorized-force.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] dot1x port-control unauthorized-force
Related commands
display dot1x