![Alied Telesis GS970M/10 Скачать руководство пользователя страница 135](http://html1.mh-extra.com/html/alied-telesis/gs970m-10/gs970m-10_command-reference-manual_2896773135.webp)
C613-50163-01 Rev C
Command Reference for GS970M Series
135
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
U
SER
A
CCESS
C
OMMANDS
ENABLE
SECRET
Note that the
command is an alias for the
command and one password per privilege level is allowed using these commands.
Do not assign one password to a privilege level with
and another
password to a privilege level with
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
command. First, use the enable password command to specify the string that you
want to use as a password (
mypasswd
). Then, use the
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
command for this method.
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