Users Guide

Switch Management Commands 2057
Examples
Use the following command to enable exec type accounting for telnet.
console(config)#line telnet
console(config-telnet)# accounting exec default
authorization
Use the authorization command to apply a command authorization method
to a line config. Use the no form of the command to return the authorization
for the line mode to the default.
Syntax
authorization {commands|exec} [default|list-name]
no authorization {commands|exec}
commands—Perform authorization for each command entered by the
user.
exec—Perform Exec authorization for the user (authorization required
to enter privileged Exec mode).
default—The default list of methods for command authorization
(cmdAuthList).
list-name—Character string used to name the list of authorization
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
Authorization is not enabled on any line method by default.
Command Mode
Line console, line telnet, line SSH
User Guidelines
When command authorization is configured for a line-mode, the switch
sends information about the entered command to the method specified in
the command list. The authorization method validates the received