Dynamic VLAN Example with Web-Based Network Login
After you finish the web-based network login configuration as described in Web-Based Network Login Configuration Example, complete the dynamic VLAN configuration by:
- Assigning one or more non-network-login ports as uplink ports
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. - Enabling the switch to dynamically create VLANs
Whether you have MAC-based, web-based, or 802.1X authentication, you use the same two commands to configure dynamic VLANs on the switch.
The following example configures dynamic VLANs on the
switch:
configure netlogin dynamic-vlan uplink ports 2:1-2:2 configure netlogin dynamic-vlan enable