60
undo password
Default
A network access user does not have a password and can pass authentication after entering the
correct username and passing attribute checks.
Views
Network access user view
Predefined user roles
network-admin
mdc-admin
Parameters
cipher
: Specifies a password in encrypted form.
simple
: Specifies a password in plaintext form. For security purposes, the password specified in
plaintext form will be stored in encrypted form.
string
: Specifies the password string. Its plaintext form is a case-sensitive string of 1 to 63 characters.
Its encrypted form is a case-sensitive string of 1 to 117 characters.
Usage guidelines
As a best practice to enhance security, configure a password for each network access user.
Examples
# Set the password to
123456TESTuser&!
in plaintext form for network access user
user1
.
<Sysname> system-view
[Sysname] local-user user1 class network
[Sysname-luser-network-user1] password simple 123456TESTuser&!
Related commands
display local-user
phone
Use
phone
to specify the phone number of a local guest.
Use
undo phone
to restore the default.
Syntax
phone phone-number
undo phone
Default
No phone number is specified for a local guest.
Views
Local guest view
Predefined user roles
network-admin
mdc-admin