1-25
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
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.
Description
Use the
vlan-assignment-mode
command to set the VLAN assignment mode (integer or string) on the
switch.
By default, the VLAN assignment mode is integer, that is, the switch supports its RADIUS authentication
server to assign integer VLAN IDs.
The dynamic VLAN assignment feature enables a switch to dynamically add the ports of successfully
authenticated users to different VLANs according to the attributes assigned by the RADIUS server, so
as to control the network resources that different users can access.
In actual applications, to use this feature together with Guest VLAN, you are recommended to set port
control to port-based mode.
Currently, the switch supports the following two types of assigned VLAN IDs: integer and string.
z
Integer: If the RADIUS authentication server assigns integer type of VLAN IDs, you can set the
VLAN assignment mode to integer on the switch (this is also the default mode on the switch). Then,
upon receiving an integer ID assigned by the RADIUS authentication server, the switch adds the
port to the VLAN whose VLAN ID is equal to the assigned integer ID. If no such a VLAN exists, the