61
Parameters
phone-number
: Specifies the phone number, a string of 1 to 32 characters that can contain only
digits and hyphens (-).
Examples
# Specify the phone number as
138-137239201
for local guest
abc
.
<Sysname> system-view
[Sysname] local-user abc class network guest
[Sysname-luser-network(guest)-abc] phone 138-137239201
Related commands
display local-user
service-type (local user view)
Use
service-type
to specify the service types that a local user can use.
Use
undo service-type
to remove service types configured for a local user.
Syntax
In non-FIPS mode:
service-type
{
ftp
|
lan-access
| {
http
|
https
|
onu
|
ssh
|
telnet
|
terminal
} * |
portal
}
undo service-type
{
ftp
|
lan-access
| {
http
|
https
|
onu
|
ssh
|
telnet
|
terminal
} * |
portal
}
In FIPS mode:
service-type
{
lan-access
| {
https
|
onu
|
ssh
|
terminal
} * |
portal
}
undo service-type
{
lan-access
| {
https
|
onu
|
ssh
|
terminal
} * |
portal
}
Default
A local user is not authorized to use any service.
Views
Local user view
Predefined user roles
network-admin
mdc-admin
Parameters
ftp
: Authorizes the user to use the FTP service. The authorized directory can be modified by using
the
authorization-attribute work-directory
command.
http
: Authorizes the user to use the HTTP service.
https
: Authorizes the user to use the HTTPS service.
lan-access
: Authorizes the user to use the LAN access service. The users are typically Ethernet
users, for example, 802.1X users.
onu
: Authorizes the user to use the ONU service.
ssh
: Authorizes the user to use the SSH service.
telnet
: Authorizes the user to use the Telnet service.
terminal
: Authorizes the user to use the terminal service and log in from a console port.
portal
: Authorizes the user to use the portal service.