R21xx-HP FlexFabric 11900 Security Command Reference
22
Related commands
display local-user
local-user
Use local-user to add a local user and enter local user view.
Use undo local-user to remove local users.
Syntax
local-user user-name [ class { manage | network } ]
undo local-user { user-name class { manage | network } | all [ service-type { ftp | ssh | telnet | terminal }
| class { manage | network } ] }
Default
No local user exists.
Views
System view
Predefined user roles
network-admin
Parameters
user-name: Name for the local user, a case-sensitive string of 1 to 55 characters that does not contain the
domain name. It cannot contain back slash (\), slash (/), vertical bar (|), colon (:), asterisk (*), question
mark (?), left angle bracket (<), right angle bracket (>), or at sign (@), and cannot be a, al, or all.
class: Specifies the local user type.
• manage: Device management user, who can configure and monitor the device after login. Device
management users can use FTP, Telnet, SSH, and terminal services.
• network: Network access user, who accesses network resources through the device.
all: Specifies all users.
service-type: Specifies the local users who use a specified type of service.
• ftp: FTP users.
• ssh: SSH users.
• telnet: Telnet users.
• terminal: Terminal users, users logging in through a console port
Usage guidelines
If you do not specify the class { manage | network } option, this command adds a device management
user.
Examples
# Add a device management user named user1.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1]
# Add a network access user named user2.










