Cisco WS-C2950SX-48-SI Configuration Manual page 496

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Configuring Accounting
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
-----
exec:
connect:
system:
commands:
config:
all:
TACACS+ 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:
Exec
Connect
Command
System
Console> (enable)
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)
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
30-52
Method
Mode
------- ----
tacacs+ stop-only
tacacs+ stop-only
tacacs+ stop-only
-
-
tacacs+ stop-only
Starts
Stops
Active
-----
-----
------
0
0
0
0
0
0
0
0
0
1
0
0
Chapter 30
Configuring Switch Access Using AAA
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
Release 8.1
78-15486-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents