State - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Examples
# Authorize user user1 to use the Telnet service.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] service-type telnet

state

Syntax
state { active | block }
undo state
View
ISP domain view, local user view
Default Level
2: System level
Parameters
active: Places the current ISP domain or local user in the active state, allowing the users in the current
ISP domain or the current local user to request network services.
block: Places the current ISP domain or local user in the blocked state, preventing users in the current
ISP domain or the current local user from requesting network services.
Description
Use the state command to configure the status of the current ISP domain or local user.
Use the undo state command to restore the default.
By default, an ISP domain is active when created. So is a local user.
By blocking an ISP domain, you disable users of the domain that are offline from requesting network
services. Note that the online users are not affected.
By blocking a user, you disable the user from requesting network services. No other users are affected.
Related commands: domain.
Examples
# Place the current ISP domain test to the state of blocked.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] state block
# Place the current user user1 to the state of blocked.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] state block
1-30

Advertisement

Table of Contents
loading

Table of Contents