Administrator Guide
Switch Management Commands 2007
Default Configuration
Accounting is not enabled by default.
Command Mode
Line Configuration
User Guidelines
When enabling accounting for exec mode for the current line-configuration
type, users logged in with that mode will be logged out.
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.