2-241
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting connect
set accounting connect
To enable accounting of outbound connection events on the switch, use the set accounting connect
command.
set accounting connect enable {start-stop | stop-only} {tacacs+ | radius}
set accounting connect 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 on Telnet and remote login sessions, generating recor ds
at stop only using a TACACS+ server:
Console> (enable) set accounting connect enable stop-only tacacs+
Accounting set to enable for connect events in stop-only mode.
Console> (enable)
Related Commands set accounting comma nds
set accounting exec
set accounting suppress
set accounting system
set accounting update
set radius key
set radius server
set tacacs key
set tacacs server
show accounting
enable Enables the specified accounting method for connection events.
start-stop Applies the accounting method at the start and stop of the connection event.
stop-only Applies the accounting method at the end of the connection event.
tacacs+ Specifies TACACS+ accounting for connection events.
radius Specifies RADIUS accounting for connection events.
disable Disables a ccou nti ng of c onn ect ion events.