Microsoft ES4625 Manuale Utente

Pagina di 674
Configuring the Switch
3-162
3
Configuring Quality of Service Parameters 
To create a service policy for a specific category or ingress traffic, follow these steps:
1. Use the “Class Map” to designate a class name for a specific category of traffic. 
2. Edit the rules for each class to specify a  type of traffic based on an access list, a 
DSCP or IP Precedence value, or a VLAN.
3. Set an ACL mask to enable filtering for the criteria specified in the Class Map. 
4. Use the “Policy Map” to designate a policy name for a specific manner in which 
ingress traffic will be handled. 
5. Add one or more classes to the Policy Map. Assign policy rules to each class by 
“setting” the QoS value to be assigned to the matching traffic class. The policy 
rule can also be configured to monitor the average flow and burst rate, and drop 
any traffic that exceeds the specified rate, or just reduce the DSCP service level 
for traffic exceeding the specified rate.
6. Use the “Service Policy” to assign a policy map to a specific interface.
Configuring a Class Map
A class map is used for matching packets to a specified class.
Command Usage 
• To configure a Class Map, follow these steps: 
- Open the Class Map page, and click Add Class. 
- When the Class Configuration page opens, fill in the “Class Name” field, and 
click Add. 
- When the Match Class Settings page opens, specify type of traffic for this class 
based on an access list, a DSCP or IP Precedence value, or a VLAN, and click 
the Add button next to the field for the selected traffic criteria. You can only 
specify one item to match when assigning ingress traffic to a class map. 
• The class map uses the Access Control List filtering engine, so you must also set 
an ACL mask to enable filtering for the criteria specified in the Class Map. See 
“Configuring an IP ACL Mask” on page 3-84 or “Configuring a MAC ACL Mask” on 
page 3-86
 for information on configuring an appropriate ACL mask.
• The class map is used with a policy map (page 3-165) to create a service policy 
(page 3-168) for a specific interface that defines packet classification, service 
tagging, and bandwidth policing. Note that one or more class maps can be 
assigned to a policy map.