You are asked to configure interfaces on Juniper devices to support dual VLAN tags. In this scenario, which
two interface statements would accomplish this task? (Choose two.)
Show answerHide answer
Correct answer: A, D flexible-vlan-taggingstacked-vlan-tagging
Explanation
Explanation:To support dual VLAN tags (often referred to as Q-in-Q tunneling or 802.1ad), Junos devices require specific configuration at the physical interface level to allow the processing of both an outer (S-tag) and an inner (C-tag) header.
flexible-vlan-tagging (A):
This is the most versatile statement. It allows the interface to support a mix of tagging methods across different logical units, including single tags, dual tags (stacked), and even mixed encapsulation types like PPP over Ethernet. It is the standard for modern Juniper service provider configurations where multiple service types exist on one physical port.
stacked-vlan-tagging (D):
This is a specific legacy-style statement used to explicitly enable the device to process dual 802.1Q VLAN tags. While "flexible-vlan-tagging" is more common now, "stacked-vlan-tagging" remains a valid method to achieve the same result for Q-in-Q tunneling.
Why the Other Options are Incorrect
B. gigether-options:
This hierarchy is used for physical layer settings such as auto-negotiation, flow control, and loopback testing. It does not control VLAN encapsulation or the number of supported tags.
C. vlan-tagging:
While this statement enables VLAN support on an interface, it is limited to single 802.1Q tags only. It will not allow the configuration of a second (inner) tag on a logical unit.
References
Juniper Networks Technical Publication:Junos OS Layer 2 Switching Configuration Guide.
JNCIS-SP Exam Objectives: Layer 2 Bridging and VLANs (Q-in-Q tunneling).
Junos CLI Hierarchy: [edit interfaces interface-name]—specifically the encapsulation requirements for 802.1ad.