Accounting Attribute-Value Pairs The network access server monitors the accounting functions defined in either TACACS+ AV pairs or RADIUS attributes, depending on which security method is implemented. How to Configure AAA Accounting Configuring AAA Accounting Using Named Method Lists To configure AAA Accounting using named method lists, perform the following steps: System accounting does not use named method lists. For system accounting, define only the default method list. Note Procedure Configuring Accounting Accounting Attribute-Value Pairs DisconnectedSessions Total number of sessions that have been disconnected using since last system reinstallation.
Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 aaa accounting {system | network | exec | connection | commands level} {default | list-name} {start-stop | stop-only | none} [method1 [method2...]] Example: Device(config)# aaa accounting system default start-stop Creates an accounting method list and enables accounting. The argument list-name is a character string used to name the created list. Step 4 Do one of the following:
• line [aux | console | tty | vty] line-number [ending-line-number] • interface interface-type interface-number Example: Enters the line configuration mode for the lines to which the accounting method list is applied. or Enters the interface configuration mode for the interfaces to which the accounting method list is applied. Configuring Accounting 15