Reference Guide

Quality of Service 499
The following is an example of the CLI commands:
Policy Binding
After policies are created, they must be bound to interfaces (ports or
LAGs).When a policy is bound to a specific interface, it becomes active on it
(subject to time range restrictions). Only one policy can be active on a single
interface, but a single policy can be bound to more than one interface.
When a policy is bound to an interface, it filters and applies QoS to ingress
traffic that belongs to the flows defined in the policy. The policy does not
apply to traffic egress to the same port.
To edit a policy, it must first be removed (unbound) from all those ports to
which it is bound.
To define policy binding:
1
Click
Quality of Service > QoS Advanced Mode > Policy Binding
to
display the
Policy Binding: Summary
page.
Previously-defined policy bindings are displayed.
2
To bind a policy to an interface, click
Add
.
3
Select the interface assigned to the policy.
4
Select the
Policy Name
to be activated on the interface.
console(config)# policy-map policy1
console(config-pmap)# class class1 access-group
enterprise
console(config-pmap)# trust cos-dscp
console(config-pmap)# set dscp 56
console(config-pmap)# class class1
console(config-pmap-c)# police 124000 9600 exceed-
action drop
console(config)# qos aggregate-policer policer1
124000 9600 exceed-action drop