3com 5500-ei pwr Guía De Referencia
1-26
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).
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.
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.
user is already online.
Related commands: domain, local-user.
You may use the display domain command or the display local-user command to view the status
information.
information.
Examples
# Set the ISP domain aabbcc.net to the block state, so that all its offline users cannot access the
network.
network.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain aabbcc.net
New Domain added.
[Sysname-isp-aabbcc.net] state block
# Set user1 to the block state.
<Sysname> system-view
System View: return to User View with Ctrl+Z.