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:
input-vlan-map { push; vlan-id number; tag-protocol-id tpid; } output-vlan-map { push; tag-protocol-id tpid; }
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]
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.