RADIUS realms
A RADIUS realm is an AAA configuration element that
- 
                                 
                                 
enables assigning authentication and accounting requests to specific RADIUS servers based on user domain information
 - 
                                 
                                 
uses the domain portion of a user's Network Access Identifier (NAI) to select the appropriate RADIUS server, and
 - 
                                 
                                 
provides realm-based filtering and control for authentication and accounting requests within a WLAN.
 
Feature history
| 
                                       
                                        Feature name  | 
                                    
                                    
                                       
                                        Release information  | 
                                    
                                    
                                       
                                        Feature description  | 
                                    
                                 
|---|---|---|
| 
                                       
                                        RADIUS realms  | 
                                    
                                    
                                       
                                        Cisco IOS XE 16.9.1  | 
                                    
                                    
                                       
                                        RADIUS realms are configuration elements in AAA (Authentication, Authorization, and Accounting) systems. They use the domain portion of a user's Network Access Identifier (NAI)—such as the part after "@" in an email address—to direct authentication and accounting requests to specific RADIUS servers. Realms help organizations manage user access and resource usage across different groups or domains.  | 
                                    
                                 
The RADIUS Realm feature can be enabled and disabled on a WLAN. If Realm is enabled on a WLAN, the corresponding user should send the username in the NAI format. The controller sends the authentication request to the AAA server only after it receives a realm in NAI format from the client and verifies that the realm complies with the required standards. Additionally, the controller sends accounting requests to the AAA server based on realm filtering.
Realm support on a WLAN
Each WLAN is configured to support NAI realms. Once the realm is enabled on a specific SSID, the system compares the received realms in the EAP identity response to those configured on the RADIUS server. If a username with the realm is not sent by the client, the WLAN uses the default RADIUS server for authentication. When the client's realm does not match the realms configured on the WLAN, the client is deauthenticated and dropped.
If the RADIUS Realm feature is not enabled on a WLAN, the controller uses the username received in the EAP identity request directly and authenticates the user using the configured RADIUS server. The RADIUS Realm feature is disabled on WLANs by default.
- 
                                 
                                 
Realm match for authentication: In dot1x with EAP methods (similar to EAP AKA), the username is received as part of an EAP identity response. A realm is derived from the username and is matched with the realms that are already configured in the corresponding RADIUS authentication server. If there is a match, the authentication requests are forwarded to the RADIUS server. If there is a mismatch, the client is deauthenticated.
 - 
                                 
                                 
Realm match for accounting: After receiving a client's username through an access-accept message, the system derives the realm from the username when accounting messages are triggered. The realm is compared with the configured accounting realms on the RADIUS accounting server. When there is a match, the server receives the accounting requests. If there is no match, the system drops the accounting requests.
 
Feedback