Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Tag Protocol IDs (TPIDs) on QFX Series Switches

This topic describes how to configure the TPIDs expected to be sent or received on a particular VLAN for QFX series switches.

The QFX5100, QFX5110, QFX5120, QFX5200, and QFX5210 devices provide support for up to 4 TPID configurations per VLAN on an interface device. A TPID needs to be defined in the command-line interface (CLI) for aggregated ethernet interfaces and ether interfaces for the QFX device before it can be sent or received. The following values are supported for the TPID configuration:

  • 0x8100

  • 0x9200

  • 0x88a8

  • 0x9100

When a TPID is configured for a VLAN on a logical interface, the traffic packets that ingress on the port with TPIDs 0x8100, 0x88a8, 0x9100, and 0x9200 are accepted, and the packets that egress from the port for a particular VLAN carry the packets with the TPID configured on that VLAN.

To configure the TPID values, use the tag-protocol-id statement. See, tag-protocol-id TPID(TPIDs Expected to Be Sent or Received).

The TPID values should be configured at the device interface level to be able to implement TPID support. The vlan-tags outer statement can be used for configuring a TPID per VLAN. See, vlan-tags.

Conditions for Configuring Tag Protocol IDs (TPIDs) on QFX Series Switches

Note the following conditions before configuring TPIDs on QFX series switches:

  1. The TPID configured for the VLAN profile for the logical interface takes precedence over the TPID configured for the port.

    In the following example, it is assumed that the traffic that egress from unit 200 will have the TPID 0x9200 as that is the TPID set at the port level. However, since TPIDs are configured for logical interfaces, the traffic takes the value of the TPID from the VLAN profile rather than the port profile for all the logical interfaces configured on the interface device. Therefore, though ae1 is set with TPID 0x9200 at the port level, packets that egress out of ae1.200 will have the VLAN’s default TPID 0x8100. The same concept applies to ae1.400 as well.

  2. VXLAN scenarios are not supported.

  3. If two logical interfaces with different TPIDs are a part of a VLAN, then the most recently configured TPID value is configured in the VLAN profile, as the hardware register supports only one TPID index per VLAN profile. In the example below, the TPID value for VLAN 100 is 0x9200 as ae2.100 is the last configured value.

  4. If multiple TPIDs are configured under the interface device with no logical interface level setting, then the first TPID value in the list is set at the port level.

    In the example below, 0x9200 is set at the port level.

  5. If only a single logical interface is configured on an interface device with 0x8100, then the packets egress with the TPID value configured at the port level. However, as shown in the example below, if multiple logical interfaces are configured with different TPIDs from the list at the interface device level, then packets going out with VLAN 100 will egress with the TPID 0x8100.