![]() |
Cisco
|
|||
| Home > Work With My Switches > Cisco Catalyst Switches > Set up IEEE 802.1x authentication on Catalyst Switches | ||||||||||
IntroductionThis document provides instructions on how to configure IEEE 802.1x port based authentication on your Catalyst Switches. This procedure applies to 2940, 2950, 2955, 2960, 2970, 3550, 3560, 3750 and 4500 series models of Cisco Catalyst switches. ComponentsTo perform the steps described in this document, you need these items:
IEEE 802.1x OverviewThis section provides an overview on IEEE 802.1x port based authentication which is a part of IEEE 802.1 group of networking protocols. IEEE 802.1x port-based authentication is used to prevent unauthorized devices (clients) from gaining access to the network. The IEEE 802.1x standard defines a client-server-based access control and authentication protocol that restricts unauthorized clients from connecting to a LAN through publicly accessible ports. The authentication server authenticates each client connected to a switch port before making available any services offered by the switch or the LAN. Until the client is authenticated, 802.1x access control allows only Extensible Authentication Protocol over LAN (EAPOL) traffic through the port to which the client is connected. After the authentication is successful, the port state changes to authorized, the client is put in specified VLAN and normal traffic can pass through the port. If the authentication is unsuccessful it can be retried. If successive authentication attempts fail and the authentication process times out the switch checks if the MAC authentication bypass (supported from Cisco IOS Release 12.2(25)SEE and later) is enabled. If MAC authentication bypass is enabled, the switch uses the MAC address as the client identity and if MAC address is valid, the port is assigned to respective VLAN; otherwise the port remains in unauthorized state. If the client does not support 802.1 x authentication the port is placed in a specified guest VLAN. This guest VLAN can be used by the client to download and install the software for 802.1x support. With 802.1x port-based authentication, the devices in the network have specific roles. The Client or Supplicant is the device that requests access to the LAN services. This Client must run any 802.1x compliant software such as the one offered in the Microsoft Windows XP operating system. The Switch or Authenticator acts like a security guard to a protected network and controls the physical access to the network based on the authentication status of the client. The switch acts as an intermediary (proxy) between the client and the authentication server, requesting identity information from the client, verifying that information with the authentication server, and relaying a response to the client. The Authentication server is the device that performs the actual authentication of the client. The authentication server validates the identity of the client and notifies the switch whether or not the client is authorized to access the LAN. The authentication server supported is RADIUS security system with Extensible Authentication Protocol (EAP) extensions. It is available in Cisco Secure Access Control Server Version 3.0 or later. The authentication server is responsible to send the VLAN assignment to configure the switch port accordingly and is also responsible to have database of client MAC addresses that are allowed network access if MAC authentication bypass is enabled. An IEEE 802.1x port can be configured for single-host or for multiple-hosts mode. In single-host mode, only one client can be connected to the IEEE 802.1x-enabled switch port. The switch detects the client by sending an EAPOL frame when the port link state changes to the up state. If a client leaves or is replaced with another client, the switch changes the port link state to down, and the port returns to the unauthorized state. In multiple-hosts mode, you can attach multiple hosts to a single IEEE 802.1x-enabled port. In this mode, only one of the attached clients must be authorized for all clients to be granted network access. If the port becomes unauthorized (re-authentication fails or an EAPOL-logoff message is received), the switch denies network access to all of the attached clients. Multiple-hosts mode is used when wireless devices connect to the network via an access point. Here, only the access point needs to be authenticated by the switch. The IEEE 802.1x protocol is supported on Layer 2 static-access ports and is not supported on Trunk ports, Dynamic ports, EtherChannel ports, and Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) destination ports.
Connect to the SwitchFollow these steps to connect your PC to the switch for configuration: Complete these steps:
Configure 802.1x authenticationFollow these steps to configure 802.1x authentication on a Catalyst switch:
Configure Switch to RADIUS server CommunicationFollow these steps to configure communication with the RADIUS server:
Next StepYou have now set up 802.1x authentication on your network. To make further changes to your switch, refer to the Switch Support Page. To make further changes to your network, refer to the Configuration Overview page. Troubleshoot the ProcedureThis section provides information about common problems that you may encounter. If this information does not solve your problem, contact the SMB Technical Assistance Center (SMB TAC) for assistance.
Related Information |
||||||||||
![]() |
![]() |