service-type
Syntax
In non-FIPS mode:
service-type { ftp | lan-access | { ssh | telnet | terminal } * | portal | web }
undo service-type { ftp | lan-access | { ssh | telnet | terminal } * | portal | web }
In FIPS mode:
service-type { lan-access | { ssh | terminal } * | portal | web }
undo service-type { lan-access | { ssh | terminal } * | portal | web }
View
Local user view
Default level
3: Manage level
Parameters
ftp: Authorizes the user to use the FTP service. The user can use the root directory of the FTP server by default.
lan-access: Authorizes the user to use the LAN access service. Such users are mainly Ethernet users, for example, 802.1X users.
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, allowing the user to log in through the console port.
portal: Authorizes the user to use the portal service. This keyword is available only on the HPE 3100 v2 EI switches.
web: Authorizes the user to use the Web service.
Description
Use service-type to specify the service types that a user can use.
Use undo service-type to delete service types configured for a user.
By default, a user is authorized with no service.
You can execute the service-type command repeatedly to specify multiple service types for a user.
Examples
# Authorize user user1 to use the Telnet service.
<Sysname> system-view [Sysname] local-user user1 [Sysname-luser-user1] service-type telnet