![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644508.webp)
Command Line Interface
4-130
4
Example
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-127).
•
list-name -
Specifies a method list created with the
aaa accounting exec
command.
Default Setting
None
Command Mode
Line Configuration
Example
accounting commands
This command applies an accounting method to entered CLI commands. Use the
no
form to disable accounting for entered CLI 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-128).
•
list-name -
Specifies a method list created with the
aaa accounting
commands
command.
Default Setting
None
Console(config)#interface ethernet 1/2
Console(config-if)#accounting dot1x tps
Console(config-if)#
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)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......