Understanding How Accounting Works; Accounting Overview; Accounting Events - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 30
Configuring Switch Access Using AAA

Understanding How Accounting Works

The following sections describe how accounting works.

Accounting Overview

You can configure these accounting methods to monitor access to the switch:
Accounting allows you to track user activity to a specified host, suspicious connection attempts in the
network, and unauthorized changes to the NAS configuration. The accounting information is sent to the
accounting server where it is saved as a record. Typically, accounting information consists of the user's
action and the duration for which the action lasted. You can use the accounting feature for security,
billing, and resource allocation purposes.
The accounting protocol operates in a client-server model, using TCP for transport. The NAS acts as the
client, and the accounting server acts as the daemon. The NAS sends accounting information to the
server. After successfully processing the information, the server sends a response to the NAS,
acknowledging the request. All transactions between the NAS and server are authenticated using a key.
After accounting has been enabled and an accountable event occurs on the system, the accounting
information is gathered dynamically in memory. When the event ends, an accounting record is created
and sent to the NAS; the system then deletes the record from memory. The amount of memory that is
used by the NAS for accounting varies depending on the number of concurrent accountable events.

Accounting Events

You can configure accounting for the following types of events:
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
TACACS+ accounting
RADIUS accounting
EXEC mode accounting—Provides information about user EXEC sessions (normal login sessions)
on the NAS. This information includes the duration of the EXEC session but does not include traffic
statistics.
Connect accounting—Provides information about all outbound connections from the NAS (such as
Telnet, rlogin).
If you get a connection immediately upon login and then your connection is terminated, the
Note
EXEC and connect events will overlap and will have almost identical start and stop times.
System accounting—Provides information on system events that are not related to users. This
information includes system reset, system boot, and user configuration of accounting.
Command accounting—Sends a record for each command that is issued by the user. This permits
audit trail information to be gathered.
Understanding How Accounting Works
30-47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents