sap-ingress 10 create
description ‟example-policy”
num-qos-classifiers 4
meter 1 create
rate cir 0 pir max
exit
meter 3 create
rate cir 100 pir 100
exit
scope template
default-fc be
fc be create
meter 3
exit
fc af create
meter 1
exit
fc l1 create
meter 3
exit
fc h2 create
meter 3
exit
mac-criteria dot1p-only
entry 1 create
match dot1p 7
action fc af
exit
entry 2 create
match dot1p 5
action fc l1
exit
entry 3 create
match dot1p 6
action fc h2
exit
exit
exit
In example 1a, assuming the policy is attached to a SAP in a VPLS service, classification entries used per FC use the following computation.
Because this FC uses unicast meter for all traffic types, an entry to classify all traffic types to this FC explicitly is required.
Calculate the total classification entries used by this policy, using the following equation.
The total number of meters used = 2 (because FCs use meter 1 and meter 3).
In this example, num-qos-classifiers 4 is used (maximum of (4, (2 * 2))). The use of a unicast meter for all traffic-types allows QoS resources to be used efficiently.
If the same policy were used for a SAP in an Epipe service, and all traffic is classified to a unicast traffic type and only unicast meters are used, the following computations are used.
Using this equation, total classification entries used = 4 and meters used = 2.
Using the same policy for Epipe SAPs can lead to inefficient use of resources. Nokia recommends creating a different policy with the required number of resources (that is, with num-qos-classifiers 4).