Can a traffic classifier on an AR be used to match the packet length

16

A traffic classifier on an AR cannot be used to match the packet length.

Other related questions:
Which measures does the AR provide to ensure that packets matching user-defined traffic classifiers are preferentially processed
AR series routers provide the following measures: -Assured forwarding (AF): AF ensures the low probability of dropping packets when the rate of outgoing service traffic does not exceed the minimum bandwidth. It is used for services with heavy traffic that need to be ensured. -Expedited forwarding (EF): EF is used for services that require low delay, low drop probability, ensured bandwidth, and occupying low bandwidth, for example, voice packets. In addition to common EF queues, the device provides a special EF queue, LLQ queue with the shortest delay. LLQ provides good QoS assurance for delay-sensitive services such as VoIP services. -Best effort (BE): AR series routers allocate the remaining bandwidth that is not used by EF and AF queues to BE queues.

Matching order of packets when multiple pairs of traffic classifiers and traffic behaviors are defined in a traffic policy
For S series switches (except the S1700): For X series cards of modular switches, the matching order depends on priorities of traffic classifiers, that is, the value of the precedence precedence-value parameter in the traffic classifier command. A smaller value indicates a higher priority. For cards of modular switches except X series cards: - config: The matching order depends on priorities of traffic classifiers, that is, the value of the precedence precedence-value parameter in the traffic classifier command. A smaller value indicates a higher priority. - auto: The matching order depends on priorities of traffic classifier types predefined on the system. The traffic classifiers based on the following information are in descending order of priority: Layer 2 and Layer 3 information, advanced ACL6 rule, basic ACL6 rule, Layer 2 information, Layer 3 information, and user-defined ACL rule. If actions in traffic behaviors do not conflict, all the matching traffic classifiers and traffic behaviors take effect. If actions in traffic behaviors conflict, the traffic classifier and traffic behavior with the highest priority of traffic classifier type takes effect. For S series fixed switches S600-E, packets match traffic classifiers and traffic behaviors according to the sequence in which the traffic classifiers and traffic behaviors are configured. If the first traffic classifier is not matched, the switch matches packets with the second traffic classifier, and so on. If the packets match a traffic classifier, the switch does not match the packets with subsequent traffic classifiers. Only the first pair of the matching traffic classifier and traffic behavior takes effect. For S series modular switches, you can specify the matching order of rules in the traffic policy when creating a traffic policy. The matching orders are classified into the configuration order (config) and automatic order (auto). For other fixed switches, see "How Does the Switch Match Packets When Multiple Pairs of Traffic Classifiers and Traffic Behaviors Are Defined in a Traffic Policy?" in FAQ-QoS.

Can multiple pairs of traffic classifiers and traffic behaviors be bound to a traffic policy on an AR
An AR can be configured with multiple pairs of traffic classifiers and traffic behaviors in a traffic policy. The traffic classifiers and traffic behaviors are executed in the order in which they are configured. For example, four pairs of traffic classifiers and traffic behaviors are configured in a traffic policy: classifier classifier1 behavior behavior1 classifier classifier2 behavior behavior2 classifier classifier3 behavior behavior3 classifier classifier4 behavior behavior4 After an AR receives packets, it checks whether the packets match classifier1. If the packets match classifier1, the AR takes the action defined in behavior1 for the packets. If the packets do not match classifier1, the AR checks whether the packets match classifier2. If the packets match classifier2, the AR takes the action defined in behavior2 for the packets. The other processes can be deducted by analogy.

A traffic policy is bound to multiple pairs of traffic classifiers and traffic behaviors. What Is the sequence in which traffic classifiers and traffic behaviors are used
If the classifier classifier-name behavior behavior-name command is executed for a traffic policy multiple times, the configured behaviors are executed in the order in which they are configured. For example, a traffic policy contains the following four behaviors: classifier classifier1 behavior behavior1 classifier classifier2 behavior behavior2 classifier classifier3 behavior behavior3 classifier classifier4 behavior behavior4 The received packet is first checked against classifier1. If the packet matches classifier1, the packet is processed according to behavior1 and does not need to be checked against classifier2. If the packet does not match classifier1, the packet is checked against classifier2. If the packet matches classifier2, the packet is processed according to behavior2 and does not need to be checked against classifier3...

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top