State - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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.
Description
Use the state command to set the status of current ISP domain (in ISP domain view) or current local
user (in local user view).
By default, an ISP domain/local user is in the active state once it is created.
After an ISP domain is set to the block state, except for online users, users in this domain are inhibited
from accessing the network.
After a local user is set to the block state, the user is inhibited from accessing the network unless the
user is already online.
Related commands: domain, local-user.
1-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents