When enabling AAA Authentication, Failback does not seem to work

Summary: Authentication, Authorization, and Accounting (AAA) has been enabled and functions properly, but local fallback for mgmt.0 port is not working.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Activating AAA authentication group for remote login

AAA authentication for Lightweight Directory Access Protocol (LDAP) was set up with the option to fall back to local login if LDAP servers are unreachable.  

When LDAP servers are unreachable, Multilayer Director Switches (MDS) do not fall back to local databases even though the following command is present in running configurations. MDS NX-OS 6.2(13), 6.2(13a), 6.2(13b)

"aaa authentication login default fallback error local"

The only exception is the MDS 9250i which falls back to the local database while the LDAP server is unreachable.

This behavior was tested in MDS 9513 and MDS9250i with the same NX-OS version (MDS NX-OS 6.2(13), 6.2(13a), 6.2(13b)).
MDS 9250i has no problem and falls back to the local database when the LDAP server is unreachable, but other MDS switches do not.

This problem only occurs when MDS switches have an LDAP configuration. It does not occur with Terminal Access Controller Access-Control System (TACACS) configurations.

Cause

If the LDAP server is unreachable, then users cannot log in to the switch using the local username and password.

Cisco bug CSCuy39447

https://tools.cisco.com/bugsearch/bug/CSCuy39447/?reffering_site=dumpcr
 

Resolution

Permanent Fix: This is to be fixed in a future code release.


Workaround:
This is the workaround recommended by Cisco but does not fix the issue.
To go back to local login with LDAP servers being unreachable the console port must be accessed, and LDAP must be disabled.

Log in with the local username password using the console connection.  

If you still want to make sure the MDS switch uses LDAP auth, if you can get into the switch, you can remove the ldap-search-map from "aaa group server ldap", so the aaa group looks something like:

aaa group server ldap ldap_group
server x.x.x.x
no ldap-search-map

Without the ldap-search-map, the MDS switch falls back to local authentication if the LDAP server is unreachable.

Disabling the search map so it falls back to local but when the LDAP server becomes reachable, you must go back to console access of the switch and put the search-map configuration back for the LDAP configuration to work.

You can also use below command to accomplish this.
 
SW(config)# no aaa authentication login default group <group name>  
 
OR
 
SW(config)# aaa authentication login default local
 

 

Article Properties
Article Number: 000171399
Article Type: Solution
Last Modified: 10 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.