State - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

View
Local user view
Parameters
ftp: Specifies that this is an FTP user.
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. Here, level is an integer ranging from
0 to 3 and defaulting to 0.
Description
Use the service-type command to authorize a user to access one or more types of services.
Use the undo service-type command to inhibit a user from accessing specified types of services.
By default, a user is inhibited from accessing any type of service.
You may user the display local-user command to view the types of services that a user is authorized to
access.
Examples
# Authorize user1 to access the Telnet service.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
New local user added.
[Sysname-luser-user1] service-type telnet

state

Syntax
state { active | block }
View
ISP domain view, local user view
Parameters
active: Activates the current ISP domain (in ISP domain view) or local user (in local user view), to allow
users in current ISP domain or current local user to access the network.
block: Blocks the current ISP domain (in ISP domain view) or local user (in local user view), to inhibit
users in current ISP domain or current local user from accessing the network.
1-30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents