2-195
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting commands
set accounting commands
To enable command event accounting on the switch, use the set accounting commands command.
set accounting commands enable {config | enable | all} [stop-only] {tacacs+}
set accounting commands disable
Syntax Description
Defaults The default is accounting is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines You must configure the TACACS+ servers before you enable accounting.
Examples This example shows how to send records at the end of the event only using a TACACS+ server:
Console> (enable) set accounting commands enable config stop-only tacacs+
Accounting set to enable for commands-config events in stop-only mode.
Console> (enable)
Related Commands set accounting connect
set accounting exec
set accounting suppress
set accounting system
set accounting update
set tacacs server
show accounting
enable Enables the specified accounting method for commands.
config Permits accounting for configurat ion comm ands only.
enable Permits accounting for enable mode commands only.
all Permits accounting for all commands.
stop-only (Optional) Applies the accounting method at the command end.
tacacs+ Specifies TACACS+ accounting for commands.
disable Disables accounting for commands .