ldap-server port
To configure a global Lightweight Directory Access Protocol (LDAP) server port through which clients initiate
TCP connections, use the ldap-server port command. To remove the LDAP server port configuration, use
the no form of this command.
ldap-server port tcp-port
no ldap-server port tcp-port
Syntax Description
Global TCP port to use for LDAP messages to the
server. The range is from 1 to 65535.
tcp-port
Command Default
TCP port 389
Command Modes
Global configuration
Command History
ModificationRelease
This command was deprecated.5.2(1)
This command was introduced.5.0(2)
Usage Guidelines
To use this command, you must enable LDAP.
This command does not require a license.
Examples
This example shows how to configure a global TCP port for LDAP messages:
switch# configure terminal
switch(config)# ldap-server port 2
Related Commands
DescriptionCommand
Enables LDAP.feature ldap
Displays the LDAP server configuration.show ldap-server
Cisco Nexus 7000 Series Security Command Reference
484
L Commands
ldap-server port