In QoS advanced mode, the switch uses policies to support per-flow QoS. The policy and its components have the following characteristics:
1. Select Advanced Mode for the system.
2. To map the external values to internal values, if internal DSCP values are different from those used on incoming packets, configure the Out of Profile DSCP Mapping on the Out of Profile DSCP Mapping Page .
3. Create ACLs. Please refer the document on Creating ACLs for the workflow of ACL's.
4. Create class maps and associate the ACLs with them by using the Class Mapping Page.
5. Create a policy using the Policy Table Page, and associate the policy with one or more class maps using the Policy Class Map Page. The types of Policers used below.
6. Finally, bind the policy to an interface by using the Policy Binding Page.
This document illustrates the procedure to configure the above.
Step 1. Log in to the web configuration utility and choose Quality of Service > General > QoS Properties. The QoS Properties page opens:
Step 2. Click the Advanced radio button in the QoS Mode field.
Step 3. Click Apply.
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Global Settings. The Out of Profile DSCP Mapping page opens:
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Out of Profile DSCP Mapping. The Out of Profile DSCP Mapping page opens:
Step 2. Configure the DSCP Remarking Table.
Note: Click Restore Defaults to restore the DSCP remarking table to the default values. The default is when the DSCP Out values match the values of the corresponding DSCP In values.
Step 3. Click Apply.
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Class Mapping. The Class Mapping page opens:
Step 2. Click Add. The Add Class Mapping window appears.
Step 3. Enter a name for the class map in the Class Map Name field.
Step 4. Click the radio button that corresponds to the desired ACL in the Match ACL Type field.
Step 5. If the defined Match ACL field contains IP, check the box of the desired IP type in the IP field.
Step 6. If the defined Match ACL field contains MAC, choose the MAC ACL that is to apply to the class map in the MAC field.
Step 7. Click the radio button that corresponds to the preferred ACL type in the Preferred ACL field. This field determines whether the data should first be matched based on IP ACLs or MAC ACLs.
Step 8. Click Apply.
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Aggregate Policer. The Aggregate Policer page opens:
Step 2. Click Add. The Add Aggregate Policer Page window appears.
Step 3. Enter a name for the aggregate policer in the Aggregate Policer Name field.
Step 4. Enter the maximum bandwidth allowed for the ingress queue (in Kilobits per second) in the Ingress Committed Information Rate (CIR) field.
Step 5. Enter maximum burst size for the ingress queue (in bytes) in the Ingress Committed Burst Size (CBS) field. This is the amount of traffic that is allowed to pass as a temporary burst even if it is above the defined CIR.
Step 6. Click the radio button that corresponds to the desired action in the Exceed Action field. This action takes place when an incoming packet exceeds the CIR.
Step 7. Click Apply.
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. The Add Policy Page window appears.
Note: Click Policy Class Map Table to open the Policy Class Maps page.
Step 3. Enter a name for the policy in the New Policy Name field.
Step 4. Click Apply.
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 Equals to drop-down list choose a policy.
Step 3. Click Go to display the class maps mapped to the specified policy.
Step 4. Click Add to map a class map to the specified policy. The Add Policy Class Map window appears.
//image
The name of the policy is displayed in the Policy Name field.
Step 5. From the Class Map Name drop-down list choose a class map to map to the policy.
Step 6. Click the radio button that corresponds to the desired action in the Action Type field.
– DSCP — Enter the DSCP value that will be assigned to the packets in the New Value field.
– Queue — Enter the egress queue that the packets will be sent to in the New Value field.
– CoS — Enter the CoS value that will be assigned to the packets in the New Value field.
Step 7. Click the radio button that corresponds to the desired policer type in the Police Type field.
Step 8. If the policer type is aggregate, choose an aggregate policer from the Aggregate Policer drop-down list.
Step 9. If the policer type is single, fill in the following fields.
– None — No action is taken.
– Drop — The packet is dropped.
– Out of Profile DSCP — The DSCP value of the packet is remapped based on the Out of Profile DSCP Mapping Table.
Step 10. Click Apply.
The Policy Binding page is used to bind a policy to ports. A policy is considered active on the port once it is bound to the port. Only one policy can be bound to a port at a time, however a single policy can be bound to multiple ports. When a policy is bound to a port, it filters and applies QoS to ingress traffic that matches the defined policy.
Note: To edit a policy, it must be unbound from all ports.
Step 1. Log in to the web configuration utility and choose Quality of Service > QoS Advanced Mode > Policy Binding. The Policy Binding page opens:
Step 2. From the Policy Name equals to drop-down list choose the policy that you want to bind to interfaces.
Step 3. From the Interface Type drop-down list choose the type of interface that you want to bind the policy to.
Step 4. Click Go. The interfaces are displayed.
Step 5. Check the desired check boxes in the Binding field to bind the policy to the port. All the packets that do not meet the rules of the policy will be dropped.
Step 6. Check the desired check boxes in the Permit Any field to override the policy and forward all the packets.
Step 7. Click Apply.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
10-Dec-2018 |
Initial Release |