The service-type command configures the user access type in a domain.
The undo service-type command restores the default configuration.
By default, a local user can use any access type.
Parameter | Description | Value |
---|---|---|
ftp |
Indicates FTP users. |
- |
ppp |
Sets the access type of the local user to PPP. |
- |
ssh |
Indicates SSH users. |
- |
telnet |
Indicates Telnet users, which usually refers to administrators. |
- |
terminal |
Indicates terminal users, which usually refer to VTY users. |
- |
snmp |
Indicates SNMP users. |
- |
qx |
Sets the access type of the local user to QX. |
- |
mml |
Sets the access type of the local user to MML. |
- |
http |
Sets the access type of the local user to HTTP. |
- |
Usage Scenario
To configure the user access type for a domain, run the service-type command.
Prerequisites
A domain has been created.
Precautions
The local-user service-type command configures the user access type for a specific user. When a user attempts to log in, the access type configured in the domain view and the access type configured using the local-user service-type command are checked in sequence. The user is allowed to log in only when both access types are authenticated.