Password - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Examples
# Set the name of VLAN 100 to test.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 100
[Sysname-vlan100] name test

password

Syntax
password { simple | cipher } password
undo password
View
Local user view
Parameters
simple: Specifies the password in plain text.
cipher: Specifies the password in cipher text.
password: Password to be set:
For simple mode, the password you input must be a plain-text password.
For cipher mode, the password can be either a cipher-text password or a plain-text password, and
what it is depends on your input.
A password in plain text can be a string of up to 63 consecutive characters, for example, aabbcc. A
password
in
(TT8F]Y\5SQ=^Q`MAF4<1!!.
Description
Use the password command to set a password for the local user.
Use the undo password command to cancel the password of the local user.
Note that:
With the local-user password-display-mode cipher-force command configured, the password is
always displayed in cipher text, regardless of the configuration of the password command.
With the cipher keyword specified, a password of up to 16 characters in plain text will be encrypted
into a password of 24 characters in cipher text, and a password of 16 to 63 characters in plain text
will be encrypted into a password of 88 characters in cipher text. For a password of 24 characters,
if the system can decrypt the password, the system treats it as a password in cipher text. Otherwise,
the system treats it as a password in plain text.
Related commands: display local-user.
Examples
# Set the password of user1 to 20030422 and specify to display the password in plain text.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
cipher
text
can
be
a
string
of
24
or
1-20
88
characters,
for
example,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents