URI | Description |
---|---|
<base_URI>/config/running/aaa/accounting | Login or command accounting |
<base_URI>/config/running/aaa/accounting/commands | Enables or disabled command accounting |
<base_URI>/config/running/aaa/accounting/exec | Enables or disables login accounting |
PUT URIs | Payload | Description |
---|---|---|
<base_URI>/config/running/aaa/accounting/exec/default/start-stop/server-type | <server-type>{acc_srv_type}</server-type> | Enables login accounting. |
<base_URI>/config/running/aaa/accounting/commands/default/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:80/rest/config/running/aaa/accounting
None
<accounting y:self="/rest/config/running/aaa/accounting"> <exec y:self="/rest/config/running/aaa/accounting/exec"> <default y:self="/rest/config/running/aaa/accounting/exec/default"> <start-stop y:self="/rest/config/running/aaa/accounting/exec/default/start-stop"> <server-type>none</server-type> </start-stop> </default> </exec> <commands y:self="/rest/config/running/aaa/accounting/commands"> <default y:self="/rest/config/running/aaa/accounting/commands/default"> <start-stop y:self="/rest/config/running/aaa/accounting/commands/default/start-stop"> <server-type>tacacs+</server-type> </start-stop> </default> </commands> </accounting>