8-36
Classifier-Based Software Configuration      
Traffic Classes
Figure 8-12.  Example of How to Configure an Interface with a Service Policy
Checking Resource Usage.  After you apply a service policy to an interface, 
use the show policy resources command to verify the amount of additional 
resources used and the amount of resources that are still available on the 
switch. Classifier-based service policies (such as QoS, mirroring, or PBR) 
share the same hardware resources with other software features, such as 
ACLs, virus throttling, management VLAN, globally configured QoS policies, 
MAC-based mirroring policies, and so on.
Use the displayed information to decide if you need to re-prioritize current 
resource usage by reconfiguring or disabling software features to free the 
resources reserved for less important features. For a detailed explanation of 
the information displayed with the show policy resources command, refer to 
the “Monitoring Resources” appendix in the Management and Configuration 
Guide.
In Figure , the show policy resources command output displays the number of 
hardware resources (rules, meters, and application port ranges) used by 
classifier-based QoS and mirroring policies that are currently applied to 
interfaces on the switch, as well as other software features.
HP Switch(config)# interface a4 service-policy RateLimitPrioritizeSuspectTraf-
fic in 
HP Switch(config)# vlan 10 service-policy RateLimitPrioritizeSuspectTraffic in