147
Predefined user roles
network-admin
mdc-admin
Parameters
ipv6-address
: Specifies the IPv6 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 an MPLS L3VPN instance to which the LDAP server
belongs. The
vpn-instance-name
argument 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 server, the change is effective only on the
LDAP authentication that occurs after the change.
Examples
# Specify the IPv6 address and port number as 1:2::3:4 and 4300 for LDAP server
ccc
.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] ipv6 1:2::3:4 port 4300
Related commands
ldap server
ldap attribute-map
Use
ldap attribute-map
to create an LDAP attribute map and enter its view, or enter the view of an
existing LDAP attribute map.
Use
undo ldap attribute-map
to delete an LDAP attribute map.
Syntax
ldap attribute-map
map-name
undo ldap attribute-map map-name
Default
No LDAP attribute maps exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
map-name
: Specifies the name of the LDAP attribute map, a case-insensitive string of 1 to 31
characters.