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:
- Ensure that the VLAN dynamic profile uses the
$junos-interface-ifd-name
variable for the dynamic interface and the $junos-interface-unit
variable for the interface unit.
- (Optional) To support dynamic demux interfaces, enable
them for IPv4 or IPv6.
- (Optional) To configure the router to respond to any ARP
request, specify the
proxy-arp
statement.[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
- (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
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 can configure a dynamic profile for creating stacked 802.1Q
VLANs.