40
Parameters
group-name: User group name, a case-insensitive string of 1 to 32 characters.
Examples
# Assign device management user 111 to user group abc.
<Sysname> system-view
[Sysname] local-user 111 class manage
[Sysname-luser-manage-111] group abc
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 | lan-access |portal |
ppp | 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. A local user name cannot contain a forward slash (/), backslash (\), vertical bar (|),
colon (:), asterisk (*), question mark (?), left angle bracket (<), right angle bracket (>), or at sign (@). The
name cannot be a, al, or all, either.
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. Network
access users can use LAN access, portal, and PPP services.
all: Specifies all users.
service-type: Specifies the local users who use a specific type of service.
• ftp: FTP users.
• lan-access: LAN users who typically access the network through an Ethernet, such as 802.1X users.
• portal: Portal users.
• ppp: PPP users.