Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 250

218
Network OS NETCONF Operations Guide
53-1003231-02
LDAP
16
<rpc message-id="927" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<ldap-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>10.24.65.6</hostname>
<basedn>security.brocade.com</basedn>
<port>3890</port>
<timeout>8</timeout>
<retries>3</retries>
</host>
</ldap-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="927" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
4. Confirm the LDAP settings by issuing a <get-config> RPC with a subtree filter to return
configuration information for the LDAP server.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="928" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<ldap-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>10.24.65.6</hostname>
</host>
</ldap-server>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="928" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ldap-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>10.24.65.6</hostname>
<port>3890</port>
<retries>3</retries>
<timeout>8</timeout>
<basedn>security.brocade.com</basedn>
</host>
</ldap-server>
</rpc>
5. Optional: Use the delete operation on an attribute element to set the attribute back to the
default value.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="929" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>