
1-26
switch first creates a VLAN with the assigned ID, and then adds the port to the newly created
VLAN.
z
String: If the RADIUS authentication server assigns string type of VLAN IDs, you can set the VLAN
assignment mode to string on the switch. Then, upon receiving a string ID assigned by the RADIUS
authentication server, the switch compares the ID with existing VLAN names on the switch. If it
finds a match, it adds the port to the corresponding VLAN. Otherwise, the VLAN assignment fails
and the user fails the authentication.
The switch supports two dynamic VLAN assignment modes to adapt to different authentication servers.
You are recommended to configure the switch according to the dynamic VLAN assignment mode used
by the server.
Table 1-4
lists several commonly used RADIUS servers and their dynamic VLAN assignment modes.
Table 1-4
Commonly used servers and their dynamic VLAN assignment modes
Server
Dynamic VLAN assignment mode
CAMS
Integer
For the latest CAMS version, you can determine
the assignment mode by attribute value.
ACS String
FreeRADIUS
You can determine the assignment mode by
attribute value (for example, 100 is integer; “100”
is string).
Shiva Access Manager
String
Steel-Belted Radius Administrator
String
In string mode, if the VLAN ID assigned by the RADIUS server is a character string containing only
digits (for example, 1024), the switch first regards it as an integer VLAN ID: the switch transforms the
string to an integer value and judges if the value is in the valid VLAN ID range; if it is, the switch adds the
authenticated port to the VLAN with the value as the VLAN ID (VLAN 1024, for example).
Related commands:
name
.
Examples
# Set the VLAN assignment mode of the domain h3c163.net to
string
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain aabbcc.net
New Domain added.
[Sysname-isp-aabbcc.net] vlan-assignment-mode string