4
Command Line Interface
Example
Console(config)#interface ethernet 1/2
Console(config-if)#accounting dot1x tps
Console(config-if)#
accounting exec
This command applies an accounting method to local console or Telnet connections.
Use the no form to disable accounting on the line.
Syntax
accounting exec {default | list-name}
no accounting exec
• default - Specifies the default method list created with the aaa accounting
exec command (page 4-117).
• list-name - Specifies a method list created with the aaa accounting exec
command.
Default Setting
None
Command Mode
Line Configuration
Example
Console(config)#line console
Console(config-line)#accounting exec tps
Console(config-line)#exit
Console(config)#line vty
Console(config-line)#accounting exec default
Console(config-line)#
accounting commands
This command applies an accounting method to entered CLI commands. Use the
no form to disable accounting for entered commands.
Syntax
accounting commands level {default | list-name}
no accounting commands level
• level - The privilege level for executing commands. (Range: 0-15)
• default - Specifies the default method list created with the aaa accounting
commands command (page 4-118).
• list-name - Specifies a method list created with the aaa accounting
commands command.
Default Setting
None
4-120
Need help?
Do you have a question about the iES4028F and is the answer not in the manual?
Questions and answers