Download  Print this page

Nokia 7450 Quality Of Service Manual

Ethernet service switch, service router, extensible routing system
Hide thumbs
   
1
2
Table Of Contents
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988

Advertisement

QUALITY OF SERVICE GUIDE RELEASE 15.0.R1
7450 ETHERNET SERVICE SWITCH
7750 SERVICE ROUTER
7950 EXTENSIBLE ROUTING SYSTEM
QUALITY OF SERVICE GUIDE
RELEASE 15.0.R1
3HE 11974 AAAA TQZZA 01
Issue: 01
March 2017
Nokia — Proprietary and confidential.
Use pursuant to applicable agreements.

Advertisement

Table of Contents
loading

  Related Manuals for Nokia 7450

  Summary of Contents for Nokia 7450

  • Page 1 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 7450 ETHERNET SERVICE SWITCH 7750 SERVICE ROUTER 7950 EXTENSIBLE ROUTING SYSTEM QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 3HE 11974 AAAA TQZZA 01 Issue: 01 March 2017 Nokia — Proprietary and confidential. Use pursuant to applicable agreements.
  • Page 2 © 2017 Nokia. Contains proprietary/trade secret information which is the property of Nokia and must not be made available to, or copied or used by anyone outside Nokia without its written authorization. Not to be used or disclosed except in accordance with applicable agreements.
  • Page 3: Table Of Contents

    QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table of Contents Getting Started ................15 About This Guide..................15 QoS Configuration Process ...............16 QoS Policies .................17 QoS Overview ...................17 Forwarding Classes...................18 2.2.1 High-Priority Classes .................19 2.2.2 Assured Classes..................19 2.2.3 Best-Effort Classes..................20 Queue Parameters ..................20 2.3.1 Queue ID ....................20 2.3.2...
  • Page 4 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.4.9.4 Tiers......................72 2.4.9.5 Scheduler Policies Applied to Applications..........73 2.4.9.6 Scheduler Policies Applied to SAPs ............74 2.4.9.7 Scheduler Policies Applied to Customer SLAs..........75 2.4.9.8 Scheduler Policies Applied to Multiservice Sites ........75 2.4.10 Shared-queue QoS Policies ..............75 2.4.11 ATM Traffic Descriptor Profiles..............76 2.4.12...
  • Page 5 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 4.3.2.3 SONET/SDH Ports ..................158 4.3.3 Default Network Queue Policy Values ............158 Service Management Tasks ..............164 4.4.1 Deleting QoS Policies................165 4.4.2 Removing a Policy from the QoS Configuration ........165 4.4.3 Copying and Overwriting QoS Policies............165 4.4.4 Editing QoS Policies ................166 Network Queue QoS Policy Command Reference........167...
  • Page 6 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.5.3 Copying and Overwriting QoS Policies............225 5.5.4 Deleting QoS Policies................226 5.5.5 Removing a Policy from the QoS Configuration ........227 Service Ingress and Egress QoS Policy Command Reference....229 5.6.1 Command Hierarchies................229 5.6.1.1 Service Ingress QoS Policy Commands..........229 5.6.1.2 Service Egress QoS Policy Commands ..........233 5.6.1.3...
  • Page 7 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 6.9.2 Egress PW Shaping using Spoke-SDP Forwarding Class-Based Redirection ....................443 6.9.2.1 Feature Configuration................443 6.9.2.2 Provisioning Model ..................444 6.9.2.3 Egress Marking of PW Packet Header ............446 6.9.2.4 Ingress and Egress PW Statistics ............446 6.10 Queue Group Behavior on LAG ..............447 6.10.1 Queue Group Queue Instantiation Per Link ..........447 6.10.2...
  • Page 8 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 7.1.1.4 Parental Association Scope..............576 7.1.1.5 Service or Subscriber or Multiservice Site-Level Scheduler Parental Association Scope..............576 7.1.1.6 Network Queue Parent Scheduler............577 7.1.1.7 Foster Parent Behavior for Orphaned Queues and Schedulers....578 7.1.1.8 Congestion Monitoring on Egress Port Scheduler........579 7.1.2 Frame-Based Accounting ................584 7.1.2.1...
  • Page 9 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 7.4.1.2 Port Scheduler Policy Configuration Commands ........623 7.4.1.3 Operational Commands................624 7.4.1.4 Show Commands ..................624 7.4.1.5 Clear Commands..................625 7.4.2 Command Descriptions ................626 7.4.2.1 Configuration Commands................626 7.4.2.2 Operational Commands................626 7.4.2.3 Scheduler Policy Commands ..............627 7.4.2.4 Port Scheduler Policy Commands............636 7.4.2.5 Show Commands ..................644 7.4.2.6...
  • Page 10 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 9.4.1 Command Hierarchies................719 9.4.1.1 Configuration Commands................719 9.4.1.2 Show Commands ..................719 9.4.2 Command Descriptions ................720 9.4.2.1 Configuration Commands................720 9.4.2.2 Show Commands ..................729 Advanced QoS Policies..............731 10.1 Overview....................731 10.2 Basic Configurations................731 10.2.1 Creating an Advanced QoS Policy ............731 10.2.2 Applying Advanced Policies ..............732 10.2.2.1...
  • Page 11 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 11.2.2.4 Ipipe SAPs....................761 11.2.2.5 VPRN SAPs.....................761 11.2.2.6 VPLS SAPs .....................761 11.2.3 Default ATM-TD-Profile Policy Values ............762 11.3 Service Management Tasks ..............763 11.3.1 Removing a Profile from the QoS Configuration ........763 11.3.2 Copying and Overwriting Profiles ............763 11.3.3 Editing QoS Policies ................764 11.4...
  • Page 12 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 13.1.7.8 HSMDA Available Buffer Register Operation ..........828 13.1.8 HSMDA Queue Congestion and Buffer Utilization Controls ....829 13.1.8.1 Maximum HSMDA Queue Depth.............830 13.1.8.2 Control Plane HSMDA RED Slope Policy Management ......830 13.1.8.3 HSMDA Slope Policy MBS Parameter ............831 13.1.8.4 HSMDA Slope Policy Slope Parameters ..........831 13.1.8.5...
  • Page 13 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 14.4.2 QoS in FRF.12 End-to-End Fragmentation ..........895 14.5 MLPPP Command Reference ..............897 14.5.1 Command Hierarchies................897 14.5.1.1 Configuration Commands................897 14.5.2 Command Descriptions ................898 14.5.2.1 Configuration Commands................898 Class Fair Hierarchical Policing (CFHP) ........903 15.1 Overview....................903 15.2 Parent Policer Priority and Unfair Sensitive Discard Thresholds.....904 15.3 CFHP Ingress and Egress Use Cases ............906...
  • Page 14 QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 15.13.1.1 Class Fair Hierarchical Policing Commands ...........937 15.13.1.2 Operational Commands................937 15.13.1.3 Show Commands ..................938 15.13.2 Command Descriptions ................938 15.13.2.1 Configuration Commands................938 Frequently Used QoS Terms ............955 16.1 Overview....................955 16.2 Above CIR Distribution ................955 16.3 Available Bandwidth ................955 16.4 CBS ......................956...
  • Page 15: Getting Started

    SR OS router. Table 1 Supported SR OS Router Chassis Types 7450 ESS 7750 SR 7950 XRS • 7450 ESS-7/12 running in • 7450 ESS-7/12 running in • 7950 XRS-16c standard mode (not mixed- mixed-mode (not standard • 7950 XRS-20/40...
  • Page 16: Qos Configuration Process

    Service Ingress and Egress QoS Policies Scheduler Scheduler QoS Policies Slope Slope QoS Policies Shared queue Shared-Queue QoS Policies 7450 ESS, 7750 SR ATM traffic descriptor QoS ATM Traffic Descriptor Profiles 7750 SR Named pools Named Pools 7450 ESS, 7750 SR...
  • Page 17: Qos Policies

    Nokia service routers (such as the 7950 XRS, 7750 SR, 7750 SR MG, and 7450 ESS) appears like a Layer 2 path to the service data although it is really traversing an IP or IP/MPLS core. The tunnel from one edge device to the other edge device is provisioned with an encapsulation and the services are mapped to the tunnel that most appropriately supports the service needs.
  • Page 18: Forwarding Classes

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.2 Forwarding Classes Routers support multiple forwarding classes and class-based queuing, so the concept of forwarding classes is common to all of the QoS policies. Each forwarding class (also called Class of Service (CoS)) is important only in relation to the other forwarding classes.
  • Page 19: High-Priority Classes

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 • High-priority/Premium • Assured • Best-Effort 2.2.1 High-Priority Classes The high-priority forwarding classes are Network-Control (nc), Expedited (ef), High- 1 (h1), and High-2 (h2). High-priority forwarding classes are always serviced at congestion points over other forwarding classes; this behavior is determined by the router queue scheduling algorithm (Virtual Hierarchical Scheduling).
  • Page 20: Best-Effort Classes

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Multiple assured classes are supported with relative weighting between them. In DiffServ, the code points for the various Assured classes are AF4, AF3, AF2, and AF1. Typically, AF4 has the highest weight of the four and AF1 the lowest. The Assured and Low-1 classes are differentiated based on the default DSCP mappings.
  • Page 21: Queue Hardware Scheduler

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.3.3 Queue Hardware Scheduler The hardware scheduler for a queue dictates how it will be scheduled relative to other queues at the hardware level. When a queue is defined in a service ingress or service egress QoS policy, it is possible to explicitly define the hardware scheduler to use for the queue when it is applied to a SAP.
  • Page 22: Peak Information Rate

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 When defining the CIR for a queue, the value specified is the administrative CIR for the queue.The router has a number of native rates in hardware that it uses to determine the operational CIR for the queue. The user has some control over how the administrative CIR is converted to an operational CIR if the hardware does not support the exact CIR and PIR combination specified.
  • Page 23: Adaptation Rule

    CIR and PIR rates. As the hardware has a very granular set of rates, Nokia’s recommended method to determine which hardware rate is used for a queue is to configure the queue rates with the associated adaptation rule and use the show pools output to display the rate achieved.
  • Page 24: Committed Burst Size

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 *A:PE# show qos sap-egress 10 detail | match expression "Queue-Id|CIR Rule" Queue-Id Queue-Type : auto-expedite PIR Rule : closest CIR Rule : closest *A:PE# *A:PE# show pools 1/1/1 access-egress service 1 | match expression "PIR|CIR" Admin PIR : 403000 Oper PIR...
  • Page 25: Maximum Burst Size

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.3.8 Maximum Burst Size The maximum burst size (MBS) parameter specifies the maximum queue depth to which a queue can grow. This parameter ensures that a customer that is massively or continuously over-subscribing the PIR of a queue will not consume all the available buffer resources.
  • Page 26 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Each profile type can only fill the queue up to its corresponding drop tail. Figure 1 shows the ingress and egress queue drop tails. Figure 1 Ingress and Egress Queue Drop Tails Scheduler Ingress Queue In profile...
  • Page 27: Wred Per Queue

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 The low drop tail configuration can be overridden for ingress and egress SAP and queue group queues, and for network egress queues. It is also possible to override the low drop tail for subscriber queues within an SLA profile using the keyword high- prio-only.
  • Page 28: Native Queue Mode

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 4 WRED Per Queue Congestion Control Summary Inplus- Out-of- Exceed- WRED- Slope Comments profile profile profile profile queue Usage Traffic Traffic Traffic Traffic Mode FP3 queues Drop tail Drop tail Exceed Native Exceed- If slope...
  • Page 29 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 To configure a native WRED queue, the wred-queue command is used under queue in a SAP egress QoS policy or egress queue group template with the mode set to native as follows: queue-group-templates egress queue-group <queue-group-name>...
  • Page 30 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 wred-queue policy "slope1" mode native slope-usage exceed-low exit exit The details of both the pool and queue can then be shown using the following command: *A:PE# show pools 1/1/1 access-egress service 1 =============================================================================== Pool Information ===============================================================================...
  • Page 31: Pool Per Queue Mode

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 ------------------------------------------------------------------------------- State : disabled Start Average : 0 KB Max Average : 0 KB Max Probability : 0 % Curr Probability : 0 % ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- High Slope Information ------------------------------------------------------------------------------- State : disabled Start Average : 0 KB Max Average...
  • Page 32 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Figure 3 WRED Queue: Pool-per-queue Mode Buffers from shared portion of WRED megapool Buffers from reserved portion of WRED megapool low-slope exceed-slope highplus- slope Queue depth Slopes in WRED queues operate on the full high-slope WRED pool size (MBS) WRED queue...
  • Page 33 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Egress wred 24576 93696 =============================================================================== *A:PE# To configure a pool per queue, the wred-queue command is used under queue in a SAP egress QoS policy or egress queue group template with the mode set to pool- per-queue as follows: queue-group-templates egress...
  • Page 34 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 exit The details of both the megapool and queue pool usages can then be shown using the show megapools command (detailed version): *A:PE# show megapools 5 fp 1 wred service-id 1 =============================================================================== MegaPool Information =============================================================================== Slot...
  • Page 35: Packet Markings

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 State : enabled Start Average : 6144 KB Max Average : 9216 KB Max Probability : 80 % Curr Probability : 0 % ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Exceed Slope Information ------------------------------------------------------------------------------- State : enabled Start Average : 3648 KB Max Average...
  • Page 36: Queue Counters

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 At ingress and egress, the current dynamic rate of the queue relative to the queue’s CIR does affect the scheduling priority between queues going to the same destination (either the switch fabric tap or egress port). The strict operating priority for queues is (from highest to lowest): •...
  • Page 37: Color Aware Profiling

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.3.14 Color Aware Profiling The normal handling of SAP ingress access packets applies an in-profile or out-of- profile state to each packet relative to the dynamic rate of the queue while the packet is forwarded toward the egress side of the system.
  • Page 38: Qos Policies Overview

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.4 QoS Policies Overview Service ingress, service egress, and network QoS policies are defined with a scope of either template or exclusive. Template policies can be applied to multiple SAPs or IP interfaces; exclusive policies can only be applied to a single entity. On most systems, the number of configurable SAP ingress and egress QoS policies per system is larger than the maximum number that can be applied per FP.
  • Page 39 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 The characteristics of the forwarding class queues are defined within the policy as to the number of forwarding class queues for unicast traffic and the queue characteristics. There can be up to eight unicast forwarding class queues in the policy;...
  • Page 40 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 5 QoS Policy Types and Descriptions Policy Type Applied at… Description Service Ingress SAP ingress Defines up to 32 forwarding class queues and queue Service parameters for traffic classification Ingress Defines up to 31 multipoint service queues for Policies broadcast, multicast, and destination unknown traffic in multipoint services...
  • Page 41: Service Versus Network Qos

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Table 5 QoS Policy Types and Descriptions (Continued) Policy Type Applied at… Description Shared Queue SAP ingress Shared queues can be implemented to mitigate the Shared- queue consumption on an MDA queue QoS Policies ATM Traffic SAP ingress...
  • Page 42: Qos Policy Entities

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • Network QoS policies • Network Queue QoS policies 2.4.2 QoS Policy Entities Services are configured with default QoS policies. Additional policies must be explicitly created and associated. There is one default service ingress QoS policy, one default service egress QoS policy, and one default network QoS policy.
  • Page 43: Network Qos Policies

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Default QoS policies map all traffic with equal priority and allow an equal chance of transmission (Best Effort (be) forwarding class) and an equal chance of being dropped during periods of congestion. QoS prioritizes traffic according to the forwarding class and uses congestion management to control access ingress, access egress, and network traffic with queuing according to priority.
  • Page 44 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • LSP EXP value-to-forwarding class and profile state mappings for all EXP values received • Ingress FC fp-redirect-group policer mapping • Egress FC port-redirect-group queue/policer mapping Network policy ID 1 is reserved as the default network QoS policy. The default policy cannot be deleted or changed.
  • Page 45: Network Queue Qos Policies

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Table 7 Default Network QoS Policy DSCP to Forwarding Class Mappings Ingress DSCP Forwarding Class dscp-name dscp-value FC ID Name Label Profile (binary - decimal) State Default Best-Effort 101110 - 46 Expedited 110000 - 48 High-1 111000 - 56...
  • Page 46 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • Committed Buffer Size (CBS) as a percentage of the buffer pool • Maximum Buffer Size (MBS) as a percentage of the buffer pool • Low drop tail as a percentage reduction from MBS •...
  • Page 47 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Table 8 Default Network Queue Policy Definition (Continued) Forwarding Class Queue Definition (Continued) • PIR = 100% High-2 (h2) Queue 5 Multicast Queue 13 • CIR = 100% • MBS = 50% •...
  • Page 48: Service Ingress Qos Policies

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.4.5 Service Ingress QoS Policies Service ingress QoS policies define ingress service forwarding class queues and map flows to those queues. When a service ingress QoS policy is created by default, it always has two queues defined that cannot be deleted: one for the default unicast traffic and one for the default multipoint traffic.
  • Page 49 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 To facilitate more forwarding classes, subclasses are supported. Each forwarding class can have one or multiple subclass associations for SAP ingress classification purposes. Each subclass retains the chassis-wide behavior defined to the parent class while providing expanded ingress QoS classification actions.
  • Page 50: Fc Mapping Based On Exp Bits At Vll/Vpls Sap

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 9 Forwarding Class and Enqueuing Priority Classification Hierarchy Based on Rule Type (Continued) Rule Forwarding Class Enqueuing Priority Comments dscp dscp-name Set when an fc-name Set when the priority Each dscp-name that defines exists in the policy.
  • Page 51 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Figure 6 Example Configuration — Carrier Application MPLS LSP VPLS/VLL ISP-1 Backbone ISP-1 Site A Provider Site B PE-B PE-B 7x50-1 7x50-2 ISP-Ether-Header BB-Link-Header ISP-Ether-Header ISP-Tunnel-Label BB-Tunnel-Label ISP-Tunnel-Label ISP-Svc-Label BB-Svc-Label ISP-Svc-Label ISP-Payload ISP-Ether-Header ISP-Payload ISP-Tunnel-Label...
  • Page 52 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The enqueuing priority is specified as part of the classification rule and is set to “high” or “low”. The enqueuing priority relates to the forwarding class queue’s low drop tail where only packets with a high enqueuing priority are accepted into the queue once the queue’s depth reaches the defined threshold.
  • Page 53 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 The MAC match criteria that can be used for an Ethernet frame depends on the frame’s format; see Table Table 11 MAC Match Ethernet Frame Types Frame Format Description 802dot3 IEEE 802.3 Ethernet frame. Only the source MAC, destination MAC, and IEEE 802.1p value are compared for match criteria.
  • Page 54: Egress Forwarding Class Override

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 13 Default Service Ingress Policy ID 1 Definition Characteristic Item Definition Queues Queue 1 One queue for all unicast traffic: • Forward Class: best-effort (be) • CIR = 0 • PIR = max (line rate) •...
  • Page 55: Service Egress Qos Policies

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Figure 7 Egress Forwarding Class Override Ingress (Service 1): These 2 AF classes are FC EF combined and use FC AF21 FC AF L1 across the core AF11 FC L1 Egress (Network): FC BE FC EF FC L1...
  • Page 56 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • A unique service egress QoS policy ID • A QoS policy scope of template or exclusive • At least one defined default queue Optional service egress QoS policy elements include: • Additional queues up to a total of eight separate queues (unicast) •...
  • Page 57: Named Pool Policies

    RELEASE 15.0.R1 2.4.7 Named Pool Policies The named buffer pool feature for the 7450 ESS and 7750 SR allows for the creation of named buffer pools at the MDA and port level. Named pools allow for a customized buffer allocation mode for ingress and egress queues that goes beyond the default pool behavior.
  • Page 58 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • Per-port named pools cannot be used by ingress network queues, but pools defined in a named pool policy defined on an ingress all network port are still created: − Ingress network queues use the default network pool or MDA named pools. −...
  • Page 59 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 When named pool mode is enabled, the system changes the way that default pools are created. The system no longer creates default pools per port; instead, a set of per forwarding plane level pools are created that are used by all queues that are not explicitly mapped to a named pool.
  • Page 60: Slope Policies

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.4.8 Slope Policies For network ingress, a buffer pool is created for the XMA or MDA and is used for all network ingress queues for ports on the XMA or MDA. Slope policies define the RED slope characteristics as a percentage of pool size for the pool on which the policy is applied.
  • Page 61 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 For access and network buffer pools, the percentage of the buffers that are to be reserved for CBS buffers is configurable. This setting indirectly assigns the amount of shared buffers on the pool. This is an important function that controls the ultimate average and total shared buffer utilization value calculation used for RED slope operation.
  • Page 62 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 9. The new SBAU is used as the SBAU the next time that a packet’s probability is plotted on the RED slope. 10. When a packet is removed from a queue (if the buffers returned to the buffer pool are from the shared buffers), the SBU is reduced by the amount of buffers returned.
  • Page 63: Tuning The Sbau Calculation

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 Plotting any value of shared buffer average utilization will result in a value for packet discard probability from 0 to 1. Changing the values for start-avg, max-avg, and max- prob allows the adaptation of the RED slope to the needs of the access or network queues using the shared portion of the buffer pool, including disabling the RED slope.
  • Page 64 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 15 TAF Impact on Shared Buffer Average Utilization Calculation Equates Instantaneous SBU SBAU Portion Portion 1/1 (1) 0 (0) 1/2 (0.5) 1/2 (0.5) 1/4 (0.25) 3/4 (0.75) 1/8 (0.125) 7/8 (0.875) 1/16 (0.0625) 15/16 (0.9375) 1/32 (0.03125)
  • Page 65: Slope Policy Parameters

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.4.8.3 Slope Policy Parameters The elements required to define a slope policy are: • a unique policy ID • the highplus, high, low, and exceed RED slope shapes for the buffer pool: the start-avg, max-avg and max-prob •...
  • Page 66: Scheduler Policies

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 16 Default Slope Policy Definition (Continued) Parameter Description Setting Low (RED) slope Administrative state Shutdown start-avg 50% utilization max-avg 75% utilization max-prob 80% probability Exceed (RED) Administrative state Shutdown slope start-avg 30% utilization max-avg 55% utilization...
  • Page 67 QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 When a parent scheduler is defined without specifying level, weight, or CIR parameters, the default bandwidth access method is weight with a value of 1. If any orphaned policers or queues (where the specified scheduler name does not exist) exist on the ingress SAP and the policy application creates the required scheduler, the status on the queue becomes non-orphaned at this time.
  • Page 68 QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Figure 9 Virtual Scheduler Internal Bandwidth Allocation Scheduler Loop Within CIRL Policy CIRL Child Offered Within CIR and Above CIR Load CIRL Limited by Child Maximum Rate (PIR) Child Served Within CIR Loop According to Within CIRL Provisioned CIR-Level...
  • Page 69: Virtual Hierarchical Scheduling

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.4.9.1 Virtual Hierarchical Scheduling Virtual hierarchical scheduling is a method that defines a bounded operation for a group of queues and, at egress only, policers. One or more policers and queues are mapped to a scheduler with strict and weighted metrics controlling access to the scheduler.
  • Page 70: Single-Tier Scheduling

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 2.4.9.2 Single-Tier Scheduling Single-tier scheduling is the default method of scheduling queues in the router. Queues are scheduled with single-tier scheduling if no explicit hierarchical scheduler policy is defined or applied. There are no configurable parameters for single-tier scheduling.
  • Page 71: Hierarchical Scheduler Policies

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 • Queues associated with the low-priority scheduler operating within their CIR • All queues with traffic above CIR and within PIR will be serviced by a biased round-robin • Queues associated with the high-priority scheduler operating above their CIR •...
  • Page 72: Tiers

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Figure 10 Hierarchical Scheduler and Queue Association Tier 3 Tier 2 Tier 1 Queue Weighted Rate Limiting Scheduler Queue Weighted Rate Limiting Scheduler Queue Weighted Rate Limiting Scheduler Queue Weighted Rate Limiting Scheduler Queue Weighted...
  • Page 73: Scheduler Policies Applied To Applications

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.4.9.5 Scheduler Policies Applied to Applications A scheduler policy can be applied either on a SAP (see Figure 11) or on a multiservice customer site (a group of SAPs with common origination/termination point) (see Figure 12).
  • Page 74: Scheduler Policies Applied To Saps

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Figure 12 Scheduler Policy on Customer Site and Scheduler Hierarchy Creation Hierarchical Schedulers Created Through Scheduler Policy Application To Individual SAP Scheduler Policy Ingress or Egress Forwarding Service Class Queue Weighted Packet Rate Limiting Packet Scheduler...
  • Page 75: Scheduler Policies Applied To Customer Slas

    QUALITY OF SERVICE GUIDE QoS Policies RELEASE 15.0.R1 2.4.9.7 Scheduler Policies Applied to Customer SLAs The router implementation of hierarchical QoS allows a common set of virtual schedulers to govern bandwidth over a set of customer services that is considered to be from the same site.
  • Page 76: Atm Traffic Descriptor Profiles

    QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 However, as a tradeoff, the total amount of traffic throughput at ingress of the node is reduced because any ingress packet serviced by a shared-queuing SAP is recirculated for further processing. When the node is only used for access SAPs, 5 Gbps ingress traffic is the maximum that can be processed without seeing packet drops at the MDA ingress.
  • Page 77: Network Qos Policies

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 3 Network QoS Policies 3.1 Network QoS Policies Overview The ingress component of the policy defines how DiffServ Code Points (DSCPs) and MPLS EXP bits are mapped to internal forwarding class and profile state. The forwarding class and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the router.
  • Page 78: Network Ingress Tunnel Qos Override

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 3.2 Network Ingress Tunnel QoS Override 3.2.1 Override For Tunnel Terminated IP Routing Decisions This section describes a mechanism that provides the ability to ignore the network ingress QoS mapping of a terminated tunnel containing an IP packet that is to be routed to a base router or VPRN destination.
  • Page 79: Network Ingress Ip Match Criteria

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 3.2.1.2 Network Ingress IP Match Criteria IP match criteria classification is supported in the ingress section of a network QoS policy. The classification only applies to the outer IPv4 header of non-tunneled traffic; consequently, the use of an ip-criteria statement in a network QoS policy is ignored for received traffic when the network QoS policy is applied on the ingress network IP interface in the following cases:...
  • Page 80: Tunnel Termination Qos Override Operation

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The classification only applies to the outer IPv6 header of non-tunneled traffic; consequently, the use of an ipv6-criteria statement in a network QoS policy is ignored for received traffic when the network QoS policy is applied on the ingress network IP interface in the following cases: •...
  • Page 81: Enabling And Disabling Tunnel Termination Qos Override

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 When tunnel termination QoS override is enabled, the ToS field within the routed IP header is evaluated against the IP ToS precedence and DSCP entries in the applied network QoS policy on the ingress IP interface. If an explicit match entry is not found, the default QoS mapping is used.
  • Page 82: Qos For Self-Generated (Cpu) Traffic On Network Interfaces

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The IP precedence and DSCP based re-classification are supported on a network interface, on a CSC network interface in a VPRN, and on a PW used in an IES or VPRN spoke-interface. The CLI blocks the application of a network QoS policy with the egress re-classification commands to a network IP interface or to a spoke-SDP part of L2 service.
  • Page 83 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 The DSCP value can be set per application. When an application is configured to use a specified DSCP value, the 802.1p and MPLS EXP bits will be marked in accordance with the network (default 802.1p value of 7) or access (default 802.1p value of 0) egress policy as it applies to the logical interface that the packet will be egressing.
  • Page 84 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 19 Default QoS Values for Self-Generated Traffic (Continued) Protocol DSCP ICMP BE, NC1 IGMP IGMP Reporter IS-IS L2TP LDP/T-LDP MSC (Multichassis Support) MSDP ND (NDIS) NC1, NC2 NTP/SNTP OpenFlow OSPF PCEP PPPoE RADIUS...
  • Page 85: Default Dscp Mapping Table

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Table 19 Default QoS Values for Self-Generated Traffic (Continued) Protocol DSCP TACACS+ AF41 Telnet AF41 TFTP AF41 Traceroute TWAMP, TWAMP Light VRRP XMPP Note: ICMP echo requests (type 8) and ICMPv6 echo requests (type 128) initiated from the router will use the DSCP value set by the sgt-qos command.
  • Page 86: Basic Configurations

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Default 0x00 0b000000 0x30 0b110000 0x38 0b111000 0x2e 0b101110 af11 0x0a 0b001010 assured af12 0x0c 0b001100 assured af13 0x0e 0b001110 assured af21 0x12 0b010010 af22 0x14 0b010100 af23 0x16 0b010110 af31 0x1a 0b011010 af32...
  • Page 87 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 − Remarking — When enabled, this command remarks all packets that egress on the specified network port. The remarking is based on the forwarding class to DSCP and LSP EXP bit mapping defined under the egress node of the network QoS policy.
  • Page 88 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 − Default action — Defines the default action to be taken for packets that have an undefined configured classification. The default action specifies the forwarding class and profile to which such packets are assigned. −...
  • Page 89 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 port-redirect-group {queue queue-id | policer plcr-id [queue queue-id]} prec dscp-name fc fc-name profile {in | out | egress | inplus} remarking ingress default-action fc fc-name profile {in | out} dot1p dot1p-priority fc fc-name profile {in | out | use-de} dscp dscp-name fc {be | l2 | af | l1 | h2 | ef | h1 | nc} profile {in | out}...
  • Page 90: Applying Network Qos Policies

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 src-port [{lt | gt | eq} src- port-number src-port range start end renum old-entry-id new-entry-id ler-use-dscp lsp-exp lsp-exp-value fc fc-name profile {in | out} scope {exclusive | template} A:ALA-10:A:ALA-12>config>qos# info #------------------------------------------ echo "QoS Policy Configuration"...
  • Page 91: Default Network Qos Policy Values

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 3.5.3 Default Network QoS Policy Values The default network policy for IP interfaces is identified as policy-id 1. Default policies cannot be modified or deleted. Table 20 lists default network policy parameters. Table 20 Network Policy Defaults Field...
  • Page 92 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 20 Network Policy Defaults (Continued) Field Default fc be profile out fc l2 profile in fc af profile out fc af profile in fc h2 profile in fc ef profile in fc h1 profile in fc nc...
  • Page 93 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Table 20 Network Policy Defaults (Continued) Field Default dscp-out-profile lsp-exp-in-profile lsp-exp-out-profile fc h2 dscp-in-profile af41 dscp-out-profile af42 lsp-exp-in-profile lsp-exp-out-profile fc l dscp-in-profile af21 dscp-out-profile af22 lsp-exp-in-profile lsp-exp-out-profile fc l2 dscp-in-profile dscp-out-profile lsp-exp-in-profile lsp-exp-out-profile fc nc...
  • Page 94 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 default-action fc be profile out no ler-use-dscp dscp be fc be profile out dscp ef fc ef profile in dscp cs1 fc l2 profile in dscp nc1 fc h1 profile in dscp nc2 fc nc profile in dscp af11 fc af profile in dscp af12 fc af profile out...
  • Page 95: Service Management Tasks

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 dot1p-in-profile 6 dot1p-out-profile 6 exit fc h2 dscp-in-profile af41 dscp-out-profile af42 lsp-exp-in-profile 4 lsp-exp-out-profile 4 dot1p-in-profile 4 dot1p-out-profile 4 exit fc l1 dscp-in-profile af21 dscp-out-profile af22 lsp-exp-in-profile 3 lsp-exp-out-profile 2 dot1p-in-profile 3 dot1p-out-profile 3 exit fc l2...
  • Page 96: Removing A Policy From The Qos Configuration

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 interface interface-name qos network-policy-id The following output displays a sample configuration. A:ALA-7>config>router# info #------------------------------------------ echo "IP Configuration" #------------------------------------------ interface "ALA-1-2" address 10.10.4.3/24 broadcast host-ones no port no arp-timeout no allow-directed-broadcasts icmp mask-reply redirects 100 10 unreachables 100 10...
  • Page 97: Copying And Overwriting Network Policies

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 3.6.3 Copying and Overwriting Network Policies You can copy an existing network policy to a new policy ID value or overwrite an existing policy ID. The overwrite option must be specified or an error occurs if the destination policy ID exists.
  • Page 98: Editing Qos Policies

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 dscp nc2 fc nc profile in dscp af11 fc af profile in dscp af12 fc af profile out dscp af13 fc af profile out dscp af21 fc l1 profile in dscp af22 fc l1 profile out --------------------------------------------- A:ALA-12>config>qos# 3.6.4 Editing QoS Policies...
  • Page 99: Network Qos Policy Command Reference

    — no weight — description description-string — no description 3.7.1.1.2 Network QoS Policy Commands The commands listed in this section apply only to the 7450 ESS and 7750 SR. config — qos Issue: 01 3HE 11974 AAAA TQZZA 01...
  • Page 100 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — network network-policy-id [create] — no network network-policy-id — description description-string — no description — ingress — default-action fc fc-name profile {in | out} — dot1p dot1p-priority fc fc-name profile {in | out | use-de} —...
  • Page 101: Self-Generated Traffic Commands

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 — dst-port range start end — no dst-port — fragment {true | false | first-only | non-first- only} — no fragment — src-ip {ipv6-address/prefix-length | ipv6-address ipv6-address-mask} — no src-ip — src-port {lt | gt | eq} src-port-number —...
  • Page 102: Operational Commands

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — application dscp-app-name dscp {dscp-value | dscp-name} — application dot1p-app-name dot1p dot1p-priority — no application {dscp-app-name | dot1p-app-name} — dscp dscp-name fc fc-name — no dscp dscp-name — router — sgt-qos —...
  • Page 103: Command Descriptions

    QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 3.7.2 Command Descriptions 3.7.2.1 Configuration Commands 3.7.2.1.1 Generic Commands description Syntax description description-string no description Context config>qos>mc-fr-profile-egress config>qos>mc-fr-profile-ingress config>qos>network config>qos>network>ingress>ip-criteria>entry config>qos>network>ingress>ipv6-criteria>entry Description This command creates a text description stored in the configuration file for a configuration context.
  • Page 104 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword. Parameters network src-pol dst-pol — Indicates that the source and destination policies are network policy IDs.
  • Page 105 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Description This command provides the Frame Relay scheduling class context for the user to configure the ingress or egress QoS parameters of an MLFR bundle or an FRF.12 UNI/NNI link for this profile.
  • Page 106 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 create — Required parameter when creating a multi-class Frame Relay egress profile. max-queue-size Syntax max-queue-size queue-size no max-queue-size Context config>qos>mc-fr-profile-egress>class Description This command configures the maximum size for each Frame Relay scheduling class queue for this profile.
  • Page 107 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Description This command configures the WRR weight scheduling parameter for each Frame Relay scheduling class queue for this profile. Default Class 0 = N/A Class 1 = 1 (not configurable) Class 2 = 89 Class 3 = 10 Parameters weight —...
  • Page 108 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Network policy-id 1 exists as the default policy that is applied to all network ports by default. This default policy cannot be modified or deleted. It defines the default DSCP-to-FC mapping and default unicast meters for ingress IP traffic.
  • Page 109 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Parameters exclusive — When the scope of a policy is defined as exclusive, the policy can only be applied to one interface. If a policy with an exclusive scope is assigned to a second interface, an error message is generated.
  • Page 110 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters fc-name — Specifies the forwarding class name. All packets with DSCP value or MPLS EXP or dot1p bits that are not defined will be placed in this forwarding class. Values be, l2, af, l1, h2, ef, h1, nc profile {in | out} —...
  • Page 111 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 fc-name — The value given for the fc-name parameter must be one of the predefined forwarding classes in the system. Specifying the fc-name is optional. When a packet matches the rule, the forwarding class is only overridden when the fc fc-name parameter is defined on the rule.
  • Page 112 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 21 Default DSCP Names to DSCP Value Mapping DSCP Name DSCP Value DSCP Value DSCP Value Decimal Binary Hexadecimal 0x30 0b110000 0x38 0b111000 0x2e 0b101110 af41 0x22 0b100010 af42 0x24 0b100100 af43 0x26...
  • Page 113 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Table 22 Default Class Selector Code Points to DSCP Value Mapping DSCP Name DSCP Value DSCP Value DSCP Value Decimal Binary Hexadecimal 0b001000 fc-name — Enter this required parameter to specify the fc-name with which the code point will be associated.
  • Page 114 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 fp-redirect-group Syntax fp-redirect-group policer-type-policer policer-id no fp-redirect-group policer-type Context config>qos>network>ingress>fc Description This command is used to redirect the FC of a broadcast packet received in a VPLS service over a PW or network IP interface to an ingress forwarding plane queue-group. It defines the mapping of an FC to a policer-id and redirects the lookup of the policer of the same ID in some ingress forwarding plane queue-group instance.
  • Page 115 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Attempting to apply a network QoS policy containing an ip-criteria statement to any object except a network IP interface will result in an error. The no form of this command deletes all the entries specified under this node. Once IP criteria entries are removed from a network ingress policy, the IP criteria is removed from all network interfaces where that policy is applied.
  • Page 116 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The list of flow criteria is evaluated in a top-down manner with the lowest entry ID at the top and the highest entry ID at the bottom. If the defined match criteria for an entry within the list matches the information in the ingress packet, the system stops matching the packet against the list and performs the matching entries reclassification actions.
  • Page 117 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 The action command must be executed for the match criteria to be added to the active list of entries. Each time action is executed on a specific entry ID, the previously entered values for fc fc- name and profile are overridden with the newly defined parameters.
  • Page 118 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The no form of this command removes the match criteria for the entry-id. Parameters protocol protocol-id — Specifies an IP protocol to be used as an ingress network QoS policy match criterion. The protocol type such as TCP / UDP / OSPF is identified by its respective protocol number.
  • Page 119 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Table 23 Protocol ID Descriptions (Continued) Protocol Protocol ID Description iso-ip ISO Internet Protocol eigrp EIGRP ospf-igp OSPFIGP ether-ip Ethernet-within-IP Encapsulation encap Encapsulation Header pnni PNNI over IP Protocol Independent Multicast vrrp Virtual Router Redundancy Protocol l2tp...
  • Page 120 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 802.1p bits • DSCP • IP quintuple The no form of this command removes the match criteria for the entry-id. Parameters next-header next-header — Specifies the next header to match. The protocol type such as TCP / UDP / OSPF is identified by its respective protocol number.
  • Page 121 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Context config>qos>network>ingress>ip-criteria>entry>match config>qos>network>ingress>ipv6-criteria>entry>match Description This command configures a destination address range to be used as a network ingress QoS policy match criterion. To match on the destination address, specify the address and its associated mask, for example, 10.1.0.0/16.
  • Page 122 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 fragment Syntax fragment {true | false} no fragment Context config>qos>ingress>ip-criteria>entry>match Description This command configures fragmented or non-fragmented IP packets as a network ingress QoS policy match criterion. The no form of this command removes the match criterion and matches all packets regardless of whether they are fragmented or not.
  • Page 123 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 no src-ip Context config>qos>network>ingress>ip-criteria>entry>match config>qos>network>ingress>ipv6-criteria>entry>match Description This command configures a source IPv4 or IPv6 address range to be used as a network ingress QoS policy match criterion. To match on the source IPv4 or IPv6 address, specify the address and its associated mask, for example, 10.1.0.0/16.
  • Page 124 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command configures a source TCP or UDP port number or port range for a network ingress QoS policy match criterion. The no form of this command removes the source port match criterion. Default No src-port match criterion.
  • Page 125 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Description This command is used to enable tunnel QoS mapping on all ingress network IP interfaces that the network-qos-policy-id is associated with. The command may be defined at anytime after the network QoS policy has been created. Any network IP interfaces currently associated with the policy will immediately start to use the internal IP ToS field of any tunnel terminated IP routed packet received on the interface, ignoring any QoS markings in the tunnel portion of the packet.
  • Page 126 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 fc fc-name — Enter this required parameter to specify the fc-name that the EXP bit pattern will be associated with. Values be, l2, af, l1, h2, ef, h1, nc profile {in | out} — Enter this required parameter to indicate whether the LSP EXP value is the in-profile or out-of-profile value.
  • Page 127 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Description This command is used to explicitly define the marking of the DE bit for fc fc-name according to the inplus-profile or in-profile and out-of-profile or exceed-profile status of the packet (fc- name may be used to identify the dot1p value).
  • Page 128 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command specifies dot1p in-profile mappings. The inplus-profile traffic is marked with the same value as in-profile traffic. The no form of the command resets the configuration to the default in-profile dot1p-priority setting for policy-id 1.
  • Page 129 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Description This command specifies the in-profile DSCP name for the forwarding class. The corresponding DSCP value will be used for all IP packets that require marking at egress on this forwarding class queue, and that are in-profile. The inplus-profile traffic is marked with the same value as in-profile traffic.
  • Page 130 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command specifies the in-profile LSP EXP value for the forwarding class. The EXP value will be used for all LSP labeled packets requiring marking that require marking at egress on this forwarding class queue, and that are in-profile.
  • Page 131 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 port-redirect-group Syntax port-redirect-group {queue queue-id | policer policer-id [queue queue-id]} no port-redirect-group Context config>qos>network>egress>fc Description This command is used to redirect the FC of a packet of a pseudowire (PW) or network IP interface to an egress port queue group.
  • Page 132 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The IP precedence- and DSCP-based reclassification are supported on a network interface, on a CSC network interface in a VPRN, and on a PW used in an IES or VPRN spoke interface.
  • Page 133 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 prec Syntax prec ip-prec-value fc fc-name profile {in | out | exceed | inplus} no prec ip-prec-value Context config>qos>network>egress Description This command defines a specific IP precedence value that must be matched in order to perform the associated reclassification actions.
  • Page 134 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 profile {in | out | exceed | inplus} — The profile reclassification action is mandatory. When specified, packets matching the IP precedence value will be explicitly reclassified to the profile specified regardless of the ingress profiling decision. To remove the profile reclassification action for the specified IP precedence value, the no prec command must be executed.
  • Page 135 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Ingress IP Interface Type Egress Network IP Interface Trust Egress Network IP Interface Trust and Trust State Remark Disabled (Default) Remark Enabled IES Non-Trusted (Default) Egress Remarked Egress Remarked IES Trusted Egress Not Remarked Egress Remarked VPRN Non-Trusted...
  • Page 136 Values The following values apply to the 7450 ESS: bgp, call-trace, dhcp, dns, ftp, icmp, igmp, ldp, mld, ntp, ospf, radius, rsvp, rip, ssh, snmp, snmp-notification, syslog, telnet, tftp, traceroute, tacplus, vrrp dscp-value —...
  • Page 137 — Specifies the dot1p application name. Values The following values apply to the 7750 SR and 7950 XRS: arp, isis, pppoe Values The following values apply to the 7450 ESS arp, isis dscp Syntax dscp dscp-name fc fc-name no dscp dscp-name Context config>router>sgt-qos...
  • Page 138: Show Commands

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 3.7.2.3 Show Commands dscp-table Syntax dscp-table [value dscp-value] Context show>qos Description This command displays the DSCP name-to-DSCP value mappings. Parameters value dscp-value — The specific DSCP value for which to display information. Values 0 to 63 Default...
  • Page 139 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 af32 0111 0000 cp29 0111 0100 af33 0111 1000 cp31 0111 1100 1000 0000 cp33 1000 0100 af41 1000 1000 cp35 1000 1100 af42 1001 0000 cp37 1001 0100 af43 1001 1000 cp39 1001 1100 1010 0000...
  • Page 140 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 24 Show QoS DSCP Table Output Fields (Continued) Label Description DSCP Value Displays the DSCP values, between 0 and 63. TOS (bin) Displays the type of service in binary format. TOS (hex) Displays the type of service in hex format.
  • Page 141 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 mc-fr-profile-egress Syntax mc-fr-profile-egress mc-fr-profile-egress profile-id [detail] Context show>qos Description This command displays MLFR egress profile details. Output The following output is an example of MLFR ingress profile information. Sample Output *A:Cpm-A# show qos mc-fr-profile-egress 1 ======================================================================== Multi-class FR Egress Profile (1) ========================================================================...
  • Page 142 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters policy-id — Displays information for the specific policy ID. Values 1 to 65535 Default all network policies detail — Includes information about ingress and egress DSCP and LSP EXP bit mappings and network policy interface associations.
  • Page 143 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 af22 af23 af31 af32 af33 af41 af42 af43 ------------------------------------------------------------------------------ LSP EXP Bit Map Fowarding Class Profile ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Egress Forwarding Class Queuing ------------------------------------------------------------------------------ FC Name : af - DSCP Mapping Out-of-Profile : af12 In-Profile : af11 - LSP EXP Bit Mapping...
  • Page 144 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 FC Name : l2 - DSCP Mapping Out-of-Profile : cs1 In-Profile : cs1 - LSP EXP Bit Mapping Out-of-Profile : 1 In-Profile FC Name : nc - DSCP Mapping Out-of-Profile : nc2 In-Profile : nc2 - LSP EXP Bit Mapping...
  • Page 145 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 - DE Mark : Force 1 FC Value FC Name : l2 - DSCP Mapping Out-of-Profile : cs1 In-Profile : cs1 - dot1p Mapping Out-of-Profile : 1 In-Profile - LSP EXP Bit Mapping Out-of-Profile : 1 In-Profile - DE Mark...
  • Page 146 Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 ------------------------------------------------------------------------------- Egress Forwarding Class Mapping ------------------------------------------------------------------------------- FC Value FC Name : be - DSCP Mapping Out-of-Profile : be In-Profile : be - dot1p Mapping Out-of-Profile In-Profile - LSP EXP Bit Mapping Out-of-Profile In-Profile DE Mark...
  • Page 147 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 - dot1p Mapping Out-of-Profile In-Profile - LSP EXP Bit Mapping Out-of-Profile In-Profile DE Mark None Redirect Grp Q None Redirect Grp Plcr: None FC Value FC Name : ef - DSCP Mapping Out-of-Profile : ef In-Profile...
  • Page 148: Configuration File

    Network QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Redirect UniCast Plcr : None Redirect MultiCast Plcr : None Redirect BroadCast Plcr : None Redirect Unknown Plcr : None FC Value FC Name : af Redirect UniCast Plcr : None Redirect MultiCast Plcr : None Redirect BroadCast Plcr : None Redirect Unknown Plcr...
  • Page 149 QUALITY OF SERVICE GUIDE Network QoS Policies RELEASE 15.0.R1 Table 25 Show QoS Network Output Fields (Continued) Label Description Forward Class/ Specifies the forwarding class name. FC Name Profile Out — Specifies that IP packets requiring marking the egress on this forwarding class queue that are out of profile.
  • Page 150 Values The following values apply to the 7450 ESS: arp, bgp, dhcp, dns, ftp, icmp, isis, ldp, ntp, ospf, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute,...
  • Page 151: Network Queue Qos Policies

    QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 4 Network Queue QoS Policies 4.1 Overview Network queue policies define the ingress network queuing at the XMA/MDA network node level. Network queue policies are also used at the Ethernet port and SONET/ SDH path level to define network egress queuing.
  • Page 152: Basic Configurations

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 4.3 Basic Configurations A basic network queue QoS policy must conform to the following: • Each network queue QoS policy must have a unique policy name. • Queue parameters can be modified, but cannot be deleted. 4.3.1 Creating a Network Queue QoS Policy Configuring and applying QoS policies other than the default policy is optional.
  • Page 153 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 description "Default network queue QoS policy." queue 1 create mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10 exit exit exit queue 2 create rate 100 cir 25 mbs 50 cbs 3 drop-tail percent-reduction-from-mbs 10 exit...
  • Page 154 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 exit queue 7 create rate 100 cir 10 mbs 25 cbs 3 drop-tail percent-reduction-from-mbs 10 exit exit exit queue 8 create rate 100 cir 10 mbs 25 cbs 3 drop-tail percent-reduction-from-mbs 10 exit exit...
  • Page 155 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 exit queue 13 multipoint create rate 100 cir 100 mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10 exit exit exit queue 14 multipoint create rate 100 cir 100 mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10 exit...
  • Page 156: Applying Network Queue Qos Policies

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 queue 5 exit fc l1 create multicast-queue 12 queue 4 exit fc l2 create multicast-queue 10 queue 2 exit fc nc create multicast-queue 16 queue 8 exit 4.3.2 Applying Network Queue QoS Policies Apply network queue policies to the following entities: •...
  • Page 157: Ethernet Ports

    QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 exit egress pool default resv-cbs sum slope-policy "default" exit exit exit access ingress pool default resv-cbs sum slope-policy "default" exit exit egress pool default resv-cbs sum slope-policy "default" exit exit exit no shutdown ----------------------------------------------...
  • Page 158: Sonet/Sdh Ports

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 4.3.2.3 SONET/SDH Ports Use the following CLI syntax to apply a network queue policy to a SONET/SDH port: CLI Syntax: config>port# sonet-sdh path path network queue-policy name The following output displays the port configuration. A:ALA-48>config>port# info ---------------------------------------------- description "OC-12 SONET/SDH"...
  • Page 159 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Table 26 Network Queue Policy Defaults (Continued) Field Default low percent-reduction- from-mbs queue 2 low percent-reduction- from-mbs queue 3 low percent-reduction- from-mbs queue 4 low percent-reduction- from-mbs queue 5 Issue: 01 3HE 11974 AAAA TQZZA 01...
  • Page 160 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 26 Network Queue Policy Defaults (Continued) Field Default low percent-reduction- from-mbs queue 6 low percent-reduction- from-mbs queue 7 low percent-reduction- from-mbs queue 8 low percent-reduction- from-mbs fc af queue 3 multicast-queue 11 fc be queue 1...
  • Page 161 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Table 26 Network Queue Policy Defaults (Continued) Field Default fc h1 queue 67 multicast-queue 15 fc h2 queue 5 multicast-queue 13 fc l1 queue 7 multicast-queue 12 fc l2 queue 2 multicast-queue 10 fc nc queue 8...
  • Page 162 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 queue 4 auto-expedite create rate 100 cir 25 mbs 25 cbs 3 drop-tail percent-reduction-from-mbs 10 exit exit exit queue 5 auto-expedite create rate 100 cir 100 mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10 exit...
  • Page 163 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 exit queue 10 multipoint auto-expedite create rate 100 cir 5 mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10 exit exit exit queue 11 multipoint auto-expedite create rate 100 cir 5 mbs 50 cbs 1 drop-tail percent-reduction-from-mbs 10...
  • Page 164: Service Management Tasks

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 exit exit queue 16 multipoint auto-expedite create rate 100 cir 10 mbs 25 cbs 1 drop-tail percent-reduction-from-mbs 10 exit exit exit fc af create multicast-queue 11 queue 3 exit fc be create multicast-queue 9 queue 1 exit...
  • Page 165: Deleting Qos Policies

    QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 • Removing a Policy from the QoS Configuration • Copying and Overwriting QoS Policies • Editing QoS Policies 4.4.1 Deleting QoS Policies A network queue policy is associated by default with XMA or MDA network ingress ports.
  • Page 166: Editing Qos Policies

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 4.4.4 Editing QoS Policies Existing policies, except the default policies, and entries in the CLI can be modified. The changes are applied immediately to all interfaces where the policy is applied. To prevent configuration errors, use the copy command to make a duplicate of the original policy to a work area, make the edits, then overwrite the original policy.
  • Page 167: Network Queue Qos Policy Command Reference

    QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 4.5 Network Queue QoS Policy Command Reference 4.5.1 Command Hierarchies • Configuration Commands • Operational Commands • Show Commands 4.5.1.1 Configuration Commands config — qos — network-queue policy-name [create] — no network-queue policy-name —...
  • Page 168: Operational Commands

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — queue queue-id [multipoint] [queue-type] [create] — no queue queue-id — adaptation-rule [pir adaptation-rule] [cir adaptation-rule] — no adaptation-rule — avg-frame-overhead percent — no avg-frame-overhead — percent — no — drop-tail —...
  • Page 169: Command Descriptions

    QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 4.5.2 Command Descriptions 4.5.2.1 Configuration Commands 4.5.2.1.1 Generic Commands description Syntax description description-string no description Context config>qos>network-queue Description This command creates a text description stored in the configuration file for a configuration context.
  • Page 170 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The copy command is a configuration-level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword. Parameters network-queue —...
  • Page 171 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Description This command enters the context to configure queue definitions for use on HSMDAs. packet-byte-offset Syntax packet-byte-offset {add add-bytes | subtract sub-bytes} no packet-byte-offset Context config>qos>network-queue>egress-hsmda Description This command adds or subtracts the specified number of bytes to the accounting function for each packet handled by the HSMDA queue.
  • Page 172 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The packet-byte-offset value may be overridden for the HSMDA queue at the network queue level. The no form of the command removes any accounting size changes to packets handled by the queue.
  • Page 173 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 The no form of the command restores the defined queue-id to its default parameters. All HSMDA queues having the queue-id and associated with the QoS policy are re-initialized to default parameters. Parameters queue-id —...
  • Page 174 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The MBS value is used by a queue to determine whether it has exhausted its total allowed buffers while enqueuing packets. Once the queue has exceeded its maximum amount of buffers, all packets are discarded until the queue transmits a packet.
  • Page 175 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Description This command associates an existing HSMDA slope policy with the QoS policy HSMDA queue. The specified hsmda-slope-policy-name must exist for the command to succeed. If the policy name does not exist, the command has no effect on the existing slope policy association.
  • Page 176 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 High Slope: • Start-Utilization 100% • Max-Utilization 100% • Max-Probability 100% • Shutdown Low Slope: • Start-Utilization 90% • Max-Utilization 90% • Max-Probability 1 • No Shutdown Time-Average-Factor: 0 The no form of the command restores the association between the queue and the HSMDA default slope policy.
  • Page 177 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Context config>qos>network-queue>egress-hsmda Description This command associates an existing HSMDA weighted-round-robin (WRR) scheduling loop policy with the HSMDA queue. Parameters hsmda-wrr-policy-name — Specifies the existing HSMDA WRR policy name to associate with the queue.
  • Page 178 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The no form of the command sets the multicast forwarding type queue-id back to the default queue for the forwarding class. If the broadcast and unknown forwarding types were not explicitly defined to a multipoint queue, they will also be set back to the default multipoint queue (queue 11).
  • Page 179 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 between the members of the group. Two weighted groups are supported and each may contain up to three consecutive scheduling classes. The weighed group assumes its highest member class’s inherent strict scheduling level for scheduling purposes. Strict priority level 8 has the highest priority while strict level 1 has the lowest.
  • Page 180 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The queue command allows the creation of multipoint queues. Only multipoint queues can receive ingress packets that need flooding to multiple destinations. By separating the unicast for multipoint traffic at service ingress and handling the traffic on separate multipoint queues, special handling of the multipoint traffic is possible.
  • Page 181 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 queue-type — The expedite, best-effort, and auto-expedite queue types are mutually exclusive. Each defines the method that the system uses to service the queue from a hardware perspective. While parental virtual schedulers can be defined for the queue, they only enforce how the queue interacts for bandwidth with other queues associated with the same scheduler hierarchy.
  • Page 182 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters adaptation-rule — Specifies the adaptation rule to be used while computing the operational CIR or PIR value. Values pir — Defines the constraints enforced when adapting the PIR rate defined within the queue queue-id rate command.
  • Page 183 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 • Frame-encapsulation overhead — Using the avg-frame-overhead parameter, the frame- encapsulation overhead is the queue’s current offered-load (how much has been received by the queue) multiplied by the avg-frame-overhead. If a queue had an offered load of 10 000 octets and the avg-frame-overhead equals 10%, the frame-encapsulation overhead would be 10 000 x 0.1 or 1000 octets.
  • Page 184 SAP and Subscriber SLA-Profile Average Frame Overhead Override (applies only to the 7450 ESS and 7750 SR) — The average frame overhead parameter on a sap-egress may be overridden at an individual egress queue basis. On each SAP and within the sla-profile policy used by subscribers, an avg-frame-overhead command may be defined under the queue-override context for each queue.
  • Page 185 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 The CBS for a queue is used to determine whether it has exhausted its reserved buffers while enqueuing packets. Once the queue has exceeded the amount of buffers considered in reserve for this queue, it must contend with other queues for the available shared buffer space within the buffer pool.
  • Page 186 The configuration parameters for each queue come from the applied egress network-queue policy on the network port or channel. Forwarding class queue on egress channel applies only to the 7450 ESS and 7750 SR.
  • Page 187 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Syntax Context config>qos>network-queue>queue>drop-tail Description This command enters the context to configure the queue low drop tail parameters. The low drop tail defines the queue depth beyond which out-of-profile packets will not be accepted into the queue and will be discarded.
  • Page 188 Forwarding class queue on egress channel applies only to the 7450 ESS and 7750 SR. The mbs value is used to calculate the queue’s MBS size based on the total amount buffer space allocated for the buffer pool on the egress network port or channel.
  • Page 189 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 Parameters percent — The percent of buffers from the total buffer pool space for the maximum amount of buffers, expressed as a decimal integer. If 10 Mbytes is the total buffer space in the buffer pool, a value of 10 would limit the maximum queue size to 1 Mbyte (10%) of buffer space for the forwarding class queue.
  • Page 190 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command specifies whether this queue feeds off a port-level scheduler. For the network- queue policy context, only the port-parent command is supported. When a port scheduler exists on the port, network queues without a port-parent association will be treated as an orphan queue on the port scheduler and treated according to the current orphan behavior on the port scheduler.
  • Page 191 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 rate Syntax rate percent [cir percent] no rate Context config>qos>network-queue>queue Description This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the percentage that the queue can transmit packets through the switch fabric (for SAP ingress queues) or out an egress interface (for SAP egress queues).
  • Page 192: Show Commands

    Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 4.5.2.3 Show Commands network-queue Syntax network-queue [network-queue-policy-name] [detail] Context show>qos Description This command displays network queue policy information. Parameters network-queue-policy-name — The name of the network queue policy. Values Valid names consist of any string up to 32 characters long composed of printable, 7-bit ASCII characters.
  • Page 193 QUALITY OF SERVICE GUIDE Network Queue QoS Policies RELEASE 15.0.R1 ------------------------------------------------------------------------------ UCastQ ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Associations ------------------------------------------------------------------------------ Port-id : 1/1/1 ============================================================================== A:ALA-12>show>qos# Table 28 Network Queue Labels and Descriptions Label Description Policy The policy name that uniquely identifies the policy. Description A text string that helps identify the policy’s context in the configuration file.
  • Page 194 Network Queue QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 3HE 11974 AAAA TQZZA 01 Issue: 01...
  • Page 195: Service Ingress And Egress Qos Policies

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5 Service Ingress and Egress QoS Policies 5.1 Overview There is one default service ingress policy and one default service egress policy. Each policy can have up to 32 ingress queues and 8 egress queues per service. The default policies can be copied and modified but they cannot be deleted.
  • Page 196: Service Ingress Qos Policy

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.3 Service Ingress QoS Policy To create a service ingress policy, define the following: • A policy ID value. The system will not dynamically assign a value. • A description. The description provides a brief overview of policy features. •...
  • Page 197: Service Ingress Qos Queue

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.3.1 Service Ingress QoS Queue To create a service ingress queue, define the following: • A new queue ID value — The system will not dynamically assign a value. •...
  • Page 198: Percent-Rate Support

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 parent VPN_reserved rate 1 exit queue 25 multipoint create parent VPN_video rate 1500 cir 1500 exit queue 26 multipoint create parent VPN_voice rate 2500 cir 2500 exit queue 27 multipoint create parent VPN_nc rate 100 cir 36 exit...
  • Page 199: Ingress Forwarding Class (Fc)

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 <police> : keyword <port-limit | local-*> : keyword *B:Dut-A>config>qos>sap-ingress# policer 1 percent-rate - no percent-rate - percent-rate <pir-percent> [cir <cir-percent>] <pir-percent> : [0.01..100.00] <cir-percent> : [0.00..100.00] 5.3.3 Ingress Forwarding Class (FC) The following displays a forwarding class and precedence configurations: A:ALA-7>config>qos# info #------------------------------------------...
  • Page 200: Ingress Ip Match Criteria

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 prec 2 fc af prec 3 fc ef prec 5 fc h1 prec 6 fc h2 prec 7 fc nc #------------------------------------------ A:ALA-7>config>qos# 5.3.4 Ingress IP Match Criteria When specifying SAP ingress match criteria, only one match criteria type (IP/IPv6 or MAC) can be configured in the SAP ingress QoS policy.
  • Page 201: Ingress Ipv6 Match Criteria

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.3.5 Ingress IPv6 Match Criteria When specifying SAP ingress match criteria, only one match criteria type (IP/IPv6 or MAC) can be configured in the SAP ingress QoS policy. This feature applies only to the 7750 SR and 7950 XRS.
  • Page 202: Vlan Id Matching

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 • Match criteria for ingress SAP QoS policy. Optionally, specify an IP protocol to be used as an ingress SAP QoS policy match criterion. The following displays an ingress MAC criteria configuration: A:ALA-7>config>qos# info #------------------------------------------ echo "QoS Policy Configuration"...
  • Page 203: Ingress Criteria Classification Directly To Policer

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 exit exit exit exit 5.3.7 Ingress Criteria Classification Directly to Policer It is possible to classify traffic directly to a policer, independent of the policer/queue assigned to the traffic’s forwarding class. This is supported at SAP ingress by configuring a policer in the action statement: ip-criteria, ipv6-criteria, or mac-criteria.
  • Page 204: Virtual Network Identifier (Vni) Classification

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 src-mac 00-xx-yy-00-00-00 ff-ff-ff-00-00-00 exit action policer 1 exit exit exit 5.3.8 Virtual Network Identifier (VNI) Classification Virtual Network Identifier (VNI) classification is supported for VXLAN and VXLAN GPE traffic within a SAP ingress QoS policy. This classification is configured in the ip-criteria and ipv6-criteria contexts with type vxlan-vni (changed from the default type normal).
  • Page 205 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 vxlan-vni range 2 10 exit action policer 2 exit exit exit Ingress VNI classification is applicable to all Ethernet SAPs, except for PW-SAPs, B- VPLS SAPs, and CCAG SAPs, in any applicable service. The feature is supported on FP2- and higher-based hardware.
  • Page 206: Fc Mapping Based On Exp Bits

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.3.9 FC Mapping Based on EXP Bits You can use the lsp-exp command to set your sap-ingress qos policy on Ethernet L2 SAPs to perform FC mapping based on EXP bits. The lsp-exp option causes the forwarding class and drop priority of incoming traffic to be determined by the mapping result of the EXP bits in the top label.
  • Page 207: Service Egress Qos Queue

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.4.1 Service Egress QoS Queue To create a service egress queue, define the following: • The forwarding class name or names associated with the egress queue. The egress queue for the service traffic is selected based on the forwarding classes that are associated with the queue.
  • Page 208: Dynamic Mbs For Egress Queue Group Queues

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 For queues, when the queue rate is in percent-rate, either a local-limit or a port-limit can be applied. When the local-limit is used, the percent-rate is relative to the queue’s parent scheduler rate or the agg-rate rate at egress.
  • Page 209 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 When using HQoS, the PIR is modified by the HQoS algorithm to give an operational PIR that is equal to or lower than the administrative PIR. As the operational PIR changes, the delay through the queue can also change if the length of the queue is fixed.
  • Page 210 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 egress queue-group <queue-group-name> create queue <queue-id> The operational MBS can be shown using the show pools and show qos scheduler-hierarchy commands. The following example shows the use of dynamic MBS. A queue group template is applied to port 5/1/1 configured with multiple queues using HQoS, one of which has the following parameters: queue-group "qg1"...
  • Page 211: Queue Length As A Delay Value

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Slope : not-applicable The output shows that the operational MBS is now 50% of the administrative MBS and that the queue’s drop tails have changed accordingly. 5.4.3.1 Queue Length as a Delay Value The length of a queue within an egress queue group template can be configured as a target queue delay, in milliseconds, rather than an absolute byte/kbytes value.
  • Page 212: Egress Sap Fc And Fp Overrides

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Admin PIR : 50000 Oper PIR : 50000 Admin CIR Oper CIR Admin MBS : 612 KB Oper MBS : 612 KB High-Plus Drop Tail : 612 KB High Drop Tail : 612 KB Low Drop Tail...
  • Page 213 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The policed traffic by default exits through one of the following methods: • A queue in the policer-output-queues queue group that is automatically created on an access or hybrid port with the queue used that was chosen by the forwarding class definition in that queue group.
  • Page 214: Dot1P Egress Remarking

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 This is supported on all FP2- and higher-based hardware, excluding when a HS- MDA is used. QPPB processing takes precedence over this feature. This could be used, for example, when it is required that egress traffic with a DSCP value EF is to be policed instead of shaped in a queue on a given SAP.
  • Page 215: Dei Egress Remarking

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 CLI Syntax: configure qos sap-egress policy-id create fc fc-name create dot1p {dot1p-value | in-profile dot1p-value out- profile dot1p-value [exceed-profile dot1p-value]} dot1p-inner {dot1p-value | in-profile dot1p-value out-profile dot1p-value} dot1p-outer {dot1p-value | in-profile dot1p-value out-profile dot1p-value [exceed-profile dot1p- value]} exit...
  • Page 216 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Previously, the discard eligibility was determined using existing QoS fields; for example, the three MPLS EXP and Ethernet dot1p bits. Using certain combinations of these bits to indicate both forwarding class (priority) and discard eligibility meant decreasing the number of forwarding classes that can be differentiated in the network.
  • Page 217 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.4.6.1.1 DEI in IEEE 802.1ad The IEEE 802.1ad-2005 standard allows drop eligibility to be conveyed separately from priority in-service VLAN TAGs (STAGs). The STAG has a new format where the priority and discard eligibility parameters are conveyed in the 3-bit priority code point (PCP) field and in the DE bit, respectively (see Figure...
  • Page 218 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.4.6.1.3 IEEE 802.1ad Use Case Figure 16 shows an example of a topology where the new DE feature may be used: a DE aware, 802.1ad access network connected via a regular SAP to a router PE. In the following example, PE1 can ensure coherent processing of the DE indication between the 802.1ad and the MPLS networks.
  • Page 219 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 2. The SAP on PE1 may use the DE bit from the customer STAG to classify the frames as in/out-of-profile. Color aware policing/metering can generate additional out-of-profile packets as the result of packet flow surpassing the CIR. 3.
  • Page 220: Dscp/Prec Egress Remarking

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.4.7 DSCP/Prec Egress Remarking DSCP/prec remarking can be performed on egress for all services and with respect to the profile of the packet. Use the following CLI syntax to remark the DSCP/prec values at a SAP egress: CLI Syntax: configure qos sap-egress policy-id create fc fc-name create...
  • Page 221 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 An override (monitor-depth) is used to enable queue depth monitoring, which is configured under the SAP or queue group queue-overrides. There are show and clear commands, using the queue-depth parameter, for both service SAPs and port queue groups with associated MIB variables.
  • Page 222: Service Management Tasks

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The output shows the percentage of polls for each 10% range of queue depth. The output includes the name of the queue, its MBS configuration, the average elapsed time over which the depth was monitored (this is the elapsed time since the start of monitoring or the last clear), and the weighted average polling interval.
  • Page 223: Applying Service Ingress And Egress Policies

    • VPRN Refer to the Subscriber Services Overview section of the Services Guide for information about configuring service parameters on the 7750 SR and 7450 ESS. 5.5.1.1 Epipe The following output displays an Epipe service configuration with SAP ingress policy 100 and SAP egress 105 applied to the SAP.
  • Page 224: Vpls

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 A:ALA-7>config>service# info ---------------------------------------------- ies 88 customer 8 vpn 88 create interface "Sector A" create sap 1/1/1.2.2 create ingress qos 100 exit egress qos 105 exit exit exit no shutdown exit ---------------------------------------------- 5.5.1.3...
  • Page 225: Editing Qos Policies

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 vprn 1 customer 1 create ecmp 8 autonomous-system 10000 route-distinguisher 10001:1 auto-bind-tunnel resolution-filter resolution-filter ldp vrf-target target:10001:1 interface "to-ce1" create address 11.1.0.1/24 sap 1/1/10:1 create ingress qos 100 exit egress qos 105...
  • Page 226: Deleting Qos Policies

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 description "Used on VPN sap" queue 1 create exit queue 2 multipoint create exit queue 10 create parent "VPN_be" rate 11000 exit sap-ingress 101 create description "Used on VPN sap" queue 1 create exit queue 2 multipoint create...
  • Page 227: Removing A Policy From The Qos Configuration

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.5.5 Removing a Policy from the QoS Configuration CLI Syntax: config>qos# no sap-ingress policy-id Example: config>qos# no sap-ingress 100 config>qos# no sap-egress 1010 Issue: 01 3HE 11974 AAAA TQZZA 01...
  • Page 228 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 3HE 11974 AAAA TQZZA 01 Issue: 01...
  • Page 229: Service Ingress And Egress Qos Policy Command Reference

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 5.6 Service Ingress and Egress QoS Policy Command Reference 5.6.1 Command Hierarchies • Service Ingress QoS Policy Commands • Service Egress QoS Policy Commands • Operational Commands • Show Commands 5.6.1.1 Service Ingress QoS Policy Commands...
  • Page 230 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — broadcast-policer policer-id [fp-redirect-group] — no broadcast-policer — broadcast-queue queue-id [group queue-group-name] — no broadcast-queue — [no] de-1-out-profile — egress-fc fc-name — no egress-fc — in-remark {dscp dscp-name | prec ip-prec-value} —...
  • Page 231 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 — type filter-type — no type — [no] ipv6-criteria — entry entry-id [create] — no entry entry-id — action [fc fc-name] [priority {low| high}] [policer policer-id] — no action —...
  • Page 232 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — no inner-tag — outer-tag value [vid-mask] — no outer-tag — snap-oui [zero | non-zero] — no snap-oui — snap-pid snap-pid — no snap-pid — src-mac ieee-address [ieee-address-mask] —...
  • Page 233: Service Egress Qos Policy Commands

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 — size-in-kbytes — no — drop-tail — — percent-reduction-from-mbs percent — no percent-reduction-from-mbs — {size [bytes | kilobytes] | default} — no — packet-byte-offset {add bytes | subtract bytes} —...
  • Page 234 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — stat-mode {no-stats | minimal | offered-profile-no-cir | offered- profile-cir | offered-total-cir | offered-limited-capped-cir | offered-profile-capped-cir | offered-total-cir-exceed} — no stat-mode — [no] ethernet-ctag — fc-name [create] — no fc-name —...
  • Page 235 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 — no wrr-weight — wrr-policy wrr-policy-name — no wrr-policy — [no] ip-criteria — entry entry-id [create] — no entry entry-id — action [hsmda-counter-override counter-id] [fc fc-name] [profile {in | out | exceed | inplus}] [policer policer-id [port-redirect-group-queue queue queue-id | queue queue-id | use-fc-mapped-queue]] —...
  • Page 236 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 — no src-ip — src-port {lt | gt | eq} src-port-number — src-port range start end — no src-port — renum old-entry-number new-entry-number — parent-location {default | sla} —...
  • Page 237 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 — avg-frame-overhead percent — no avg-frame-overhead — burst-limit — no burst-limit — size — no — drop-tail — exceed — percent-reduction-from-mbs percent — no percent-reduction-from-mbs — high — percent-reduction-from-mbs percent —...
  • Page 238: Operational Commands

    Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 5.6.1.3 Operational Commands config — qos — copy sap-egress src-pol dst-pol [overwrite] — copy sap-ingress src-pol dst-pol [overwrite] — copy hsmda-pool-policy src-name dst-name [overwrite] — copy hsmda-scheduler-policy src-name dst-name [overwrite] —...
  • Page 239: Operational Commands

    QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Description This command creates a text description stored in the configuration file for a configuration context. The no form of this command removes any description string from the context. Default No description is associated with the configuration context.
  • Page 240 Specify the source policy ID that the copy command will attempt to copy from and specify the destination policy ID to which the command will copy a duplicate of the policy. This parameter applies only to the 7450 ESS and 7750 SR. hsmda-slope-policy src-name dst-name — Indicates that the source HSMDA slope policy ID and the destination policy ID are HSMDA slope policy IDs.
  • Page 241 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 1. 802.1p bits 2. DSCP 3. IP quintuple or MAC headers The SAP ingress policy with policy-id 1 is a system-defined policy applied to services when no other policy is explicitly specified. The system SAP ingress policy cannot be modified or deleted.
  • Page 242 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The default forwarding class is best effort (be). The default-fc settings are displayed in the show configuration and save output regardless of inclusion of the detail keyword. Default Parameters fc-name —...
  • Page 243 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 no dot1p dot1p-priority Context config>qos>sap-ingress Description This command explicitly sets the forwarding class or subclass or enqueuing priority when a packet is marked with a dot1p-priority specified. Adding a dot1p rule on the policy forces packets that match the dot1p-priority specified to override the forwarding class and enqueuing priority based on the parameters included in the dot1p rule.
  • Page 244 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 low — This parameter is used in conjunction with the priority parameter. Setting the enqueuing parameter to low for a packet decreases the likelihood of enqueuing the packet when the ingress queue is congested. Ingress enqueuing priority only affects ingress SAP queuing.
  • Page 245 Removing the dscp-name from the policy immediately removes the dscp-name on all ingress SAPs using the policy. This is supported on FP2- and higher-based line cards for the 7450 ESS. Parameters dscp-name — The DSCP name is a required parameter that specifies the unique IP header ToS byte DSCP bits value that will match the DSCP rule.
  • Page 246 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 0110 0000 cp25 0110 0100 af31 0110 1000 cp27 0110 1100 af32 0111 0000 cp29 0111 0100 af33 0111 1000 cp31 0111 1100 1000 0000 cp33 1000 0100 af41 1000 1000 cp35...
  • Page 247 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The subclass-name parameter is optional and used with the fc-name parameter to define a preexisting subclass. The fc-name and subclass-name parameters must be separated by a period (dot). If subclass-name does not exist in the context of fc - name, an error will occur.
  • Page 248 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command enables the context in which common properties for dynamic-policers can be configured. Dynamic policers are instantiated and terminated on demand due to an action request submitted by the policy server (for example, via Gx interface). The actions types behind dynamic policers are typically related to rate-limiting or volume monitoring.
  • Page 249 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Parameters fc-name — The parameter subclass-name is optional and must be defined using a dot separated notation with a preceding valid system-wide forwarding class name. Creating a subclass follows normal naming conventions. Up to sixteen ASCII characters may be used.
  • Page 250 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description Within a sap-ingress QoS policy forwarding class context, the broadcast-policer command is used to map packets that match the forwarding class and are considered broadcast in nature to the specified policer-id. The specified policer-id must already exist within the sap- ingress QoS policy.
  • Page 251 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 fp-redirect-group — Redirects a forwarding class to a forwarding plane queue-group as specified in a SAP QoS policy. broadcast-queue Syntax broadcast-queue queue-id [group queue-group-name] no broadcast queue Context config>qos>sap-ingress>fc Description This command overrides the default broadcast forwarding type queue mapping for fc fc-...
  • Page 252 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 When this QoS policy is applied to the ingress of a Frame Relay VLL SAP, the system will treat the received FR frames with DE bit set as out-of-profile, regardless of their previous marking as the result of the default classification or on a match with an IP filter.
  • Page 253 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Parameters fc-name — Specifies the forwarding class name to be used by the egress QoS processing. Values be, l2, af, l1, h2, ef, h1, nc in-remark Syntax in-remark {dscp dscp-name | prec ip-prec-value} no in-remark Context config>qos>sap-ingress>fc...
  • Page 254 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters dscp dscp-name — This parameter is one of two mutually exclusive settings that are applicable to the in-remark command. The in-remark command can be configured to either remark the DiffServ Code Point (DSCP) 6-bit value or the three precedence bits.
  • Page 255 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 If ingress forwarding logic has resolved a packet to the multicast forwarding type within the forwarding class, it will be mapped to either an ingress multipoint queue (using the multicast queue-id or multicast queue-id group ingress-queue-group commands) or an ingress policer (multicast-policer policer-id).
  • Page 256 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Context config>qos>sap-ingress>fc Description This command overrides the default multicast forwarding type queue mapping for fc fc-name. The specified queue-id must exist within the policy as a multipoint queue before the mapping can be made.
  • Page 257 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The out-remark command is only applicable to ingress IP routed packets that are considered out-of-profile. The profile of a SAP ingress packet is affected by either the explicit in-profile/ out-of-profile definitions or the ingress policing function applied to the packet.
  • Page 258 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 32 characters, maximum. The name specified by dscp-name is used to refer to the 6-bit value represented by dscp-name. It must be one of the predefined DSCP names defined on the system.
  • Page 259 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 A policer defined within the sap-ingress policy is not actually created on an ingress SAP or a subscriber using an sla-profile where the policy is applied until at least one forwarding type (unicast, broadcast, unknown, or multicast) from one of the forwarding classes is mapped to the policer.
  • Page 260 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 A queue operating in profile-mode may support in-profile, out-of-profile, and non-profiled packets simultaneously. However, the high- and low-priority classification actions are ignored when the queue is in profile-mode. The no form of the command removes an explicit in-profile or out-of-profile configuration on a forwarding class or subclass.
  • Page 261 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 group queue-group-name — This optional parameter is used to redirect the forwarding type within the forwarding class to the specified queue-id within the queue-group- name. When the policy is applied, all packets matching the forwarding class and forwarding type will be redirected to the queue within the specified queue group.
  • Page 262 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The no form of this command is used to restore the mapping of the unknown forwarding type within the forwarding class to the default multipoint queue. If all forwarding class forwarding types had been removed from the default multipoint queue, the queue will not exist on the SAPs or subscriber or multiservice site associated with the QoS policy and the no broadcast- policer command will cause the system to attempt to create the default multipoint queue on...
  • Page 263 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 group queue-group-name — This optional parameter is used to redirect the forwarding type within the forwarding class to the specified queue-id within the queue-group- name. When the policy is applied, all packets matching the forwarding class and forwarding type will be redirected to the queue within the specified queue group.
  • Page 264 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 An entry is not populated in the list unless the action command is executed for the entry. An entry that is not populated in the list has no effect on egress packets. If the action command is executed without any explicit reclassification actions specified, the entry is populated in the list allowing packets matching the entry to exit the list, preventing them from matching entries lower in the list.
  • Page 265 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 When a policer is specified in the action, a matching packet is directed to the configured policer instead of the policer/queue assigned to the forwarding class of the packet. The action command must be executed for the match criteria to be added to the active list of entries.
  • Page 266 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 high — The high parameter is used in conjunction with the priority parameter. Setting the priority enqueuing parameter to high for a packet increases the likelihood to enqueue the packet when the queue is congested. The enqueuing priority only affects ingress SAP queuing.
  • Page 267 Values The following values apply to the 7450 ESS: keywords: none, crtp, crudp, egp, eigrp, encap, ether-ip, gre, icmp, idrp, igmp, igp, ip, ipv6, ipv6-frag, ipv6-icmp, ipv6-no-nxt, ipv6-opts,...
  • Page 268 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 30 IP Protocol Names (Continued) Protocol Protocol ID Description ipv6-opts Destination Options for IPv6 iso-ip ISO Internet Protocol eigrp EIGRP ospf-igp OSPFIGP ether-ip Ethernet-within-IP Encapsulation encap Encapsulation Header pnni PNNI over IP Protocol Independent Multicast...
  • Page 269 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Parameters dscp-name — Specifies a dscp name that has been previously mapped to a value using the dscp-name command. The DiffServ code point can only be specified by its name.
  • Page 270 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 dst-port Syntax dst-port {lt | gt | eq} dst-port-number dst-port range start end no dst-port Context config>qos>sap-ingress>ip-criteria>entry>match config>qos>sap-egress>ip-criteria>entry>match config>qos>sap-ingress>ipv6-criteria>entry>match config>qos>sap-egress>ipv6-criteria>entry>match Description This command configures a destination TCP or UDP port number or port range for a SAP QoS policy match criterion.
  • Page 271 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 false — Configures a match on all non-fragmented IP packets. Non-fragmented IP packets are packets that have the MF bit set to zero and have the Fragment Offset field also set to zero.
  • Page 272 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command configures a source TCP or UDP port number or port range for a SAP QoS policy match criterion. The no form of this command removes the source port match criterion. Default no src-port Parameters...
  • Page 273 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 renum Syntax renum old-entry-number new-entry-number Context config>qos>sap-ingress>ip-criteria config>qos>sap-egress>ip-criteria config>qos>sap-ingress>ipv6-criteria config>qos>sap-egress>ipv6-criteria config>qos>sap-ingress>mac-criteria Description This command renumbers existing QoS policy criteria entries to properly sequence policy entries. This can be required in some cases since the router exits when the first match is found and executes the actions in accordance with the accompanying action command.
  • Page 274 This is supported on FP2- and higher-based line cards and requires mixed-mode for the 7450 ESS. The no form of this command deletes all the entries specified under this node. Once ipv6- criteria entries are removed from a SAP ingress policy, the ipv6-criteria is removed from all services where that policy is applied.
  • Page 275 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 It is possible that a SAP ingress policy includes the dscp map command, the dot1p map command, and an IPv6 match criteria. When multiple matches occur for the traffic, the order of precedence is used to arrive at the final action.
  • Page 276 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 prefix-length — The IPv6 prefix length for the ipv6-address expressed as a decimal integer (applies to the 7750 SR and 7950 XRS). Values 1 to 128 mask — Eight 16-bit hexadecimal pieces representing bit match criteria. Values x:x:x:x:x:x:x (eight 16-bit pieces) fragment...
  • Page 277 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Default no src-ip Parameters ipv6-address — Specifies the IPv6 prefix for the IP match criterion in hex digits. Values ipv6-address: x:x:x:x:x:x:x:x (eight 16-bit pieces) x:x:x:x:x:x:d.d.d.d x: [0 to FFFF]H d: [0 to 255]D prefix —...
  • Page 278 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 A maximum of eight lsp-exp rules are allowed on a single policy. Values 0 to 7 fc fc-name — The value given for the fc-name parameter must be one of the predefined forwarding classes in the system.
  • Page 279 1 and 8. To remove the HSMDA exception counter reclassification action for the specified lsp-exp-value, the lsp-exp command must be re-executed without the hsmda-counter-override reclassification action defined. This parameter only applies to the 7450 ESS and 7750 SR. Values 1 to 8...
  • Page 280 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters frame-type keyword — The frame-type keyword configures an Ethernet frame type or an ATM frame type to be used for the MAC filter match criteria. Values 802dot3, 802dot2-llc, 802dot2-snap, ethernet_II, atm Default 802dot3 802dot3 —...
  • Page 281 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Parameters vci-value — The value of the VCI field in the received ATM cell header. Values 1, 2, 5 to 65535 dot1p Syntax dot1p dot1p-value [dot1p-mask] no dot1p Context config>qos>sap-ingress>mac-criteria>entry>match Description...
  • Page 282 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Use the no form of this command to remove the dsap value as the match criterion. Default no dsap Parameters dsap-value — The 8-bit dsap match criteria value in hexadecimal. Values 0x00 to 0xFF (hex) dsap-mask —...
  • Page 283 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 All packets with a source MAC OUI value of 00-03-FA, subject to a match condition, should be specified as: 0003FA000000 0x0FFFFF000000 Values 0x00000000000000 to 0xFFFFFFFFFFFF (hex) Default 0xFFFFFFFFFFFF (hex) (exact match) etype Syntax etype etype-value...
  • Page 284 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command configures the matching of the second tag that is carried transparently through the service. The inner tag on ingress is the second tag on the frame if there are no service delimiting tags.
  • Page 285 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The default vid-mask is set to 4095 for exact match. snap-oui Syntax snap-oui [zero | non-zero] no snap-oui Context config>qos>sap-ingress>mac-criteria>entry>match Description Configures an IEEE 802.3 LLC SNAP Ethernet frame OUI zero or non-zero value to be used as a service ingress QoS policy match criterion.
  • Page 286 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 src-mac Syntax src-mac ieee-address [ieee-address-mask] no src-mac Context config>qos>sap-ingress>mac-criteria>entry>match Description This command configures a source MAC address or range to be used as a service ingress QoS policy match criterion. The no form of this command removes the source mac as the match criteria.
  • Page 287 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Default no ssap Parameters ssap-value — The 8-bit ssap match criteria value in hex. Values 0x00 to 0xFF (hex) ssap-mask — This is optional and can be used when specifying a range of ssap values to use as the match criteria.
  • Page 288 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Description This command is used in the sap-ingress and sap-egress QoS policies to create, modify, or delete a policer. Policers are created and used in a similar manner to queues. The policer ID space is separate from the queue ID space, allowing both a queue and a policer to share the same ID.
  • Page 289 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 no adaptation-rule Context config>qos>sap-ingress>policer config>qos>sap-egress>policer Description This command is used to define how the policer’s configuration parameters are translated into the underlying hardware capabilities used to implement each policer instance. For instance, the configured rates for the policer need to be mapped to the timers and decrement granularity used by the hardware's leaky bucket functions that actually perform the traffic metering.
  • Page 290 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 max — The max keyword is used to inform the system that the profiling rate defined for the policer is the maximum allowed rate. The system will choose a hardware supported rate that is closest but not exceeding the specified rate.
  • Page 291 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 Context config>qos>sap-ingress>dyn-policer config>qos>sap-egress>dyn-policer config>qos>sap-ingress>policer config>qos>sap-egress>policer Description This command is used to configure the policer’s CIR leaky bucket’s exceed threshold. The CIR bucket’s exceed threshold represents the committed burst tolerance allowed by the policer.
  • Page 292 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Parameters percent-of-mbs — The percent-of-mbs parameter is required when specifying high-prio- only and is expressed as a percentage. Values 0 to 100 Default Syntax mbs {size [bytes | kilobytes] | default} no mbs Context config>qos>sap-ingress>dyn-policer...
  • Page 293 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 kilobytes — When kilobytes is defined, the value is interpreted as the queue’s MBS value given in kilobytes. Values 0 – 16777216 or default Default kilobytes packet-byte-offset Syntax packet-byte-offset {add bytes | subtract bytes} no packet-byte-offset Context...
  • Page 294 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 subtract bytes — The subtract keyword is mutually exclusive to the add keyword. Either add or subtract must be specified. When subtract is defined, the corresponding bytes parameter specifies the number of bytes that is subtracted from the size of each packet associated with the policer for rate metering, profiling, and accounting purposes.
  • Page 295 QoS policy. The combining of the sub-profile and the sla-profile at the subscriber level provides the system with the proper information to create the policer control hierarchy instance for the subscriber. This functionality is available only for the 7450 ESS and 7750 SR.
  • Page 296 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Context config>qos>sap-egress>policer config>qos>sap-ingress>policer Description The percent-rate command within the SAP ingress and egress QoS policies enables supports for a policer’s PIR and CIR rate to be configured as a percentage of the immediate parent root policer/arbiter rate or the FP capacity.
  • Page 297 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 • At egress, soft-in-profile packets (packets received from ingress as in-profile) are treated the same as explicit in-profile (unless explicitly reclassified as out-of-profile) and have an initial policer state of in-profile. •...
  • Page 298 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The no form of this command is used to restore the default metering and profiling rate to a policer. Parameters {max | pir-rate} — Specifying the keyword max or an explicit pir-rate parameter directly following the rate command is required and identifies the policer’s metering rate for the PIR leaky bucket.
  • Page 299 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 While a no-stats mode is supported that prevents any packet accounting, the use of the policer’s parent command requires that the policer's stat-mode be set at least to the minimal setting so that offered stats are available for the policer's Fair Information Rate (FIR) to be calculated.
  • Page 300 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 Table 31 Ingress Policer Stat Mode Summary (Continued) Stat Mode Stat Resources Traffic Counters (Packet/Octets) Comments Offered Dropped/ Forwarded offered-priority-cir High/low entering In/out exiting policer Intended for when policer packet priority entering the policer...
  • Page 301 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The no form of this command attempts to return the policer’s stat-mode setting to minimal. The command will fail if insufficient policer counter resources exist to implement minimal where the QoS policer is currently applied and has a forwarding class mapping.
  • Page 302 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The offered-profile-no-cir mode allocates two forwarding plane offered counters and two traffic manager discard counters. The offered-profile-no-cir mode is most useful when the policer is receiving only in- profile and out-of-profile premarked (and trusted) packets.
  • Page 303 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 The offered-priority-no-cir mode is most useful when the policer is receiving only untrusted packets and the ingress priority high and priority low classification options are being used without a CIR profiling rate defined. This mode does not prevent the policer from receiving trusted packets that are premarked in-profile or out-of-profile nor does it prevent the policer from being configured with a CIR rate.
  • Page 304 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 The offered-profile-cir mode is most useful when the policer is receiving trusted out- of-profile and in-profile traffic and is also receiving untrusted packets that are being applied to a defined CIR profiling rate. This mode differs from offered-limited- profile-cir mode in that it expects both trusted in-profile and out-of-profile packets while still performing CIR profiling on packets with untrusted markings.
  • Page 305 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the priority of traffic entering the policer and the profile exiting the policer. The offered-priority-cir mode allocates four forwarding plane offered counters and four traffic manager discard counters.
  • Page 306 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/ forwarded) the policer. All offered traffic is provided in a single counter. The offered-total-cir mode allocates two forwarding plane offered counters and two traffic manager discard counters.
  • Page 307 QUALITY OF SERVICE GUIDE Service Ingress and Egress QoS Policies RELEASE 15.0.R1 This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/ forwarded) the policer when ingress reclassification is performed so that the traffic entering the policer comprises of hard out and uncolored.
  • Page 308 Service Ingress and Egress QoS Policies QUALITY OF SERVICE GUIDE RELEASE 15.0.R1 offered-profile-cir &