Use this command in Line Configuration mode to apply the accounting method list to a line config (console/telnet/ssh).
Format | accounting {exec | commands} {default | list_name} |
Mode | Line Configuration |
Parameter | Description |
---|---|
exec | Causes accounting for an EXEC session. |
commands | This causes accounting for each command execution attempt. If a user is enabling accounting for exec mode for the current line-configuration type, the user will be logged out. |
default | The default Accounting List. |
list_name | Enter a string of not more than 15 characters. |
The following is a example of the command.
(Extreme 220) (Routing) # (Extreme 220) (Routing) #configure (Extreme 220) (Config) #line telnet (Extreme 220) (Routing)(Config-line)# accounting exec default (Extreme 220) (Routing) #exit