The authentication event response-fail command configures the device to return an authentication failure packet when a user fails in authentication or the authentication server does not respond.
The undo authentication event response-fail command restores the default configuration.
By default, the device returns an authentication success packet when a user fails in authentication or the authentication server does not respond.
authentication event { authen-fail | authen-server-down } response-fail
undo authentication event { authen-fail | authen-server-down } response-fail
Parameter | Description | Value |
---|---|---|
authen-fail |
Specifies that the device returns an authentication failure packet to the 802.1X client or Portal server when a user fails in authentication. |
- |
authen-server-down |
Specifies that the device returns an authentication failure packet to the 802.1X client or Portal server when the authentication server does not respond. |
- |
System view, VLANIF interface view, Ethernet interface view, GE interface view, MultiGE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view
Usage Scenario
After the authentication event command is executed to configure the network access right used when a user fails in authentication or the authentication server does not respond, the device returns an authentication success packet to the 802.1X client or Portal server by default. Therefore, the user does not know the authentication failure and only limited network resources can be accessed. The user cannot use the expected service.
You can use this command to configure the device to return an authentication failure packet to the 802.1X client or Portal server. In 802.1X authentication, the 802.1X client notifies the user of authentication failure. In Portal authentication, the Portal server pushes an authentication failure message to the user. The user then choose whether to perform reauthentication.
Precautions
This function takes effect only for users who go online after this function is successfully configured.