After you finish the web-based network login configuration as described in Web-Based Network Login Configuration Example, complete the dynamic VLAN (Virtual LAN) configuration by:
Note
Do not enable network login on uplink ports. If you specify an uplink port with network login enabled, the configuration fails and the switch displays an error message.Whether you have MAC-based, web-based, or 802.1X authentication, you use the same two commands to configure dynamic VLANs on the switch.
configure netlogin dynamic-vlan uplink ports 2:1-2:2 configure netlogin dynamic-vlan enable