< Home

ldap-server ip-address-filter

Function

Using the ldap-server ip-address-filter command, you can configure the IP address filtering field for the LDAP server.

Using the undo ldap-server ip-address-filter command, you can cancel the above configuration.

By default, no IP address filtering field for the LDAP server is configured.

Format

ldap-server ip-address-filter field mask-filter field

undo ldap-server ip-address-filter

Parameters

Parameter Description Value
field Indicates the IP address attribute filtering field. It is a string of 1 to 63 characters. It cannot contain spaces or the following symbols: \, /, < , >, ?, &, |, ', and ".
mask-filter field Indicates the mask attribute filtering field. It is a string of 1 to 63 characters. It cannot contain spaces or the following symbols: \, /, < , >, ?, &, |, ', and ".

Views

LDAP server template view

Default Level

3: Management level

Usage Guidelines

If an AD server must be used to assign IP addresses to users, you can run this command to specify an IP address attribute filtering field and use the value of this field as the IP address.

Example

# Configure the virtual IP address attribute filtering field st and the mask attribute filtering field title.

<sysname> system-view
[sysname] ldap-server template temp1
[sysname-ldap-temp1] ldap-server ip-address-filter st mask-filter title
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >