21-61
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Accounting
Console> (enable)
set accounting exec enable stop-only
Accounting set to enable for exec events in stop-only mode.
Console> (enable)
Console> (enable)
set accounting system enable stop-only
Accounting set to enable for system events in stop-only mode.
Console> (enable)
Console> (enable)
set accounting commands enable all stop-only
Accounting set to enable for commands-all events in stop-only mode.
Console> (enable)
This example shows how to suppress accounting of unknown users:
Console> (enable)
set accounting suppress null-username enable
Accounting will be suppressed for user with no username.
Console> (enable)
This example shows how to periodically update the server:
Console> (enable)
set accounting update periodic 120
Accounting updates will be periodic at 120 minute intervals.
Console> (enable)
This example shows how to verify the configuration:
Console> (enable)
show accounting
Event Method Mode
----- ------- ----
exec: stop-only
connect: stop-only
system: stop-only
commands:
config: - -
all: stop-only
Suppress for no username: enabled
Update Frequency: periodic, Interval = 120
Accounting information:
-----------------------
Active Accounted actions on tty0, User (null) Priv 0
Active Accounted actions on tty288091924, User (null) Priv 0
Overall Accounting Traffic:
Starts Stops Active
----- ----- ------
Exec 0 0 0
Connect 0 0 0
Command 0 0 0
System 1 0 0
Console> (enable)
Disabling Accounting
To disable RADIUS accounting on the switch, perform this task in privileged mode:
Task
Command
Step 1
Disable accounting for connection events.
set accounting connect
disable
Step 2
Disable accounting for EXEC mode.
set accounting exec disable
Step 3
Disable accounting for system events.
set accounting system disable