802.1X example configuration

This example shows how to configure the switch so that 802.1X-based authentication is required on the ports in a corporate conference room (xg5 through xg8). These ports are available to visitors and must be authenticated before access is granted to the network. The authentication is handled by an external RADIUS server. When a visitor is successfully authenticated, traffic is automatically assigned to a guest VLAN.

In this example, you do the following:
  1. Set the port authentication for ports xg5 through xg8 to unauthorized and assign ports xg5 through xg8 to a guest VLAN with VLAN ID 150.
  2. Globally enable 802.1X-based authentication and automatic assignment of a port to a particular VLAN.
  3. Configure a RADIUS server.
  4. Configure the Dot1x Authentication List to use RADIUS.

To configure the 802.1X example:

  1. Open a web browser and log in to the device UI using your login details and device admin password.

    The Dashboard page displays.

  2. Select Security > Port Authentication > Port Authentication.
    The Port Authentication page displays.
  3. Select the check boxes for ports xg5, xg6, xg7, and xg8.
  4. Click the Edit button.
    The Edit Port Authentication pop-up window displays.
  5. From the Port Control menu, select Unauthorized.
    The selection from the Port Control menu for all other ports on which authentication is not needed must be Authorized. When the selection from the Port Control menu is Authorized, the port is unconditionally put in a force-authorized state and does not require any authentication. When the selection from the Port Control menu is Auto, the authenticator PAE sets the controlled port mode.
  6. In the Guest VLAN field, type 150 to assign the selected ports to a guest VLAN with VLAN ID 150.
    You can configure additional settings to control access to the network through the ports. For more information, see Configure the 802.1X authentication settings for a port.
  7. Click the Save button.
    Your settings are saved.
  8. Select Security > Port Authentication > 802.1x Configuration.
    The 802.1x Configuration page displays.
  9. Click the Port-Based Authentication State toggle to enable 802.1X port-based authentication.
    The toggle is purple and positioned to the right.
  10. Click the VLAN Assignment Mode toggle to enable automatic assignment of a port to a particular VLAN.
    The toggle is purple and positioned to the right.

    You can configure additional global settings for 802.1X-based authentication. For more information, see Configure the global 802.1X authentication settings.

  11. Click the Apply button.
    Your settings are saved.
  12. Select Security > Management Security > RADIUS > Server Configuration.
    The Server Configuration page displays.
  13. Click the Add New button.
    The Add Server Configuration pop-up window displays.
  14. Configure the settings for a RADIUS server:
    1. In the Server Address field, type the IP address of the RADIUS server.
    2. From the Secret Configured menu, select Yes.

      Authentication and encryption are enabled. A secret (password) is required.

    3. In the Secret field, type the shared secret text string (password) that is used for authenticating and encrypting all RADIUS communications between the switch and the RADIUS server.
    4. From the Active menu, select Primary.

      The server functions as the primary RADIUS authentication server.

    You can configure additional RADIUS setting. For more information, see Add a RADIUS authentication server.

  15. Click the Save button.
    Your settings are saved and the server is added to the switch.
  16. Select Security > Management Security > Authentication List > Dot1x Authentication List.
    The Dot1x Authentication List page displays.
  17. Click the Edit button.
    The Edit Dot1x Authentication List pop-up window displays.
  18. To enable the Dot1x list, select the dotxList check box.
    The menu options become available.
  19. From the menu, select RADIUS.
    The user’s name and password are authenticated using the RADIUS server instead of the local server.
  20. Click the Save button.
    Your settings are saved.

This example enables 802.1X-based port security on the switch and prompts the devices that are connected on ports 5 through 8 for an 802.1X-based authentication. The switch passes the authentication information to the configured RADIUS server.