Command Manual (For Soliton) – AAA
H3C S3100 Series Ethernet Switches
Chapter 1 AAA Configuration Commands
1-29
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
.
You may use the
display domain
command or the
display local-user
command to
view the status information.
Examples
# Set the ISP domain aabbcc.net to the block state, so that all its offline users cannot
access the 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.
[Sysname] local-user user1
[Sysname-user-user1] state block
1.1.27 vlan-assignment-mode
Syntax
vlan-assignment-mode
{
integer
|
string
}
View
ISP domain view
Parameters
integer
: Sets the VLAN assignment mode to integer.
string
: Sets the VLAN assignment mode to string.