ldap-server/host

Resource URIs

URI Description
<base_URI>/config/running/ldap-server/host LDAP Server for AAA.

Parameters

hostname
LDAP server host name.
port
TCP authentication port. The number of characters can range from 1 through 255.
retries
Number of retries for this server connection. The number of retries can range from 0 through 100. The default number of retries is 5.
timeout
Number of retries for this server connection. The number of retries can range from 0 through 100. The default number of retries is 5.
use-vrf
Specifies the VRF name.
basedn
Base domain name. The number of characters can range from 1 through 255.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/ldap-server/host

None

<host y:self="/rest/config/running/ldap-server/host/inetaddress">
    <hostname>inetaddress</hostname>
    <port>400</port>
    <retries>6</retries>
    <timeout>10</timeout>
    <basedn>test</basedn>
    <use-vrf>mgmt-vrf</use-vrf>
  </host>
  <host y:self="/rest/config/running/ldap-server/host/test">
    <hostname>test</hostname>
  </host>

URI

The following is an example of the POST operation to add an LDAP server to the client server list.

http://host:80/rest/config/running/ldap-server

<host>
  <hostname>test_ACL</hostname>
</host>

None

URI

The following is an example of the DELETE operation to remove an LDAP server.

http://host:80/rest/config/running/ldap-server/host/test_API

None

None