Disabling Accounting - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 27
Configuring Switch Access Using AAA

Disabling Accounting

To disable accounting on the switch, perform this task in privileged mode:
Task
Step 1
Disable accounting for connection events.
Step 2
Disable accounting for EXEC mode.
Step 3
Disable accounting for system events.
Step 4
Disable accounting of configuration commands.
Step 5
Disable suppression of information for unknown
users.
Step 6
Verify the accounting configuration.
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
-----
exec:
connect:
system:
commands:
config:
all:
TACACS+ 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:
78-12647-02
Method
Mode
------- ----
-
-
-
-
-
-
-
-
-
-
Starts
Stops
Active
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
set accounting connect disable
set accounting exec disable
set accounting system disable
set accounting commands disable
set accounting suppress null-username disable
show accounting
Configuring Accounting
27-61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents