Got it

How to configure dynamic vlan assignment via radius Highlighted

Latest reply: Sep 26, 2018 18:07:47 4373 3 1 0 0

Hi Guys,

To be able to assign VLANs dynamically from the RADIUS server you can use one of the following  standard attributes to deliver the VLAN attribute(RFC2865, RFC2866, and RFC3576 define standard RADIUS attributes, which are supported by all mainstream vendors):


Attribute No.      Attribute Name                              Description

64        Tunnel-Type                           Protocol type of the tunnel. The value is fixed as 13, indicating VLAN.

65        Tunnel-Medium-Type            Medium type used on the tunnel. The value is fixed as 6, indicating Ethernet.

81        Tunnel-Private-Group-ID      Tunnel private group ID, which is used to deliver user VLAN IDs.


How to configure the switch:



Device: S5700S-52P-LI-AC

Version: V200R003C00SPC300


vlan batch 10 301 501 710


dot1x enable

dot1x dhcp-trigger



 interface GigabitEthernet0/0/3

 description Test-port

 port hybrid pvid vlan 710

 undo port hybrid vlan 1

 port hybrid untagged vlan 301 501 710

 dot1x enable

 dot1x max-user 10

 authentication guest-vlan 710

 authentication restrict-vlan 710

 authentication critical-vlan 710

 dot1x authentication-method eap



Hope to find this case useful!

  • x
  • convention:

Created Feb 26, 2015 15:17:42

Is it possible to assign _multiple_ vlans to a port dynamically via 802.1x

ie: XYZ client connects, it gets vlan 1234 untagged and vlan 2345 tagged ?

View more
  • x
  • convention:

Created Dec 30, 2014 01:07:55

Thank you.
View more
  • x
  • convention:

HCIE Created Sep 26, 2018 18:07:47

That is possible with SVF?
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.