hit counter script

Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual page 414

Software guide
Table of Contents

Advertisement

Configuring Accounting
Task
Step 6
Configure accounting to be updated as new
information is available.
Step 7
Verify the accounting configuration.
This example shows how to enable stop-only TACACS+ accounting events:
Console> (enable) set accounting connect enable stop-only tacacs+
Accounting set to enable for connect events in stop-only mode.
Console> (enable)
Console> (enable) set accounting exec enable stop-only tacacs+
Accounting set to enable for exec events in stop-only mode.
Console> (enable)
Console> (enable) set accounting system enable stop-only tacacs+
Accounting set to enable for system events in stop-only mode.
Console> (enable)
Console> (enable) set accounting commands enable all stop-only tacacs+
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
-----
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)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
27-60
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 27
Configuring Switch Access Using AAA
Command
set accounting update {new-info | {periodic
[interval]}}
show accounting
78-12647-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents