70
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
CLI N
AVIGATION
C
OMMANDS
ENABLE
(P
RIVILEGED
E
XEC
MODE
)
enable (Privileged Exec mode)
Overview
This command enters the Privileged Exec mode and optionally changes the
privilege level for a session. If a privilege level is not specified then the maximum
privilege level (15) is applied to the session. If the optional privilege level is omitted
then only users with the maximum privilege level can access Privileged Exec mode
without providing the password as specified by the
enable password
or
enable
secret
commands. If no password is specified then only users with the maximum
privilege level set with the
username
command can assess Privileged Exec mode.
Syntax
enable [<
privilege-level
>]
Mode
User Exec
Usage
Many commands are available from the Privileged Exec mode that configure
operating parameters for the device, so you should apply password protection to
the Privileged Exec mode to prevent unauthorized use. Passwords can be
encrypted but then cannot be recovered. Note that non-encrypted passwords are
shown in plain text in configurations.
The
username
command sets the privilege level for the user. After login, users are
given access to privilege level 1. Users access higher privilege levels with the
enable (Privileged Exec mode)
command. If the privilege level specified is higher
than the users configured privilege level specified by the
username
command,
then the user is prompted for the password for that level.
Note that a separate password can be configured for each privilege level using the
enable password
and the
enable secret
commands from the Global Configuration
mode. The
service password-encryption
command encrypts passwords
configured by the
enable password
and the
enable secret
commands, so
passwords are not shown in plain text in configurations.
Example
The following example shows the use of the
enable
command to enter the
Privileged Exec mode (note the change in the command prompt).
awplus>
enable
awplus#
The following example shows the
enable
command enabling access the
Privileged Exec mode for users with a privilege level of 7 or greater. Users with a
privilege level of 7 or greater do not need to enter a password to access Privileged
Exec mode. Users with a privilege level 6 or less need to enter a password to access
Parameter
Description
<
privilege
- level
>
Specify the privilege level for a CLI session in the range <
1-15
>, where
15 is the maximum privilege level, 7 is the intermediate privilege level
and 1 is the minimum privilege level. The privilege level for a user must
match or exceed the privilege level set for the CLI session for the user
to access Privileged Exec mode. Privilege level for a user is configured
by
username
.