Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-28
undo service-type
{
lan-access
|
{
telnet
|
ssh
|
terminal
}* }
View
Local user view
Parameter
lan-access
: Specifies that this is a LAN access user (who is generally an Ethernet
access user, for example, 802.1x user).
telnet
: Authorizes the user to access the Telnet service.
ssh
: Authorizes the user to access the SSH service.
terminal
: Authorizes the user to access the terminal service (that is, allows the user to
log into the switch through the Console port).
level level
: Specifies the level of the Telnet, terminal or SSH user. Where,
level
is an
integer ranging from 0 to 3 and defaulting to 0.
Description
Use the
service-type
command to authorize the user to access the specified type(s) of
service(s).
Use the
undo service-type
command to inhibit the user from accessing the specified
type(s) of service(s).
By default, the user is inhibited from accessing any type of service.
Example
# Authorize user1 to access the Telnet service.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
[Sysname-luser-user1] service-type telnet
1.1.27 service-type ftp
Syntax
service-type ftp
[
ftp-directory directory
]
undo service-type ftp
[
ftp-directory
]
View
Local user view