Configures, modifies, or retrieves login or command accounting configuration.
URI | Description |
---|---|
/restconf/data/brocade-aaa:aaa-config/accounting | Login or command accounting. |
/restconf/data/brocade-aaa:aaa-config/accounting/commands | Enables or disabled command accounting. |
/restconf/data/brocade-aaa:aaa-config/aaa/accounting/exec | Enables or disables login accounting. |
PUT URIs | Payload | Description |
---|---|---|
/restconf/data/brocade-aaa:aaa-config/aaa/accounting/exec/defaultacc/start-stop/server-type | <server-type>{acc_srv_type}</server-type> | Enables login accounting. |
/restconf/data/brocade-aaa:aaa-config/aaa/accounting/commands/defaultacc/start-stop/server-type | <server-type>{acc_srv_type}</server-type> | Enables command accounting. |
GET, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:443/restconf/data/brocade-aaa:aaa-config/accounting
None
<aaa-config xmlns="urn:brocade.com:mgmt:brocade-aaa"> <aaa> <accounting> <exec> <defaultacc> <start-stop> <server-type/> </start-stop> </defaultacc> </exec> </accounting> </aaa> </aaa-config>