Configuring Dynamic 802.1Q VLANs
You can configure the router to dynamically create VLANs when a client accesses an interface and requests a VLAN ID that does not yet exist. When a client accesses a VLAN interface, the router instantiates a VLAN dynamic profile that you have associated with the interface. Using the settings in the dynamic profile, the router extracts information about the client from the incoming packet (for example, the interface and unit values), saves this information in the routing table, and creates a VLAN or stacked VLAN ID for the client from a range of VLAN IDs that you configure for the interface.
Dynamically configuring VLANs or stacked VLANs requires the following general steps:
Configure a dynamic profile for dynamic VLAN or dynamic stacked VLAN creation.
Associate the VLAN or stacked VLAN dynamic profile with the interface.
Specify the Ethernet packet type that the VLAN dynamic profile accepts.
Define VLAN ranges for use by the dynamic profile when creating VLAN IDs.
For procedures on how to configure dynamic VLANs and dynamic stacked VLANs for client access, see the Junos OS Subscriber Management and Services Library .