34
asterisk (*), question mark (?), left bracket (<), right bracket (>), and at sign (@), and cannot be a, al, or
all.
all: Specifies all users.
service-type: Specifies the users of a type.
• ftp: FTP users.
• lan-access: Users accessing the network through an Ethernet, such as 802.1X users.
• portal: Portal users.
• ssh: SSH users.
• telnet: Telnet users.
• terminal: Users logging in through the console port.
• web: Web users.
Description
Use the local-user command to add a local user and enter local user view.
Use the undo local-user command to remove the specified local users.
By default, no local user is configured.
Related commands: display local-user and service-type.
Examples
# Add a local user named user1.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1]
password
Syntax
In non-FIPS mode:
password [ [ hash ] { cipher | simple } password ]
undo password
In FIPS mode:
password
View
Local user view
Default level
2: System level
Parameters
hash: Enables hash-based encryption.
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string.