The if-match cvlan-8021p command configures a matching rule based on the 802.1p priority in the inner tag of QinQ packets in a traffic classifier.
The undo if-match cvlan-8021p command deletes a matching rule based on the 802.1p priority in the inner tag of QinQ packets in a traffic classifier.
By default, a matching rule based on the 802.1p priority in the inner tag of QinQ packets is not configured in a traffic classifier.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter |
Description |
Value |
---|---|---|
8021p-value | Specifies the 802.1p priority in the inner tag of QinQ packets. |
The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority of QinQ packets. |
Usage Scenario
You can run the if-match cvlan-8021p command to classify packets based on the 802.1p priority in the inner tag of QinQ packets so that the device processes packets matching the same traffic classifier in the same manner.
Prerequisites
A traffic classifier has been created using the traffic classifier command in the system view.
Precautions
The if-match cvlan-8021p command is valid for only the double-tagged packets.
If you enter multiple 802.1p priorities in the inner tag of packets in the command, a packet matches a rule as long as it matches one of the 802.1p priorities in the inner tag of packets, regardless of whether the relationship between traffic classification rules is AND or OR.
If you run the if-match cvlan-8021p command multiple times in the same traffic classifier view, only the latest configuration takes effect.