You can configure an interface to use a single-tag VLAN or stacked (dual-tag) VLAN dynamic profile when creating dynamic VLANs. The dynamic profile assigns a VLAN ID to each VLAN dynamically created over the interface by using the single-tag VLAN and stacked VLAN ranges configured for the VLAN interface. You can configure VLAN interfaces to use dynamic profiles in the following ways:
Before you begin:
To associate a single-tag VLAN dynamic profile to an interface:
- [edit]
- user@host# edit interfaces ge-1/0/0
- [edit interfaces ge-1/0/0]
- user@host# edit auto-configure
- [edit interfaces ge-1/0/0 auto-configure]
- user@host# edit vlan-ranges
- [edit interfaces ge-1/0/0 auto-configure vlan-ranges]
- user@host# set dynamic-profile (VLAN) VLAN-PROF1
To associate a stacked (dual-tag) VLAN dynamic profile to an interface:
- [edit interfaces]
- user@host# edit interfaces ge-1/0/0
- [edit interfaces ge-1/0/0]
- user@host# edit auto-configure
- [edit interfaces ge-1/0/0 auto-configure]
- user@host# edit stacked-vlan-ranges
- [edit interfaces ge-1/0/0 auto-configure stacked-vlan-ranges]
- user@host# set dynamic-profile (Stacked VLAN) STACKED-VLAN-PROF1