Configuring a Dynamic Profile Used to Create Stacked VLANs
Starting in Junos OS Release 14.1, you can configure a dynamic profile for creating stacked 802.1Q VLANs.
To configure a dynamic VLAN profile:
-
Create a dynamic profile.
user@host# set dynamic-profile STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"
-
(Optional) To support dynamic demux interfaces, enable them for IPv4 or IPv6.
-
For IPv4 demux interfaces:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set demux-source inet
-
For IPv6 demux interfaces:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set demux-source inet6
-
-
(Optional) To configure the router to respond to any ARP request, specify the
proxy-arpstatement.[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set proxy-arp
-
Specify the outer VLAN ID variable.
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set vlan-tags outer $junos-stacked-vlan-id
The variable is dynamically replaced with an outer VLAN ID within the VLAN range specified at the
[interfaces]hierarchy level. -
Specify the inner VLAN ID variable.
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set vlan-tags inner $junos-vlan-id
The variable is dynamically replaced with an inner VLAN ID within the VLAN range specified at the
[interfaces]hierarchy level. -
Define the unit family type.
-
For IPv4 interfaces:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set family inet
-
For IPv6 interfaces:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"] user@host# set family inet6
-
For IPv4 interfaces:
-
(Optional) Enable IP and MAC address validation for dynamic demux interfaces in
a dynamic profile.
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit" family inet] user@host# set mac-validate loose
-
Specify the unnumbered address and preferred source address.
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit" family inet] user@host# set unnumbered-address lo.0 preferred-source-address 192.0.2.16
Related Documentation
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.
Release
Description
14.1
Starting in Junos OS Release
14.1, you can configure a dynamic profile for creating stacked 802.1Q
VLANs.