[Contents] [Prev] [Next] [Index] [Report an Error]

# accounting

#### Syntax

accounting { exec | commands level } listName

no accounting { exec | commands level }

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Enables AAA accounting services on a console line, a virtual terminal line, or a group of lines and applies the specified accounting method list. The no version restores the default method list.

| Note: To disable accounting for a console line or virtual terminal line, specify a nonexisting accounting method list name (for example, noAccounting).

#### Options

- exec—Specifies that accounting information is captured for User Exec terminal sessions on the line
- level—Privilege level of User Exec mode commands for which accounting information is captured; in the range 0–15
- listName—Named method list used to specify how accounting is performed

#### Mode

Line Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]