The if-match vlan command defines a matching rule for MF classification based on the VLAN.
The undo if-match vlan command removes the setting.
By default, no matching rule for MF classification based on the VLAN is configured.
Usage Scenario
You can configure more than one VLAN ID for a traffic classifier to match packets of different types.
You can configure a matching rule based on both the inner and outer VLAN IDs in a traffic classifier.Prerequisites
A traffic classifier has been configured in the system view and the traffic classifier view is displayed.
Follow-up Procedure
Configure a traffic behavior and a traffic policy and associate the traffic classifier with the traffic behavior in the traffic policy.