The guest attribute is set for the system predefined user group system by default, and you cannot remove
the attribute for the user group.
Examples
# Set the guest attribute for user group test.
<Sysname> system-view
[Sysname] user-group test
[Sysname-ugroup-test] group-attribute allow-guest
local-user
Syntax
local-user user-name
undo local-user { user-name | all [ service-type { ftp | lan-access | portal | ssh | telnet | terminal |
web } ] }
View
System view
Default level
3: Manage level
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 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.
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 or AUX 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
34