How to configure traffic classifier priorities on a CE series switch


When the classifier classifier-name behavior behavior-name [ precedence precedence-value ] command is used in the traffic policy view to bind a traffic classifier and a traffic behavior to a traffic policy, you can specify precedence-value to set a priority for the traffic classifier. In the command,
precedence-value is an integer that ranges from 0 to 65535. A smaller value indicates a higher priority.
If precedence-value is not specified, the system automatically allocates a priority to the traffic classifier. The allocated priority is a multiple of 5 that is closest to the highest priority of current traffic classifiers.
For example, if the highest priority of current traffic classifiers is 7, the system allocates a priority of 10 to the traffic classifier when precedence-value is not specified.

Other related questions:
How to configure a traffic classifier on S series switches
For S series switches (except the S1700), you need to complete the following tasks before configuring a traffic classifier: - Configure link layer attributes of interfaces to ensure that the interfaces work properly. - If an ACL is configured as a traffic classification rule, configure the ACL. The configuration procedure is as follows: 1. Run the system-view command to enter the system view. 2. Run the traffic classifier classifier-name [ operator { and | or } ] [ precedence precedence-value ] command to create a traffic classifier, and enter the traffic classifier view, or enter the view of an existing traffic classifier. The precedence precedence-value parameter can be configured on S series modular switches, but cannot be configured on S series fixed switches. The and parameter indicates that the relationship between rules is AND. After the parameter is specified, the following situations occur: 1. If a traffic classifier contains ACL rules, packets match the traffic classifier only when the packets match one ACL rule and all the non-ACL rules. 2. If a traffic classifier does not contain an ACL rule, packets match the traffic classifier only when the packets match all the non-ACL rules. The or parameter indicates that the relationship between rules is OR. After this parameter is specified, packets match a traffic classifier if the packets match one or more rules. By default, the relationships between rules in a traffic classifier on an S series modular switch and those on an S series fixed switch are OR and AND, respectively. 3. Configure matching rules based on actual requirements. Non-conflicting rules can be configured in a traffic classifier. You can configure rules based on actual requirements. 4. Run the quit command to exit from the traffic classifier view. For example, configure a traffic classifier to match packets with the VLAN ID being 100. [HUAWEI] traffic classifier c1 operator or [HUAWEI-classifier-c1] if-match vlan-id 100 [HUAWEI-classifier-c1] if-match vlan-id 200 [HUAWEI-classifier-c1] quit Note: MQC cannot be configured on the S2700SI.

How is bandwidth of different types of traffic guaranteed
Configure traffic classifiers to differentiate traffic, configure queue ef or queue af in traffic behaviors, bind the traffic classifiers and traffic behaviors to a traffic policy, and apply the traffic policy to an interface.

How can I configure LACP priority on CE switches
LACP priorities include system and interface priorities. 1. The system priority determines the Actor and Partner. The device with a higher system priority functions as the Actor and the active interfaces are selected based on the Actor. 2. The interface priority determines selection of active interfaces. The interfaces with a higher priority are selected as active interfaces. A smaller value indicates a higher priority. # Configure the LACP system priority. system-view [~HUAWEI] lacp priority 10 [*HUAWEI] commit# # Configure the LACP priority for 10GE1/0/1. system-view [~HUAWEI] interface eth-trunk 1 [*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1 [*HUAWEI-Eth-Trunk1] mode lacp-static //Before configuring the interface priority, ensure that the interface has been added to an Eth-Trunk in LACP mode. [*HUAWEI-Eth-Trunk1] quit [*HUAWEI] interface 10ge 1/0/1 [*HUAWEI-10GE1/0/1] lacp priority 1 [*HUAWEI-10GE1/0/1] commit

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