Navigation
Supported Platforms
Configuring VLAN Interfaces to Use Dynamic Profiles
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:
Associating a Single-Tag VLAN Dynamic Profile with an Interface
Before you begin:
- Configure the VLAN dynamic profile.
To associate a single-tag VLAN dynamic profile with an interface:
- Access the interface that you want to use for creating
VLANs.[edit]user@host# edit interfaces ge-1/0/0
- Edit the auto-configure stanza to automatically configure VLANs.[edit interfaces ge-1/0/0]user@host# edit auto-configure
- Edit the vlan-ranges stanza.[edit interfaces ge-1/0/0 auto-configure]user@host# edit vlan-ranges
- Specify the dynamic VLAN profile that you want the interface
to use.[edit interfaces ge-1/0/0 auto-configure vlan-ranges]user@host# set dynamic-profile VLAN-PROF1
Associating a Stacked VLAN Dynamic Profile with an Interface
To associate a stacked (dual-tag) VLAN dynamic profile with an interface:
- Access the interface that you want to use for creating
VLANs.[edit interfaces]user@host# edit interfaces ge-1/0/0
- Edit the auto-configure stanza to automatically configure the stacked VLANs.[edit interfaces ge-1/0/0]user@host# edit auto-configure
- Edit the stacked-vlan-ranges stanza.[edit interfaces ge-1/0/0 auto-configure]user@host# edit stacked-vlan-ranges
- Specify the dynamic VLAN profile that you want the interface
to use.[edit interfaces ge-1/0/0 auto-configure stacked-vlan-ranges]user@host# set dynamic-profile STACKED-VLAN-PROF1