Disabling accounting – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 246

Advertising
background image

214

Network OS NETCONF Operations Guide

53-1003231-02

TACACS+ accounting

16

Disabling accounting

You must perform the disable operation separately for login accounting and for command
accounting.

To disable command accounting, perform the following steps.

1. Issue the <edit-config> RPC to configure the <aaa-config> node in the

urn:brocade.com:mgmt:brocade-aaa workspace.

2. under the <aaa-config> node, include the

<aaa>/<accounting>/<commands>/<defaultacc>/<start-stop> hierarchy of node elements.

3. Under the <start-stop> node, include the <server-type> leaf element and set its value to

“none” to disable command accounting.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="923" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<aaa-config xmlns="urn:brocade.com:mgmt:brocade-aaa">

<aaa>

<accounting>

<commands>

<defaultacc>

<start-stop>

<server-type>none</server-type>

</start-stop>

</defaultacc>

</commands>

</accounting>

</aaa>

</aaa-config>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="923" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

To disable login accounting, perform the following steps.

1. Issue the <edit-config> RPC to configure the <aaa-config> node in the

urn:brocade.com:mgmt:brocade-aaa workspace.

2. Under the <aaa-config> node, include the

<aaa>/<accounting>/<exec>/<defaultacc>/<start-stop> hierarchy of node elements.

3. Under the <start-stop> node, include the <server-type> leaf element and set its value to

“none” to disable login accounting.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="924" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

Advertising