Other network elements are not required.
MQC is a basic feature of the switch and is not under license control.
All models of S2720, S5700, and S6700 series switches support MQC.
For details about software mappings, visit Hardware Query Tool and search for the desired product model.
Item |
Specification |
---|---|
Maximum number of traffic classifiers |
|
Maximum number of if-match rules in a traffic classifier |
1024 |
Maximum number of traffic behaviors |
256 |
Maximum number of traffic policies |
256 |
Maximum number of traffic classifiers bound to a traffic policy |
256 |
Maximum number of VLANs to which traffic policies can be applied |
3000 |
Traffic Classification Rule |
ACL Resource Usage |
---|---|
if-match vlan-id start-vlan-id [ to end-vlan-id ] (S2720-EI, S2750-EI, S5700-EI, S5700-LI, S5700S-LI, S5700-SI, S5710-C-LI, S5710-X-LI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI) if-match cvlan-id start-vlan-id [ to end-vlan-id ] [ vlan-id vlan-id ] (S5700-EI, S5700-HI, S5710-EI, S5710-HI, S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6700-EI, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S) |
Rules are delivered according to the VLAN ID range and multiple ACLs are occupied. You can run the display acl division start-id to end-id command to check how ACL resources are used in a specified VLAN range. |
if-match acl { acl-number | acl-name } if-match ipv6 acl { acl-number | acl-name } |
|
Other if-match rules |
Each rule occupies one ACL. |
Table 3 and Table 4 describe the traffic policy or the combination of traffic classifiers and traffic behaviors that takes effect in scenarios where packets match multiple traffic policies in different views or multiple combinations of traffic classifiers and traffic behaviors of the same traffic policy in the same direction in the same view.
Packets Match Multiple Traffic Policies |
Packets Match Multiple Combinations of Traffic Classifiers and Traffic Behaviors of the Same Traffic Policy |
---|---|
Only the traffic policy applied in the view with the highest priority takes effect. |
The first combination of traffic classifier and traffic behavior configured in the traffic policy takes effect. To view the configuration of a traffic policy, run the display this command in the traffic policy view. |
Product |
Packets Match Multiple Traffic Policies |
Packets Match Multiple Combinations of Traffic Classifiers and Traffic Behaviors of the Same Traffic Policy |
---|---|---|
S5700-EI, S5700-HI, S5710-EI, S5710-HI, S5720-EI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S6700-EI, S6720-EI, and S6720S-EI |
If actions do not conflict, all the traffic policies take effect. If actions conflict:
|
If actions do not conflict, all combinations of traffic classifiers and traffic behaviors take effect, and all actions will be performed. If actions conflict:
|
S2720-EI, S2750-EI, S5700-LI, S5700S-LI, S5700-SI, S5710-C-LI, S5710-X-LI, S5720-HI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6720-LI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Only the traffic policy applied in the view with the highest priority takes effect. |
The first combination of traffic classifier and traffic behavior configured in the traffic policy takes effect. To view the configuration of a traffic policy, run the display this command in the traffic policy view. |
It is recommended that you configure traffic policies in descending order of priority; otherwise, traffic policies may not take effect immediately. For details about traffic classification rules, see "Overview of MQC".
If an MQC-based traffic policy and an ACL-based simplified traffic policy matching the same ACL are applied to the same object, the ACL-based simplified traffic policy takes effect. However, if ACL-based packet filtering is configured using the traffic-secure command, it can take effect together with an MQC-based traffic policy matching the same ACL.
If the ACL rule matches the VPN instance name of packets, the ACL-based traffic policy fails to be delivered.
If a traffic policy fails to be applied due to insufficient ACL resources on the switch, you are advised to delete the configuration of the traffic policy. Otherwise, if the configuration is saved and the switch is restarted, configuration of other services that run properly will fail to be restored.
If the traffic policy that you want to delete has been applied to the system, an interface, or a VLAN, run the undo traffic-policy command to unbind the traffic policy. Then run the undo traffic policy command in the system view to delete the traffic policy. The traffic policy that is not applied can be deleted directly.
On switches in a version earlier than V200R009C00, a traffic policy cannot be applied to a VLANIF interface. On the following switches, a traffic policy can be applied to a VLANIF interface:
Product Model |
Precedence Details |
---|---|
S2700-EI, S2710-SI, S2720-EI, S2750-EI, S3700, S5700-LI, S5700S-LI, S5710-C-LI, S5710-X-LI, S5700-SI, S5700-EI, S5710-EI, S5720-LI, S5720S-LI, S5720-SI, S5720S-SI, S5720I-SI, S5700-HI, S5710-HI, S5730-SI, S5730S-EI, S6700-EI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI |
Traffic policies take precedence over CPCAR. NOTE:
For ARP packets to be sent to the CPU in the DHCP and NAC authentication services, CPCAR takes precedence over traffic policies. |
S6720-EI, S6720S-EI, S5720-EI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S5720-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S5730-HI, S6720-HI, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S |
CPCAR takes precedence over traffic policies. NOTE:
On the S5720-EI running V200R007, traffic policies take precedence over CPCAR. On the S5720-EI running other versions, CPCAR takes precedence over traffic policies. |