2-200
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set accounting system
set accounting system
To enable accounting of system events on the switch, use the set accounting system command.
set accounting system enable {start-stop | stop-only} {tacacs+ | radius}
set accounting system disable
Syntax Description
Defaults The default is accounting is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines You must configure the RADIUS or TACACS+ servers and shared secret keys before you enable
accounting.
Examples This example shows how to enable accounting for system events, sending records only at the end of the
event using a RADIUS server:
Console> (enable) set accounting system enable stop-only radius
Accounting set to enable for system events in start-stop mode..
Console> (enable)
This example shows how to enable accounting for system events, sending records only at the end of the
event using a TACACS+ server:
Console> (enable) set accounting system enable stop-only tacacs+
Accounting set to enable for system events in start-stop mode..
Console> (enable)
enable Enables the specified accounting method for system events.
start-stop Specifies the accounting method applies at the start and stop of the
system event.
stop-only Specifies the accounting method applies at the end of the system
event.
tacacs+ Specifies TACACS+ accounting for system events.
radius Specifies RADIUS accounting for system events.
disable Disables accounting for system events.