39-57
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 39 Configuring the Switch Access Using AAA
Configuring Accounting on the Switch
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:
This example shows how to disable stop-only accounting:
Console> (enable)
set accounting connect disable
Accounting set to disable for connect events.
Console> (enable)
Console> (enable)
set accounting exec disable
Accounting set to disable for exec events.
Console> (enable)
Console> (enable)
set accounting system disable
Accounting set to disable for system events.
Console> (enable)
Console> (enable)
set accounting commands disable
Accounting set to disable for commands-all events.
Console> (enable)
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
Step 4
Disable accounting of configuration commands.
set accounting commands
disable
Step 5
Disable suppression of information for unknown
users.
set accounting suppress null-username
disable
Step 6
Verify the accounting configuration.
show accounting