Example for Configuring 802.1x Local Authentication to Authenticate Users

788 0 0 0

Example for Configuring 802.1x Local Authentication to Authenticate Users


This example applies to all versions and AR routers.

Networking Requirements

PC1 ( is directly connected to RouterA through Eth2/0/1. The gateway IP address for PC1 is, which is the IP address of VLANIF10 on RouterA. 802.1x local authentication needs to be configured on RouterA.

Figure 1  Networking diagram of 802.1x local authentication


  1. Configure RouterA.

  2. Verify the configuration.

    Start the 802.1x client software on PC1 and enter the user name huawei and password huawei@123. PC1 goes online successfully. Run the display access-user command on RouterA. The command output shows information about user huawei.

Configuration Notes

By default, access users are authenticated based on MAC addresses on an interface. Each user is authenticated individually. When port-based 802.1x authentication is configured, all the other users on the interface can go online without authentication after the first user is authenticated.

  • x
  • convention:


You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits