Reference v4.1.0 Instruction Manual
Network OS Command Reference 415
53-1003115-01
ldap-server host
2
ldap-server host
Configures an LDAP-server host.
Synopsis ldap-server host {ipaddr | FQDN} [port portnum] [domain basedn] [timeout secs] [retries num]
no ldap-server host {ipaddr | FQDN}
Operands ipaddr | FQDN Specifies the IPv4 address or Fully Qualified Domain name of the Active
Directory (AD) server. IPv6 is supported for Windows 2008 AD server only.
The maximum supported length for the LDAP host name is 40 characters.
port portnum Specifies the TCP port used to connect the AD server for authentication.
The port range is from 1024 through 65535.
domain basedn Describes the base domain name of the host.
timeout secs Specifies the wait time for a server to respond. The range is 1 through
60 seconds.
retries num Specifies the number of retries for the server connection. The range is
0through100.
Defaults
• Timeout: 5 seconds
• Port: 389
• Retries: 5
Command Modes Global configuration mode
Description Use this command to sets up a connection to the Lightweight Directory Access Protocol (LDAP)
server host, or modifies an existing configuration. A maximum of 5 LDAP servers can be configured
on a switch. Executing “no” on an attribute sets it with its default value.
Usage Guidelines Enter no ldap-server host to delete the server configuration.
Enter no ldap-server host with a parameter to restore the default value for that parameter.
Invoking no on an attribute sets the attribute with its default value.
Examples To add an LDAP server on port 3890 with retries set to three:
switch(config)# ldap-server host 10.24.65.6 domain sec.brocade.com port 3890
retries 3
To change the domain in an existing configuration:
switch(config)# ldap-server host 10.24.65.6
switch(config-host-10.24.65.6)# domain security.brocade.com
To delete an LDAP server:
switch(config)# no ldap-server host 10.24.65.6
To reset the number of retries to the default value:
switch(config)# ldap-server host 10.24.65.6 retries