[Contents] [Prev] [Next] [Index] [Report an Error]

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:

If you include the push statement in an interface’s input VLAN map, see Stacking and Rewriting Gigabit Ethernet IQ 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 Configuring 802.1Q VLANs.

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.


[Contents] [Prev] [Next] [Index] [Report an Error]