Starting in Junos
OS Release 14.1, you 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.
inet and
dhcp-v4 for IPv4 packets,
inet6 and
dhcp-v6 for IPv6 packets, and
pppoe for 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.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.
14.1
Starting in Junos
OS Release 14.1, you 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.