The authentication control-direction command configures the direction of traffic controlled by the device.
By default, the device only controls the upstream traffic.
Parameter | Description | Value |
---|---|---|
all |
Configures bidirectional traffic control. |
- |
inbound |
Controls only the upstream traffic. |
- |
Usage Scenario
By default, the access authentication device discards all the traffic sent from the users who fail the 802.1x authentication or MAC address authentication. However, these users can still receive packets broadcast from network devices to successfully authenticated users in the same VLAN. To disable the users who fail the authentication from receiving the broadcast packets, run the authentication control-direction all command to configure bidirectional traffic control. To restore the default situation, run the authentication control-direction inbound command so that the device only controls the traffic sent from the users who fail the authentication.
Precaution
This function applies only to 802.1x authentication and MAC address authentication.
This function takes effect only when an access switch functions as the authentication device and an interface of the switch is connected to only one IP phone or PC.
This function does not take effect when users have pre-connection entries or authentication event entries. You are advised to run the undo authentication pre-authen-access enable command disable the function of keeping users who fail to be authenticated and do not have any network access rights in the pre-connection state, and do not run the authentication event command to configure the device to assign network access rights to users in each phase before authentication succeeds.
When there are both successfully authenticated users and users who fail to be authenticated on the same interface in the same VLAN, bidirectional traffic control does not take effect on this interface.
Layer 3 interfaces do not support bidirectional traffic control.
You are advised to run the stp edged-port enable command to configure the interface on which the function is applied as an edge port. The interface can be added to a maximum of four VLANs.
The SVF and policy association scenarios do not support this function.
WLAN scenarios do not support this function.