39-59
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 39 Configuring the Switch Access Using AAA
Configuring Accounting on the Switch
Figure 39-5
Example Network Topology
In this example, 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