![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg794.png)
1940 CHAPTER 127: AAA CONFIGURATION COMMANDS
Example # Set the level of user user1 to 3.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] level 3
local-user
Syntax local-user user-name
undo local-user { user-name | all [ service-type { dvpn | ftp | lan-access | pad | ppp |
ssh | telnet | terminal }}
View System view
Parameter 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 any backward slash (),
forward slash (/), vertical line (|), colon (:), asterisk (*), question mark (?), less-than
sign (<), greater-than sign (>) and the @ sign and cannot be a, al, or all.
all: Specifies all users.
service-type: Specifies the users of a type.
■ dvpn refers to users using DVPN tunnel,
■ ftp refers to users using FTP,
■ lan-access refers to users accessing the network through an Ethernet, such as
802.1x users,
■ pad refers to users using x.25 PAD,
■ ppp refers to users using PPP,
■ ssh refers to users using SSH,
■ telnet refers to users using Telnet,
■ terminal refers to users logging in through the console port, AUX port, or
Asyn port.
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 command: display local-user, service-type.
Example # Add a local user named user1.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1]