Attaching a Policy Map to Ingress Queues
This function binds a policy map to the ingre ss queue of a particul ar interf ace.
Command Usage
You must first define a class map, then define a policy map, a nd finall y bind the
service policy to the required interface.
You can only bind one policy map to an interface.
The current firmware does not allow you to bind a policy map to an egress queue.
Command Attributes
Ports – Specifies a port.
Ingress – Applies the rule to ingress traffic.
Enabled – Check this to enable a policy m ap on t he s pecifi ed p ort.
Policy Map – Select the appropriate policy map from t he scroll-do wn box.
Web
– Click QoS, DiffServ, Service Policy Settings. Check Enabled and choose a
Policy Map for a port from the scroll-down box, then click Apply.
Figure 14-3 Service Policy Se ttings
CLI
- This example applies a service policy to an ingress interface.
CLI
– This example creates a policy map called “rd-policy,” sets the average
bandwidth the 1 Mbps, the burst rate to 1522 bps, and the respo nse to reduc e the
DSCP value for violating packets to 0.
Console(config)#policy-map rd_policy#3
Console(config-pmap)#class rd_class#3
Console(config-pmap-c)#set ip dscp 4
Console(config-pmap-c)#police 100000 1522 exceed-action
set ip dscp 0
Console(config-pmap
-
c
)#
36-5
36-5
36-6
36
-
7
Console(config)#interface ethernet 1/5
Console(config-if)#service-policy input rd_policy#3
Console(config-if)#
27-1
36-8

14-7

Configuring Quality of Service Parameters

14