Configuration Examples for LDAP
Command
show startup-config ldap
show ldap-server
show ldap-server groups
show ldap-server statistics {hostname |
ipv4-address | ipv6-address}
show ldap-search-map
Configuration Examples for LDAP
The following example shows how to configure an LDAP server host and server group:
feature ldap
ldap-server host 10.10.2.2 enable-ssl
aaa group server ldap LdapServer
server 10.10.2.2
exit
show ldap-server
show ldap-server groups
The following example shows how to configure an LDAP search map:
ldap search-map s0
userprofile attribute-name att-name search-filter
(&(objectClass=inetOrgPerson)(cn=$userid)) base-DN dc=acme,dc=com
exit
show ldap-search-map
The following example shows how to configure AAA authorization with certificate authentication for an
LDAP server:
aaa authorization ssh-certificate default group LDAPServer1 LDAPServer2
exit
show aaa authorization
Where to Go Next
You can now configure AAA authentication methods to include the server groups.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
124
Purpose
Displays the LDAP configuration in the startup
configuration.
Displays LDAP configuration information.
Displays LDAP server group configuration information.
Displays LDAP statistics.
Displays information about the configured LDAP attribute
maps.
Configuring LDAP