Related Documentation
- ACX Series
- tag-protocol-id
- ACX, M, MX, SRX, T Series
- unit
- EX, MX Series
- 802.1Q VLANs Overview
- M, MX, T Series
- Stacking and Rewriting Gigabit Ethernet VLAN Tags
- Configuring Inner and Outer TPIDs and VLAN IDs
- Additional Information
- Junos® OS Ethernet Interfaces
Stacking a VLAN Tag
To stack a VLAN tag on all tagged frames entering or exiting the interface, include the push, vlan-id, and tag-protocol-id statements in the input VLAN map or the output VLAN map:
You can include these statements at the following hierarchy levels:
- [edit interfaces interface-name unit logical-unit-number]
- [edit interfaces interface-name unit logical-unit-number]
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
If you include the push statement in an interface’s input VLAN map, see Stacking and Rewriting Gigabit Ethernet VLAN Tags for information about permissible rewrite operations,
The VLAN IDs you define in the input VLAN maps are stacked on top of the VLAN ID bound to the logical interface. For more information about binding a VLAN ID to the logical interface, see 802.1Q VLANs Overview.
All TPIDs you include in input and output VLAN maps must be among those you specify at the [edit interfaces interface-name gigether-options ethernet-switch-profile tag-protocol-id [ tpids ]] hierarchy level. For more information, see Configuring Inner and Outer TPIDs and VLAN IDs.
Related Documentation
- ACX Series
- tag-protocol-id
- ACX, M, MX, SRX, T Series
- unit
- EX, MX Series
- 802.1Q VLANs Overview
- M, MX, T Series
- Stacking and Rewriting Gigabit Ethernet VLAN Tags
- Configuring Inner and Outer TPIDs and VLAN IDs
- Additional Information
- Junos® OS Ethernet Interfaces
Published: 2013-02-13
Related Documentation
- ACX Series
- tag-protocol-id
- ACX, M, MX, SRX, T Series
- unit
- EX, MX Series
- 802.1Q VLANs Overview
- M, MX, T Series
- Stacking and Rewriting Gigabit Ethernet VLAN Tags
- Configuring Inner and Outer TPIDs and VLAN IDs
- Additional Information
- Junos® OS Ethernet Interfaces