CLI Guide

Table Of Contents
Security Commands 936
When command authorization is configured for a line mode, the switch
sends information about the entered command to the AAA server. The AAA
server validates the received command and responds with a PASS or FAIL. If a
PASS response is received, the command is executed. If a FAIL response is
received, the command is not executed and a message is displayed to the user.
Command authorization attempts authorization for all Exec mode
commands associated with a privilege level, including global configuration
commands. Exec authorization attempts authorization when a user attempts
to enter Privileged Exec mode.
When exec authorization is configured for a line mode, the use may not be
required to use the enable command to enter Privileged Exec mode. If the
authorization response indicates the user has privileges for Privileged Exec
mode, then the switch bypasses User Exec mode entirely.
If multiple authorization methods are listed, the switch will attempt
communication with each method in order, until successful communication
is established or all methods in the list have been tried. If authorization fails,
then the command is denied and no further attempts at authorization are
made for the user request.
If no authorization server is available or configured, the function is denied
unless the none method is configured in the list. If authorization is
configured on the console, this can lead to situations where the console
denies administrative access. Therefore, it is recommended that the console
authorization only be enabled with due regard to the risks involved. If none is
configured as the last method after radius or tacacs, no authorization is
performed if the RADIUS/TACACS servers are down.
The various utility commands like tftp, ping, outbound telnet also must pass
command authorization. Applying a script is treated as a single command
apply script which also must pass authorization. Startup-config commands
applied on device boot-up are not subject to the authorization process.
Refer to the Line Commands section for information on configured an
authorization method for a particular type of line access.
Method Notes
Local The local method is not supported for command authorization.
This method is equivalent to selecting the none method when
used for Exec authorization.