Users Guide

Table Of Contents
Switch Management Commands 2056
Line Commands
Authentication commands related to line configuration mode are in
DHCP
Client Commands
.
accounting
Use the accounting command in Line Configuration mode to apply an
accounting method to a line config.
Use the no form of the command to return the accounting for the line mode
to the default.
Syntax
accounting {exec|commands} [default|list-name]
no accounting
exec—Provides accounting for a user Exec terminal session.
commands—Provides accounting for all user-executed commands.
default—The default list of methods for accounting services.
list-name—Character string of not more than 15 characters used to
name the list of accounting methods. The list name can consist of any
printable character other than a question mark. Use quotes around the
list name if embedded blanks are contained in the list name.
Default Configuration
Accounting is not enabled by default.
Command Mode
Line Configuration
User Guidelines
When enabling accounting for exec mode for the current line-configuration
type, users logged in with that mode will be logged out.