![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 498](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462498.webp)
30-54
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 30 Configuring Switch Access Using AAA
Accounting Example
Figure 30-5 Example of a Network Topology
This example shows that accounting is enabled for connection, EXEC, system, and all
command accounting:
Console> (enable) set accounting connect enable stop-only
Accounting set to enable for connect events in stop-only mode.
Console> (enable) set accounting exec enable stop-only
Accounting set to enable for exec events in stop-only mode.
Console> (enable) set accounting commands enable all stop-only
Accounting set to enable for commands-all events in stop-only mode.
Console> (enable) set accounting update periodic 120
Accounting updates will be periodic at 120 minute intervals.
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)
Workstation A
server
172.20.52.10
Switch
Terminal
Console port
connection
18927