C
HAPTER
27
| Authentication Commands
AAA
– 676 –
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, Telnet or
SSH 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.
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)#
authorization exec This command applies an authorization method to local console, Telnet or
SSH connections. Use the no form to disable authorization on the line.
SYNTAX
authorization exec {default | list-name}
no authorization exec
default - Specifies the default method list created with the aaa
authorization exec command.
list-name - Specifies a method list created with the aaa
authorization exec command.
DEFAULT SETTING
None