Modifying the tacacs+ server configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 241

Network OS NETCONF Operations Guide
209
53-1003231-02
TACACS+
16
<timeout>5</timeout>
</host>
</tacacs-server>
</rpc>
Modifying the TACACS+ server configuration
To modify the TACACS+ configuration, perform the following steps.
1. Issue the <get-config> RPC with a subtree filter to return only information about configured
TACACS+ servers.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="915" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<tacacs-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host/>
</tacacs-server>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="915" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<tacacs-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>fec0:60:69bc:94:211:25ff:fec4:6010</hostname>
<port>49</port>
<protocol>chap</protocol>
<key>new#hercules*secret</key>
<retries>5</retries>
<timeout>5</timeout>
</host>
</tacacs-server>
</rpc>
2. Issue the <edit-config> RPC to change the configuration of the TACACS+ server.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="916" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<tacacs-server xmlns="urn:brocade.com:mgmt:brocade-aaa">
<host>
<hostname>fec0:60:69bc:94:211:25ff:fec4:6010</hostname>
<key>changedesc</key>
<retries>100</retries>
</host>
</tacacs-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="916" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">