cisco — Troubleshooting Accounting

Establishing a Session with a Device if the AAA Server Is Unreachable To establish a console session with a device if the AAA server is unreachable, use the following command in global configuration mode: Monitoring Accounting No specific show command exists for either RADIUS or TACACS+ accounting. To obtain accounting records displaying information about users logged in, use the following command in privileged EXEC mode: Troubleshooting Accounting To troubleshoot accounting information, use the following command in privileged EXEC mode:

Configuring Accounting Establishing a Session with a Device if the AAA Server Is Unreachable Command Purpose Device(config)# aaa dnis map dnis-number accounting network [start-stop | stop-only | none] [broadcast] method1 [method2...] Allows per-DNIS accounting configuration. This command has precedence over the global aaa accounting command. Enables sending accounting records to multiple AAA servers. Simultaneously sends accounting records to the first server in each group. If the first server is unavailable, failover occurs using the backup servers defined within that group.

Command or Action Purpose no aaa accounting system guarantee-first The aaa accounting system guarantee-first command guarantees system accounting as the first record, which is the default condition. In some situations, users may be prevented from starting a session on the console or terminal connection until after the system reloads, which can take more than three minutes. To resolve this problem, use the no aaa accounting system guarantee-first command. CommandorAction Purpose show accounting Allows display of the active accountable events on the network and helps collect information in the event of a data loss on the accounting server.

Command or Action Purpose debug aaa accounting Displays information on accountable events as they occur. Configuring Accounting 21