C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
71
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
U
SER
A
CCESS
C
OMMANDS
ENABLE
SECRET
Do not assign one password to a privilege level with
enable password
and another
password to a privilege level with
enable secret
. Use
enable password
or
enable
secret
commands. Do not use both on the same level.
Using plain
passwords
The plain password is a clear text string that appears in the configuration file as
configured.
awplus#
configure terminal
awplus(config)#
enable secret mypasswd
awplus(config)#
end
This results in the following show output:
Using encrypted
passwords
Configure an encrypted password using the
service password-encryption
command. First, use the enable password command to specify the string that you
want to use as a password (
mypasswd
). Then, use the
service
password-encryption
command to encrypt the specified string (
mypasswd
). The
advantage of using an encrypted password is that the configuration file does not
show
mypasswd
, it will only show the encrypted string
fU7zHzuutY2SA
.
awplus#
configure terminal
awplus(config)#
enable secret mypasswd
awplus(config)#
service password-encryption
awplus(config)#
end
This results in the following show output:
Using hidden
passwords
Configure an encrypted password using the
HIDDEN
parameter (
8
) with the
enable password
command. Use this method if you already know the encrypted
string corresponding to the plain text string that you want to use as a password. It
is not required to use the
service password-encryption
command for this method.
The output in the configuration file will show only the encrypted string, and not
the text string:
awplus#
configure terminal
awplus(config)#
enable secret 8 fU7zHzuutY2SA
awplus(config)#
end
awplus#show run
Current configuration:
hostname awplus
enable password mypasswd
!
interface lo
awplus#show run
Current configuration:
hostname awplus
enable password 8 fU7zHzuutY2SA
service password-encryption
!
interface lo