accounting¶
Configuration for accounting
accounting Specification¶
Parameter
Value
Type
Configuration Resource
Element Name
accounting
Element URI
/axapi/v3/accounting
Element Attributes
accounting_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/accounting | ||
Get Object | GET | /axapi/v3/accounting | ||
Modify Object | POST | /axapi/v3/accounting | ||
Replace Object | PUT | /axapi/v3/accounting | ||
Delete Object | DELETE | /axapi/v3/accounting | ||
accounting attributes¶
commands
Description Enable level for commands accounting
Type: number
Range: 0-15
Default: 0
debug
Description Specify the debug level for accounting (Debug level for command accounting. bitwise OR of the following: 1(common), 2(packet),4(packet detail), 8(md5))
Type: number
Range: 1-15
exec
Description: exec is a JSON Block. Please see below for exec
Type: Object
Reference Object: /axapi/v3/accounting/exec
stop-only
Description Record stop when service terminates
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tacplus
Description Use TACACS+ servers for accounting
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
exec¶
Specification
Value
Type
object
accounting-exec-method
Description ‘tacplus’: Use TACACS+ servers for accounting; ‘radius’: Use radius servers for accounting;
Type: string
Supported Values: tacplus, radius
accounting-exec-type
Description ‘start-stop’: Record start and stop without waiting; ‘stop-only’: Record stop when service terminates;
Type: string
Supported Values: start-stop, stop-only
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters