Command Manual – AAA & RADIUS & HWTACACS & EAD
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Huawei Technologies Proprietary
1-25
1.1.23 state
Syntax
state
{
active
|
block
}
View
ISP domain view or local user view
Parameter
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
: Hangs up 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 the status of the local user (in local user view).
By default, an ISP domain is in the
active
state once it is created, and a local user is in
the
active
state once the user is created.
After an ISP domain is set to the
block
state, except the online users, the users under
this domain are not allowed to access the network.
After the local user is set to the
block
state, the user is not allowed to access the
network.
Related command:
domain
.
Example
# Set the ISP domain aabbcc.net to the block state, so that all its offline users cannot
access the network.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] domain aabbcc.net
New Domain added.
[Quidway-isp-aabbcc.net] state block
# Set user1 to the block state.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] local-user user1
[Quidway-user-user1] state block