21-62
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Accounting
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)
This example shows how to disable suppression of unknown users:
Console> (enable)
set accounting suppress null-username disable
Accounting will be not be suppressed for user with no username.
Console> (enable)
This example shows how to verify the configuration:
Console> (enable)
show accounting
Event Method Mode
----- ------- ----
exec: - -
connect: - -
system: - -
commands:
config: - -
all: - -
Suppress for no username: disabled
Update Frequency: new-info
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 2 0
Console> (enable)
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
Task
Command