Example 5

sap-ingress 10 create

          num-qos-classifiers 72
            meter 1 create
            exit
            meter 3 create
            exit
            meter 4 create
            exit
            meter 11 multipoint create
            exit
            fc "af" create
                meter 3
                broadcast-meter 11
                multicast-meter 4
            exit
            fc "be" create
                meter 1
                broadcast-meter 11
            exit
            ip-criteria
                entry 1 create
                    match 
                        dscp be       
                    exit
                    action fc "af"
                exit
                entry 2 create
                    match 
                        dscp cp1
                    exit
                    action fc "af"
                exit
                entry 3 create
                    match 
                        dscp cp3
                    exit
                    action fc "af"
                exit
                entry 4 create
                    match 
                        dscp cp4
                    exit
                    action fc "af"
                exit
                entry 5 create
                    match             
                        dscp cp5
                    exit
                    action fc "af"
                exit
                entry 6 create
                    match 
                        dscp cp6
                    exit
                    action fc "af"
                exit
                entry 7 create
                    match 
                        dscp cp7
                    exit
                    action fc "af"
                exit
                entry 8 create
                    match 
                        dscp cs1
                    exit
                    action fc "af"
                exit
                entry 9 create        
                    match 
                        dscp cp9
                    exit
                    action fc "af"
                exit
                entry 10 create
                    match 
                        dscp af11
                    exit
                    action fc "af"
                exit
                entry 11 create
                    match 
                        dscp cp11
                    exit
                    action fc "af"
                exit
                entry 12 create
                    match 
                        dscp af12
                    exit
                    action fc "af"
                exit                  
                entry 13 create
                    match 
                        dscp cp13
                    exit
                    action fc "af"
                exit
                entry 14 create
                    match 
                        dscp cp15
                    exit
                    action fc "af"
                exit
                entry 15 create
                    match 
                        dscp cp15
                    exit
                    action fc "af"
                exit
            exit
            default-fc "be"

In example 5, assuming the policy is attached to a SAP in a VPLS service, classification entries used per FC use the following computation.

FCnc = 0 + 0 + 0 + 0 = 0
FCh1 = 0 + 0 + 0 + 0 = 0
FCef = 0 + 0 + 0 + 0 = 0
FCh2 = 0 + 0 + 0 + 0 = 0
FCl1 = 0 + 0 + 0 + 0 = 0
FCaf = 1 + 0 + 1 + 0 = 3

Because this FC uses unicast meter, an entry is required to identify these traffic types explicitly. Another entry is required to classify broadcast, multicast, and unknown-unicast traffic type to the same FC and use the default meter 11.

FCl2 = 0 + 0 + 0 + 0 = 0
FCbe = 1 + 1 + 1 + 0 = 3

Because this FC uses unicast, broadcast, and multicast meter, three entries are required to identify these traffic types explicitly. Unknown-unicast traffic type is classified using the same entry as multicast traffic type and uses the same meter.

Calculate the total classification entries used by this policy using the following equation.

TC = (0 * 0)nc + (0 * 0)h1 + (0 * 0)ef + (0 * 0)h2 + (0 * 0)l1 + (15 * 3)af + (0 * 0)l2 + (1 * 3)be = 48

The total meters used in this policy = 4.

In example 5, num-qos-classifiers 72 is used (that is, a maximum of (48, (2 * 4)) = 48, rounded off to the next available numQosClassifier range.

If the same policy were used for a SAP in an Epipe service, all traffic is classified to a unicast traffic type and only unicast meters are used, use the following computation.

FCnc = 0 + 0 + 0 + 0 = 0
FCh1 = 0 + 0 + 0 + 0 = 0
FCef = 0 + 0 + 0 + 0 = 0
FCh2 = 0 + 0 + 0 + 0 = 0
FCl1 = 0 + 0 + 0 + 0 = 0
FCaf = 1 + 0 + 0 + 0 = 1
FCl2 = 0 + 0 + 0 + 0 = 0
FCbe = 1 + 0 + 0 + 0 = 1

Calculate the total classification entries used by this policy using the following equation.

TC = (0 * 0)nc + (0 * 0)h1 + (0 * 0)ef + (0 * 0)h2 + (0 * 0)l1 + (15 * 1)af + (0 * 0)l2 + (1 * 1)be = 16

The total meters used in this policy = 2.

For Epipe SAP, Nokia recommends defining another sap-ingress policy using num-qos-classifiers 16 (maximum of (16, (2 * 2)) = 16.