Quality of Service (QoS) Policers are predefined rules that can measure the rate of traffic on the interface. They are used to enforce limits such as limiting the rate of file transfer traffic on the port. This helps ensure that the bandwidth is not exceeded. A class map defines the type of packets that are considered to belong to the same traffic flow. This article explains how to configure QoS Policy Class Maps on the ESW2-550X Switches.
Note: For more information on class maps, refer to the article titled Define QoS Class Mapping on ESW2-550X Switches.
• ESW2-550X-48DC-R
• ESW2-550X-48-R
• 1.3.0.62
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Policy Table. The Policy Table page opens:
Step 2. Click Add. A new window appears:
Step 3. Enter a name for the policy in the New Policy Name field.
Step 4. Click Apply.
Step 5. (Optional) To delete a policy, check the appropriate policy name check box and click Delete.
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Policy Class Maps. The Policy Class Maps page opens:
Step 2. From the Policy Name drop-down list, choose a policy. The class map will be added to this policy.
Step 3. Click Go to show list of all class maps defined to the policy.
Step 4. Click Add to add a new class map to the policy.
Step 5. From the Class Map Name drop-down list, choose a class map to add to the policy.
Note: For more information on class maps, refer to the article entitled Define QoS Class Mapping on ESW2-350G Switches.
Step 6. Click an appropriate radio button in the Action Type field to define an action. The possible options are:
• Use Default Trust Mode — This ignores ingress CoS/802.1p and/or DSCP values and packets are sent with best effort.
• Always Trust — The switch will always trust CoS/802.1p and DSCP of the matching packet. If the packet is of IP type then it will be put in the egress queue based on DSCP value of the packet and DSCP to queue table. If the packet is not an IP type, the packet is put in the egress queue based on the CoS/802.1p value of the packet and the CoS/802.1p to Queue Table.
• Set — From the drop-down list choose a mode regarding the matching packets.
– DSCP — Enter a DSCP value to determine the egress queue (0 to 63) in the New Value field. This value is based on the DSCP and the DSCP to Queue Table.
– Queue — Enter a queue value to determine the egress queue (1 to 4) in the New Value field.
– CoS/802.1p — Enter a CoS/802.1p value to determine the egress queue (0 to 7) in the New Value field. This value is based on the CoS/802.1p priority value and the CoS/802.1p to Queue Table.
Step 7. Click the radio button that corresponds to the desired policer type.
• None — No policy is used.
• Single — A single policer is used. A single policer applies the QoS to a single class map and a single flow based on the QoS specification of the policer.
• Aggregate — An aggregate policy is used. An aggregate policer applies the QoS to one or more class maps and one or more flows.
Step 8. If the Aggregate radio button is clicked in the Police Type field, choose an aggregate policer from the Aggregate Policer drop-down list.
Note: For more information on Aggregate Policer refer to the article entitled Aggregate Policer Settings on ESW2-350G Switches.
Step 9. If the Single radio button is clicked in the Police Type field, enter in the Committed Information Rate (CIR) field a value for the CIR. It specifies the amount of guaranteed bandwidth on a frame relay service.
Timesaver: If you did not click Single in Step 9, skip to Step 12.
Step 10. Enter a value for the committed burst size in the Ingress Committed Burst Size (CBS) field. Committed burst size is the amount of data that a network accepts in a given committed rate measurement interval (Tc). Tc is defined as ratio of CBS to CIR.
Step 11. Click the radio button that corresponds to the desired exceed action. This action is taken when the incoming packets exceed the CIR.
• None — No action is taken.
• Drop — Drops the packets that exceed the defined CIR value.
• Out of Profile DSCP — Remap the DSCP values of packets that exceed the defined CIR value to a value based on the Out Of Profile DSCP Mapping Table.
Note: For more information on the Out of Profile DSCP Mapping Table refer to the article entitled Configuration of Out of Profile DSCP Mapping on ESW2-350G Switches.
Step 12. Click Apply to save the changes.
Step 13.(Optional) To edit a policy class map check the appropriate class map policy check box and click Edit. Then follow steps 5-12.
Step 14.(Optional) To delete a policy class map check the appropriate class map policy check box and click Delete.