aaa/accounting

Configures, modifies, or retrieves login or command accounting configuration.

Resource URIs

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.

Parameters

server-type
Specifies server for accounting. Possible values are:
None
Disables login accounting.
tacacs+
Configures to use TACACS+ server.
radius
Configures to use radius server.
exec
Login accounting.
default
Sends the logged information to the default server.
start-stop
Sends a "start" accounting notice at the beginning of a process and a "stop" accounting notice at the end of a process. The "start" accounting record is sent in the background.
server-type
Specifies server for accounting : tacas+ or radius

Usage Guidelines

GET, OPTIONS, and HEAD operations are supported.

Examples

URI

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>