Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring IEEE 802.1p Inheritance push and swap from the Transparent Tag

 

To classify incoming packets based on the IEEE 802.1p bits from the transparent tag, include the transparent statement at the [edit class-of-service interfaces interface-name unit logical-unit-number classifiers ieee-802.1 vlan-tag] hierarchy level.

Tagged Interface Example

The following example configuration specifies the classification based on the transparent VLAN tag.

To configure Junos OS to inherit the IEEE 802.1p bits from the transparent tag, include the swap-by-poppush statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

The following is a configuration to swap and push VLAN tags and allow inheritance of the IEEE 802.1p value from the transparent VLAN tag in incoming packets.

The swap-by-poppush statement causes a swap operation to be done as a pop followed by a push operation. So for the outer tag, the incoming S-Tag is popped and a new tag is pushed. As a result, the S-Tag inherits the IEEE 802.1p bits from the transparent tag. The inner tag is then pushed, which results in the inner tag inheriting the IEEE 802.1p bits from the transparent tag.

Untagged Interface Example

The following is a configuration to push two VLAN tags and allow inheritance of the IEEE 802.1p value from the transparent VLAN tag in the incoming packet.

No additional configuration is required to inherit the IEEE 802.1p value, as the push operation inherits the IEEE 802.1p values by default.

The following configuration specifies the classification based on the transparent VLAN tag.