QinQ SAPs

A QinQ SAP has the following format:

qinq <port-id | lag-id>:qtag1.qtag2

Where:

Regular QinQ SAPs have qtag1 and qtag2 values between 1 and 4094. In addition, QinQ Ethernet and LAG ports support the following ‟default” SAPs that can be enabled by the new-qinq-untagged-sap command:

A SAP lookup is performed when a new frame arrives to a QinQ port. This 'lookup' is based on the <outer-tag, inner-tag> values of the frame.

Table: SAP lookup precedence order for incoming frames shows the SAP lookup precedence order for incoming frames with <qtag1.qtag2> qtag values.

Table: SAP lookup precedence order for incoming frames
Incoming frame

qtag1.qtag2

System/port settings [new-qinq-untagged-sap=YES]
SAP lookup precedence order
:X.Y :X.0 :X.* :0.* :null.null :*.null :*.*

x.y

1st

2nd

3rd

x.0

1st

2nd

3rd

0.y

1st

2nd

0.0

1st

2nd

x

1st

2nd

3rd

4th

0

1st

2nd

3rd

<untagged>

1st

2nd

3rd

4th

The following considerations apply to the information described in Table: SAP lookup precedence order for incoming frames:

The following examples illustrate the SAP classification QinQ ports. The examples assume that the new-qinq-untagged-sap command is enabled.

As shown in Figure: Example 1 SAP classification QinQ ports, assuming that the new-qinq-untagged-sap command is enabled, the following SAPs are defined on the same port:

Figure: Example 1 SAP classification QinQ ports

Based on the SAPs configuration described above, the incoming traffic is classified in the following way - notation (outer-VID, inner-VID):

Figure: Example 2 SAP classification QinQ ports highlights how untagged, VID=0 tagged frames and 20.X frames are classified in the absence of the 0.* and 20.* SAPs.

Figure: Example 2 SAP classification QinQ ports

As described in Figure: Example 2 SAP classification QinQ ports, assuming the new-qinq-untagged-sap command is enabled, the following SAPs are defined on the same port:

Incoming traffic - notation (outer-VID, inner-VID)

Note: The system does not add service-delimiting tags with VID=0; however, tags with VID=0 are accepted and classified appropriately.

The following constraints must be considered when configuring default QinQ SAPs (:0.*, :null.null, :*.null, :*.*):