101
Field Descri
tion
Username Format Format for the username sent to the server.
ip
Use ip to configure the IP address and port number of the LDAP server.
Use undo ip to delete the LDAP server IP address and port number.
Syntax
ip ip-address [ port port-number ] [ vpn-instance vpn-instance-name ]
undo ip
Default
An LDAP server does not have an IP address.
Views
LDAP server view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of the LDAP server.
port port-number: Specifies the TCP port number of the LDAP server. The value range for the port-number
argument is 1 to 65535, and the default value is 389.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the LDAP server belongs, where
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the server is on the public network,
do not specify this option.
Usage guidelines
The LDAP service port configured on the device must be consistent with the service port of the LDAP
server.
If you change the IP address and port number of the LDAP authentication server, the change is effective
only for LDAP authentication that occurs after your change.
Examples
# Specify the IP address and port number of the LDAP authentication server as 192.168.0.10.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] ip 192.168.0.10 port 4300
Related commands
ldap server
ipv6
Use ipv6 to configure the IPv6 address and port number of the LDAP server.