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

Network OS NETCONF Operations Guide
205
53-1003231-02
RADIUS
16
<radius-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>10.38.37.180</hostname>
<auth-port>1812</auth-port>
<protocol>pap</protocol>
<key>new#virgo*secret</key>
<retries>5</retries>
<timeout>10</timeout>
</host>
<host>
<hostname>10.24.65.6</hostname>
<auth-port>1812</auth-port>
<protocol>pap</protocol>
<key>changedesc</key>
<retries>5</retries>
<timeout>3</timeout>
</host>
</radius-server>
</rpc>
2. Issue the <edit-config> RPC to change the configuration of the RADIUS server.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="910" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<radius-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<host-name>10.38.37.180</host-name>
<auth-port>1812</auth-port>
<key>changedesc</key>
<retries>5</retries>
<timeout>3</timeout>
</host>
</radius-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="910" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
3. Re-issue the <get-config> RPC with a subtree filter to restrict the output to the modified
RADIUS server and verify the configuration change.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="911" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<radius-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>10.38.37.180</hostname>
</host>