Configuring an Interface to Use the Dynamic Profile Configured to Create Stacked VLANs
You can configure an interface to use a dynamic profile when the dynamic VLANs are created. The dynamic profile uses the VLAN ranges configured for the interface.
To configure the interface:
-
Specify the interface over which you want to create dynamic VLANs.
user@host# edit interfaces ge-0/0/0
-
Specify that this interface is for use with stacked VLAN ranges.
[edit interfaces ge-0/0/0] user@host# set stacked-vlan-tagging
-
Specify the VLAN range configuration.
[edit interfaces ge-0/0/0] user@host# edit auto-configure stacked-vlan-ranges
-
Specify the dynamic profile used to create VLANs. To create the dynamic
profile, see Configuring a Dynamic Profile Used to Create
Stacked VLANs.
[edit interfaces ge-0/0/0 auto-configure stacked-vlan-ranges] user@host# edit dynamic-profile STACKED-VLAN-PROF1
-
Specify the VLAN Ethernet packet type the VLAN dynamic profile accepts.
inetanddhcp-v4for IPv4 packets,inet6anddhcp-v6for IPv6 packets, andpppoefor PPP packets are supported.[edit interfaces ge-0/0/0 auto-configure stacked-vlan-ranges dynamic-profile STACKED-VLAN-PROF1] user@host# set accept inet
-
Specify the outer and inner stacked VLAN ranges that you want the dynamic
profile to use. The following example specifies an outer stacked VLAN ID range
from 2000 through 4000 and an inner stacked VLAN ID range of
any(enabling a range from 1 through 4094 for the inner stacked VLAN ID).[edit interfaces ge-0/0/0 auto-configure stacked-vlan-ranges dynamic-profile STACKED-VLAN-PROF1] user@host# set ranges 2000-4000,any
Note:You can configure multiple dynamic profile associations (up to 16) with different VLAN range groups on each physical interface.