Download Print this page
   
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

Advertisement

Cisco 10000 Series Router Quality of
Service Configuration Guide
February 25, 2013
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-7433-09

Advertisement

   Related Manuals for Cisco 10000 Series

   Summary of Contents for Cisco 10000 Series

  • Page 1

    Cisco 10000 Series Router Quality of Service Configuration Guide February 25, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-7433-09...

  • Page 2

    OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.

  • Page 3: Table Of Contents

    QoS Features, Commands, and Changes 1-11 Applying QoS Parameters Dynamically to Sessions 1-12 Applying Traffic Shaping Parameters Using RADIUS Profiles 1-12 dbs enable Command 1-12 default dbs enable Command 1-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 4: Table Of Contents

    MQC Hierarchical Queuing with 3 Level Scheduler 1-27 Hierarchical Policies 1-27 Nested Hierarchical Policies 1-27 Three-Level Hierarchical Policies 1-28 Hierarchical Input Policing 1-28 IP Quality of Service for Subscribers 1-29 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 5: Table Of Contents

    Command 1-38 Marking Feature 1-38 Modular QoS Command Line Interface 1-39 MQC Feature 1-39 QoS CLI Migration from PRE2 to PRE3 1-39 Overhead Accounting 1-39 ATM Overhead Accounting 1-40 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 6: Table Of Contents

    1-51 class-bundle Command 1-51 class-vc Command 1-51 dscp Command (Frame Relay VC-bundle-member) 1-51 exp Command 1-51 frame-relay vc-bundle Command 1-51 mpls experimental Command 1-52 oam-bundle Command 1-52 precedence Command 1-52 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 7: Table Of Contents

    Simultaneous QoS Policy Map on Interface and PPP Session—A-DSLAM Case 1-60 VLAN Tag-Based Quality of Service 1-60 Related Documentation 1-61 Classifying Traffic C H A P T E R Traffic Classification Using Class Maps Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 8: Table Of Contents

    Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL Policy Map Actions—Cisco IOS Release 12.0(17)SL and Later Releases 3-10 Policy Map Actions—Cisco IOS Release 12.0(20)ST and Later Releases 3-10 Cisco 10000 Series Router Quality of Service Configuration Guide viii OL-7433-09...

  • Page 9: Table Of Contents

    Attaching QoS Service Policies to an ATM PVC Range and an ATM PVC in a Range Attaching Frame Relay QoS Service Policies 4-11 Feature History for Frame Relay QoS 4-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 10: Table Of Contents

    4-34 Related Documentation 4-36 Distributing Bandwidth Between Queues C H A P T E R Bandwidth Distribution Between Queues Feature History for Bandwidth Distribution Between Queues Interfaces Supporting Bandwidth Distribution Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 11: Table Of Contents

    Feature History for Traffic Policing Policing Actions Single-Rate Color Marker for Traffic Policing Feature History for the Single-Rate Color Marker Configuration Commands for the Single-Rate Color Marker police Command (Single-Rate) Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 12: Table Of Contents

    Avoiding Bandwidth Starvation Due to Priority Services 6-25 Bandwidth and Policing 6-26 Restrictions and Limitations for Traffic Policing 6-26 Configuring Traffic Policing 6-27 Configuring Single-Rate Traffic Policing Based on Bits per Second 6-28 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 13: Table Of Contents

    Usage Guidelines for the set ip precedence Command IP Differentiated Services Code Point Marking DSCP Per-Hop Behavior Assured Forwarding Expedited Forwarding Class Selector Code Points DSCP Values DSCP-Based Weighted Random Early Detection Cisco 10000 Series Router Quality of Service Configuration Guide xiii OL-7433-09...

  • Page 14: Table Of Contents

    Marking and Policing Traffic 7-18 Tunnel Header Marking 7-18 Feature History for Tunnel Header Marking 7-19 Restrictions and Limitations for Marking 7-19 Interfaces Supporting Marking 7-20 Classification and Marking Design Guidelines 7-21 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 15: Table Of Contents

    Interfaces Supporting Priority Queuing Queues per Policy Map Restrictions and Limitations for Priority Queuing Restrictions for Multi-Level Priority Queues Configuring a Priority Queue Configuring Multi-Level Priority Queues Configuration Examples for Configuring Priority Queues Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 16: Table Of Contents

    Differences Between Shaping and Policing 9-11 Advantages and Disadvantages of Shaping and Policing for Bandwidth Limiting 9-11 Modifying the VC Weight and the VP Shaping Parameters 9-12 Example Scenarios of Traffic Shaping Usage 9-12 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 17: Table Of Contents

    Verification Examples for Overhead Accounting 10-13 Verifying ATM Overhead Accounting Using show policy-map 10-13 Verifying Overhead Accounting Using show running-config 10-14 Verifying Ethernet Overhead Accounting with User-Defined Option 10-14 Related Documentation 10-15 Cisco 10000 Series Router Quality of Service Configuration Guide xvii OL-7433-09...

  • Page 18: Table Of Contents

    Average Queue Size and the Exponential Weight Constant 11-21 Interfaces Supporting Layer 3 Packet Drop Policies 11-21 Restrictions and Limitations for Controlling Layer 3 Congestion 11-22 Configuring Layer 3 Queue Limit and Drop Policies 11-24 Cisco 10000 Series Router Quality of Service Configuration Guide xviii OL-7433-09...

  • Page 19: Table Of Contents

    Configuration Example for Defining Traffic Classes Using Class Maps 12-8 Configuring Policy Actions for Traffic Classes Using Policy Maps 12-9 Configuring a Default Traffic Class Policy 12-9 Configuring a Class Policy and Dropping Packets Using Tail Drop 12-11 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 20: Table Of Contents

    Guidelines for Configuring QoS for Multiple Queues 13-13 Configuring QoS for Multiple Queues 13-13 Creating Fair Queues at Two Levels of Hierarchy 13-13 Creating Fair Queues at Three Levels of Hierarchy 13-15 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 21: Table Of Contents

    Configuration Example for Applying Simultaneous Policy Maps on Ethernet Interfaces and PPPoE Sessions 14-14 Configuration Example for Applying Simultaneous Policies on 802.1Q Interfaces and PPPoE Sessions 14-16 Configuration Example for Applying Simultaneous Policies on 802.1Q QinQ Interfaces and PPPoE Sessions 14-17 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 22: Table Of Contents

    Configuration Example for Oversubscribing 802.1Q VLANs 15-20 How the Router Determines VC Weights 15-20 Feature History for VC Weighting 15-21 Determining VC Weighting—Cisco IOS Release 12.0(17)SL to Release 12.3(7)XI1 15-21 Cisco 10000 Series Router Quality of Service Configuration Guide xxii OL-7433-09...

  • Page 23: Table Of Contents

    Configuration Example for Setting High and Low Watermark Thresholds 15-41 Verifying Oversubscription and VC Weighting 15-41 Verification Examples for Oversubscription and VC Weighting 15-42 Verifying Default High and Low Watermarks on an Interface 15-42 Cisco 10000 Series Router Quality of Service Configuration Guide xxiii OL-7433-09...

  • Page 24: Table Of Contents

    Fragment Size Calculation for Multi-VC MLP Over ATM-Based LFI 16-19 MLP Bundle Interface and Service Policies 16-20 Performance and Scalability for Multi-VC MLP Over ATM-Based LFI 16-20 Restrictions and Limitations for Multi-VC MLP Over ATM-Based LFI 16-20 Cisco 10000 Series Router Quality of Service Configuration Guide xxiv OL-7433-09...

  • Page 25: Table Of Contents

    Configuring a Hierarchical Policy and PVC-Based FRF.12 Fragmentation 16-52 Configuring Interface-Based FRF.12 Fragmentation 16-57 Configuration Example for Enabling Interface-Based FRF.12 Fragmentation 16-58 Configuration Examples for Link Fragmentation and Interleaving 16-59 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 26: Table Of Contents

    Verifying and Monitoring Dynamic Bandwidth Selection 17-17 Dynamically Changing VC Weight and Watermark Values 17-18 Feature History for Dynamic VC Weight and Watermarks 17-19 Configuration Commands for Dynamic VC Weight and Watermarks 17-19 Cisco 10000 Series Router Quality of Service Configuration Guide xxvi OL-7433-09...

  • Page 27: Table Of Contents

    Restrictions and Limitations for Per Session Shaping and Queuing on LNS 17-45 Configuring Per Session Shaping and Queuing on LNS 17-45 Configuring a Per Session Shaping and Queuing on LNS Policy 17-46 Queuing PPP Sessions on ATM VCs 17-50 Cisco 10000 Series Router Quality of Service Configuration Guide xxvii OL-7433-09...

  • Page 28: Table Of Contents

    Configuring per User Multiservice Rate Limiting 18-10 Configuring per Session Service Policy Using RADIUS 18-11 Configuration Examples for Subscriber-Based IP QoS 18-12 Configuration Example for Per Session Rate Limiting 18-12 Cisco 10000 Series Router Quality of Service Configuration Guide xxviii OL-7433-09...

  • Page 29: Table Of Contents

    Example of Configuring and Applying an Hierarchical Policy Map 18-40 Example of Setting Up RADIUS for PPP Session Queuing on ATM VCs 18-41 Verifying PPP Session Queuing on ATM VCs 18-41 Cisco 10000 Series Router Quality of Service Configuration Guide xxix OL-7433-09...

  • Page 30: Table Of Contents

    Configuring ATM Bundle Members 19-23 Configuring an ATM Bundle Member 19-23 Configuring an ATM Bundle Member Using a VC Class 19-25 Configuring a PVC Not to Accept Bumped Traffic 19-27 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 31: Table Of Contents

    How QoS Works for MPLS Traffic 20-4 MPLS QoS and Packet Priority During Congestion 20-4 Interfaces Supporting MPLS QoS 20-4 MPLS QoS Implementation 20-5 Restrictions and Limitations for MPLS QoS 20-5 Cisco 10000 Series Router Quality of Service Configuration Guide xxxi OL-7433-09...

  • Page 32: Table Of Contents

    Configuration Examples for Configuring the Tunnel Head Router 20-28 Configuration Examples for Configuring DS-TE on the Midpoint Routers 20-30 Configuration Examples for Configuring the Tail-End Router 20-31 Configuration Examples for Configuring Guaranteed Bandwidth Service 20-31 Cisco 10000 Series Router Quality of Service Configuration Guide xxxii OL-7433-09...

  • Page 33: Table Of Contents

    Hierarchical Queuing Framework Scaling 22-2 QoS Shaping Using HQF 22-3 ATM Virtual Path Shaping Using HQF 22-3 ATM VC Shaping Using HQF 22-3 Hierarchical ATM VP and VC Shaping Using HQF 22-4 Cisco 10000 Series Router Quality of Service Configuration Guide xxxiii OL-7433-09...

  • Page 34: Table Of Contents

    QoS Policy Propagation Through the Border Gateway Protocol A P P E N D I X QPPB Configuration Example Related Documentation L O S S A R Y N D E X Cisco 10000 Series Router Quality of Service Configuration Guide xxxiv OL-7433-09...

  • Page 35: About This Guide

    About This Guide This guide provides information about the Quality of Service (QoS) features supported on the Cisco 10000 series router and describes how to configure them. Guide Revision History Cisco IOS Release Part Number Publication Date Release 12.2(33)SB2 OL-7433-08...

  • Page 36

    OL-7433-04 April, 2007 Description Added the following new feature: • Per Session Queuing and Shaping for PPPoE Over VLAN Using RADIUS—See the “ATM Overhead Accounting” section on page 10-2. Cisco 10000 Series Router Quality of Service Configuration Guide xxxvi OL-7433-09...

  • Page 37

    QoS CLI Migration from PRE2 to PRE3—See the “QoS CLI Migration from PRE2 to PRE3” section on page 1-3. Three-Level Scheduler Using MQC Hierarchical Queuing Framework—See Chapter 22, • “Hierarchical Scheduling and Queuing” Cisco 10000 Series Router Quality of Service Configuration Guide xxxvii OL-7433-09...

  • Page 38

    Per Session Queuing and Shaping for PPPoE Over VLAN Using RADIUS—See the “ATM Overhead Accounting” section on page 10-2. Added the following features from the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide: PVC Bundles—See Chapter 19, “Configuring Quality of Service for PVC Bundles.”...

  • Page 39

    Description Revised and reorganized the QoS Configuration Guide. Expanded both technical and configuration information. Added some of the QoS features currently in the Cisco 10000 Series Broadband and Leased-Line Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide...

  • Page 40: Chapter 1 Quality Of Service Overview, Chapter 2 Classifying Traffic

    This guide is designed for system and network managers who are responsible for integrating quality of service features into their networks. These managers should be experienced using Cisco IOS software and should be familiar with the operation of the Cisco 10000 series router.

  • Page 41: Chapter 10 Overhead Accounting

    Chapter 21 VLAN Tag-Based Quality of Service Describes the VLAN Tag-Based feature that enables you to apply a single QoS policy to a group of IEEE 802.1Q VLAN subinterfaces. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 42: A P P E N D I X A Configuring Frame Relay Qos Using Frame Relay Legacy Commands

    Use the statement number provided at the end of each warning to locate its translation in the translated safety warnings that accompanied this device. SAVE THESE INSTRUCTIONS Cisco 10000 Series Router Quality of Service Configuration Guide xlii OL-7433-09...

  • Page 43: Related Documentation, Obtaining Documentation And Submitting A Service Request

    Each chapter of this guide provides additional documentation you can reference for more information about specific features. The Cisco 10000 Series Router Quality of Service Configuration Guide is one of the documents available for the Cisco series router. Each Cisco 10000 series router document provides specific hardware and software information to help you integrate and use the router in your network configuration.

  • Page 44

    About This Guide Cisco 10000 Series Router Quality of Service Configuration Guide xliv OL-7433-09...

  • Page 45: Related Documentation

    Traffic shaping • Ability to handle differential services and queuing requirements • This chapter provides an overview of QoS on the Cisco 10000 series router and includes the following topics: Benefits of Quality of Service Features, page 1-2 • Restrictions and Limitations for Quality of Service, page 1-2 •...

  • Page 46: Benefits Of Quality Of Service Features, Restrictions And Limitations For Quality Of Service

    PVCs is subject to the service policy. This allows you to apply QoS policies independently of PVCs. When you apply a service policy on a Frame Relay point-to-point subinterface, only the subinterface • traffic is subject to the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 47: Feature History For Mqc, Qos Cli Migration From Pre2 To Pre3

    CLI. The QoS CLI migration feature enables the PRE3 to parse PRE2-style commands and translate them to PRE3 commands. For more information, see the QoS CLI Migration from PRE2 to PRE3, Release 12.2(31)SB2 feature module. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 48: Feature History For Qos Cli Migration From Pre2 To Pre3, Qos Management Information Base Support

    The Class-based QoS MIB is actually two MIBs: CISCO-CLASS-BASED-QOS-MIB and CISCO-CLASS-BASED-QOS-CAPABILITY-MIB. To locate MIBs online, use the Cisco Network Management Toolkit for MIBs tool available on Cisco.com. QoS Implementation Guidelines Typically, the business model that you define and the applications you use determine the QoS features needed to meet your network requirements.

  • Page 49: Qos Configuration On An Interface

    Fragmentation QoS Configuration on an Interface The QoS service policy attached to an interface tells the Cisco 10000 series router how to handle packets received on the interface. Service policies consist of: Classification criteria—Defined in class maps and tell the router how to classify packets received on •...

  • Page 50: Qos Models, Overview Of Qos Models

    • • Per session services • Support VLAN aggregation The two DSLAM model configurations that are supported on Cisco 10000 series router for business and residential services are: • Model D.2 Definition, page 1-7 • Model F Definition, page 1-7 QoS Models D.2 and F are supported on PRE3 and PRE4.

  • Page 51: Model D.2 Definition, Model F Definition

    IP or PPP sessions. QoS Model F requires 3 levels of shaping, queuing and scheduling –Subinterface / Session / Class queues. The key components of Model F are shown in Figure 1-3. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 52: Configuration Tasks, Configuration Steps On Subinterfaces For Qos Model D.2

    To configure sessions for QoS Model D.2 follow the steps given below: Discover the GE interface. Step 1 Create sessions on the GE interface. Step 2 Apply policy-map to session S1. Step 3 Apply policy-map to session S2. Step 4 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 53: Configuration Steps For Qos Model F, Configuration Examples

    … interface GigabitEthernet1/0/0.n description Company A encapsulation dot1q 1 second-dot1q n service-policy output company-A-parent interface GigabitEthernet1/0/0.m description Company B encapsulation dot1q 1 second-dot1q m service-policy output company-B-parent Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 54

    <number> [account xxx aalx xxx] shape average <cir> <nb> [account xxx aalx xxx] service-policy session-N-child Policy isp_A class class-default shape average … interface GigabitEthernet1/0/0.1 encapsulation dot1q 1 service-policy output isp_A Cisco 10000 Series Router Quality of Service Configuration Guide 1-10 OL-7433-09...

  • Page 55: Qos Features, Commands, And Changes

    Virtual-Templates. QoS Features, Commands, and Changes This section describes the QoS features and commands supported on the Cisco 10000 series router, and lists feature and command changes. It includes the following topics: Applying QoS Parameters Dynamically to Sessions, page 1-12 •...

  • Page 56: Applying Qos Parameters Dynamically To Sessions, Applying Traffic Shaping Parameters Using Radius Profiles

    (pull) a policy map on an ATM virtual circuit (VC) during Point-to-Point Protocol over ATM (PPPoA) or PPP over Ethernet over ATM (PPPoEoA) session establishment. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB and enhanced to provide “push” functionality. Applying Traffic Shaping Parameters Using RADIUS Profiles Documentation Reference: Chapter 17, “Configuring Dynamic Subscriber Services”...

  • Page 57: Dynamic Bandwidth Selection Feature, Attaching Qos Service Policies, Service-policy Command

    ATM traffic shaping parameters based on a subscriber’s RADIUS profile. This feature is also known as Per User QoS Using AAA Policy Name. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Attaching QoS Service Policies Documentation Reference: Chapter 4, “Attaching Service Policies”...

  • Page 58: Attaching Atm Qos Service Policies, Attaching Frame Relay Qos Service Policies

    Description: This feature was enhanced on the PRE2 to enable you to attach QoS policies to a range of PVCs and to a specific PVC within the PVC range. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 59: Attaching Lac Qos Service Policies, Attaching Virtual Lan Qos Service Policies

    QoS policies to a physical Ethernet interface, an individual VLAN subinterface, or to both the physical interface and one or more VLAN subinterfaces. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Attaching Virtual Access Interface QoS Service Policies Cisco IOS Release: Release 12.2(15)BX Description: The virtual access interface (VAI) QoS service policies feature was introduced on the PRE2 to enable you to apply virtual template interfaces with QoS policies to VCs.

  • Page 60: Match Commands

    MPLS EXP value of the packet matches the value you set using the set mpls experimental command. The match mpls experimental command is available only on the PRE1. Cisco 10000 Series Router Quality of Service Configuration Guide 1-16...

  • Page 61

    PRE2. Cisco IOS Release: Release 12.2(28)SB Description: The match commands were integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to enable you to match on the class of service of a packet.

  • Page 62: Class Map Feature, Configuring Qos For Mpls Traffic, Mpls Cos Multi-vc Mode

    Cisco IOS Release: Release 12.2(15)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 63: Mpls Qos Feature, Mpls Traffic Engineering—diffserv Aware Feature, Control Plane Policing, Divert Cause Policer

    Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. MPLS QoS Feature Cisco IOS Release: Release 12.0(19)SL Description: The MPLS QoS feature was introduced on the PRE1 to provide varying levels of QoS services for different types of traffic in an MPLS network.

  • Page 64: Control Plane Policing—platform Enhancement

    (alarms) to the console and the syslog log file to alert you when a change in drop activities occurs, such as packet drops due to congestion in the To-RP queues or due to aggregated traffic that violates the divert cause policer. Cisco 10000 Series Router Quality of Service Configuration Guide 1-20 OL-7433-09...

  • Page 65: Controlling Packet Queue Congestion, Queue-limit Command

    Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 66: Random-detect Command

    Maintain separate WRED drop statistics for each IP precedence, discard-class, and DSCP value • Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 67: Random-detect Basis Command, Show Pxf Cpu Queue Interface Summary, Tail Drop Feature

    Cisco IOS Release: Release 12.3(7)XI Description: This command was enhanced to enable a drop policy based on a discard-class value. The discard-class-based option is available only on the PRE2 for Cisco IOS Release 12.3XI images. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB with the dscp-based,...

  • Page 68: Random Early Detection Feature, Weighted Random Early Detection Feature

    Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 69: Distributing Bandwidth Between Queues, Bandwidth Command

    Maintain separate WRED drop statistics for each IP precedence, discard-class, and DSCP value Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB on the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. It provides DiffServ-compliant WRED and uses per-packet RED.

  • Page 70: Bandwidth Remaining Ratio Command, Distribution Of Remaining Bandwidth Using Ratio

    Description: This command was introduced on the PRE2 and included the kilobits per second (kbps), percent, and remaining percent options. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 71: Hierarchical Queuing Framework, Hierarchical Queuing Framework Feature, Mqc Hierarchical Queuing With 3 Level Scheduler

    Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide 1-27 OL-7433-09...

  • Page 72: Three-level Hierarchical Policies, Hierarchical Input Policing

    Description: The nested hierarchical policies feature was enhanced on the PRE2 to support three-level hierarchical policies. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 73: Ip Quality Of Service For Subscribers, Mqc Support For Ip Sessions

    Description: The per session rate limiting feature was introduced on the PRE2 to control the maximum rate of traffic sent or received on an interface for a session. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Per User Multiservice Rate Limiting Cisco IOS Release: Release 12.2(16)BX Description: The per user multiservice rate limiting feature was introduced on the PRE2 to control the maximum rate of traffic for each user behind a multiservice subscriber.

  • Page 74: Per Session Service Policy Using Radius, Per Session Shaping And Queuing On Lns

    (SMS), typically a RADIUS server, to dynamically change the traffic policing parameters for a user session. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Per Session Shaping and Queuing on LNS Cisco IOS Release: Release 12.2(31)SB6 Description: The Per Session Shaping and Queuing on LNS feature was introduced on the PRE3 to shape or queue traffic from an ISP to a subscriber as it traverses over an LNS.

  • Page 75: Link Fragmentation And Interleaving, Interface Multilink Command, Multilink Group Command

    Description: This command was introduced on the PRE2 and provides a multilink interface range of 1 to 9999. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 and the valid interface values for MLP over serial and multi-VC MLP over ATM changed from 1 to 9999 (Release 12.2(28)SB) to from 1 to 9999...

  • Page 76: Ppp Multilink Command, Ppp Multilink Fragment-delay Command

    Description: This command was changed to ppp multilink group on the PRE2 to restrict a physical link to joining only a designated multilink group interface. The multilink-group command is accepted by the command line interpreter through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB.

  • Page 77: Ppp Multilink Fragmentation Command, Ppp Multilink Fragment Disable Command, Ppp Multilink Group Command

    The no ppp multilink fragmentation command was recognized and accepted through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 78: Ppp Multilink Interleave Command, Mlp Over Atm-based Lfi Feature, Multi-vc Mlp Over Atm-based Lfi Feature

    Description: The multilink-group command was changed to ppp multilink group to restrict a physical link to joining only a designated multilink group interface. The multilink-group command was accepted by the command line interpreter through Cisco IOS Release 12.2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB.

  • Page 79: Mlp Over Frame Relay-based Lfi Feature, Mlp Over Serial-based Lfi Feature, Frf.12 Fragmentation Feature

    Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 and the valid interface values changed from 1 to 9999 (Release 12.2(28)SB and later) to from 1 to 9999 and 65,536 to 2,147,483,647...

  • Page 80: Marking Traffic, Set Atm-clp Command, Set Cos Command, Set Discard-class Command

    Description: The set atm-clp command was introduced on the PRE2 to set the cell loss priority (CLP) bit to 1. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(33)SB Description: This command was introduced on the PRE3 and PRE4.

  • Page 81: Set Fr-de Command, Set Ip Dscp Command, Set Ip Precedence Command, Set Mpls Experimental Command

    Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. set fr-de Command Cisco IOS Release: Release 12.2(31)SB2 Description: The set fr-de command was introduced on the PRE2 and PRE3 to mark a Frame Relay packet’s discard eligibility (DE) bit.

  • Page 82: Set Mpls Experimental Imposition Command, Set Qos-group Command, Marking Feature

    The discard-class enhancement is available only on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 to allow you to mark the IP DSCP bits of traffic on the L2TP access concentrator (LAC).

  • Page 83: Modular Qos Command Line Interface, Mqc Feature, Qos Cli Migration From Pre2 To Pre3

    Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Enhancements to the MQC allow you to classify packets on the L2TP access concentrator (LAC) based upon the IP type of service (ToS) bits in an embedded IP packet.

  • Page 84: Atm Overhead Accounting, Ethernet Overhead Accounting, Traffic Shaping Overhead Accounting For Atm

    ATM subscriber traffic. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Cisco IOS Release: Release 12.2(33)SB Description: This feature was introduced on the PRE4. Cisco 10000 Series Router Quality of Service Configuration Guide 1-40 OL-7433-09...

  • Page 85: Oversubscribing Physical And Virtual Links, Atm Over-subscription-factor Command, Interface Oversubscription Feature

    1 to 500 times. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to allow the aggregate VLAN rates to exceed the available bandwidth.

  • Page 86: Atm Virtual Circuit Oversubscription Feature, Map-class Frame-relay Command, Frame Relay Pvc Oversubscription Feature

    For example, you can oversubscribe the physical transmission capacity from 1 to 500 times. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 with an oversubscription factor from 1 to 500.

  • Page 87: Virtual Lan Oversubscription Feature, Queue-depth Command, Weight Command

    Quality of Service Overview QoS Features, Commands, and Changes Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3. Virtual LAN Oversubscription Feature Cisco IOS Release: Release 12.3(7)XI1...

  • Page 88: Weighting Feature, Policing Traffic, Police Command (single-rate)

    Description: The VC weighting feature was introduced on the PRE2 to control the number of cells for each VC that is sent into the virtual path (VP). Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3.

  • Page 89: Police Percent Command, Police Command (two-rate)

    This action is available only on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3 to allow you to police traffic on the L2TP access concentrator (LAC) based on the value of a packet’s IP DSCP bits.

  • Page 90: Show Atm Vp Command, Percent-based Policing Feature, Policing Feature

    Description: This feature was introduced on the PRE2 and included a single-rate two-color marker. Cisco IOS Release: Release 12.3(7)XI Description: This feature was enhanced on the PRE2 to include a three-color marker. Cisco 10000 Series Router Quality of Service Configuration Guide 1-46 OL-7433-09...

  • Page 91: Single-rate Color Marker Feature, Two-rate Three-color Marker Feature

    Description: This feature was enhanced on the PRE2 to include a three-color marker. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This feature was introduced on the PRE3 to allow you to police traffic on the L2TP access concentrator (LAC) based on the value of a packet’s IP DSCP bits.

  • Page 92: Atm Vp Average Traffic Rate, Prioritizing Traffic, Priority Command

    Description: This command was modified to provide strict priority queuing on the PRE2. To specify a bandwidth rate for a strict priority queue, you must specify the police command. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide 1-48...

  • Page 93: Priority Level Command, Child Service Policy Allowed Under Priority Class, Multi-level Priority Queues

    Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2 to allow you to set a bandwidth rate for a queue in kilobits per second or as a percentage. Cisco 10000 Series Router Quality of Service Configuration Guide 1-49 OL-7433-09...

  • Page 94: Pvc Bundles, Bump Command

    Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 95: Bump Command (frame Relay Vc-bundle-member), Bundle Command, Class-bundle Command, Class-vc Command

    Description: The frame-relay vc-bundle command was introduced on the PRE1 to create a Frame Relay permanent virtual circuit (PVC) bundle if it does not already exist, and to enter Frame Relay VC-bundle configuration mode. Cisco 10000 Series Router Quality of Service Configuration Guide 1-51 OL-7433-09...

  • Page 96: Mpls Experimental Command, Oam-bundle Command, Precedence Command, Precedence Command (frame Relay Vc-bundle-member), Protect Command

    Cisco IOS Release: Release 12.0(26)S Description: The protect command was introduced on the PRE1 to configure a Frame Relay protected permanent virtual circuit (PVC) bundle member with protected group or protected PVC status. Cisco 10000 Series Router Quality of Service Configuration Guide 1-52 OL-7433-09...

  • Page 97: Pvc-bundle Command, Pvc Command (frame Relay Vc-bundle), Pvc Bundles Over Atm And Frame Relay Feature

    Chapter 3, “Configuring QoS Policy Actions and Rules” policy-map Command, page 1-54 • qos match statistics Command, page 1-54 • Policy Maps Feature, page 1-54 • Policy Map Scaling Phase 2, page 1-54 • Cisco 10000 Series Router Quality of Service Configuration Guide 1-53 OL-7433-09...

  • Page 98: Policy-map Command, Qos Match Statistics Command, Policy Maps Feature, Policy Map Scaling Phase 2

    Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 99: Qos Policy Propagation Through The Border Gateway Protocol, Shaping Pppoe Over Vlan Sessions Using Radius

    PRE2 to enable dynamic queuing and shaping policies on PPPoEoVLAN sessions. Cisco IOS Release: Release 12.2(31)SB5 Description: This feature was integrated in Cisco IOS Release 12.2(31)SB5 for the PRE2. Shaping Traffic Documentation Reference: Chapter 9, “Shaping Traffic”...

  • Page 100: Atm Pvp Command, Pvc Command, Shape Command

    Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 101: Shape Percent Command, Vbr-nrt Command, Atm Vc/vp Shaping Feature

    Cisco IOS Release: Release 12.2(16)BX Description: This command was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 102: Class-based Traffic Shaping Feature, Frame Relay Traffic Shaping Feature, Hierarchical Shaping Feature

    Description: The Hierarchical Shaping feature was introduced on the PRE2 to enable you to shape traffic at both the VC-level and VP-level. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco IOS Release: Release 12.2(231)SB2 Description: This feature was introduced on the PRE3.

  • Page 103: Traffic Shaping Overhead Accounting For Atm Feature, Sharing Bandwidth Fairly During Congestion

    Cisco IOS Release: Release 12.2(15)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Cisco IOS Release: Release 12.2(31)SB2 Description: This command was introduced on the PRE3.

  • Page 104: Class-based Weighted Fair Queuing For Virtual Access Interfaces Feature, Simultaneous Policy Maps

    Cisco IOS Release: Release 12.2(16)BX Description: This feature was introduced on the PRE2. Cisco IOS Release: Release 12.2(28)SB Description: This feature was integrated in Cisco IOS Release 12.2(28)SB. Simultaneous Policy Maps Documentation Reference: Chapter 14, “Simultaneous Policy Maps” Simultaneous QoS Policy Map on Interface and PPP Session—A-DSLAM Case, page 1-60 •...

  • Page 105

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 106

    Chapter 1 Quality of Service Overview Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 1-62 OL-7433-09...

  • Page 107: Traffic Classification Using Class Maps

    C H A P T E R Classifying Traffic This chapter describes how to create traffic classification rules that the Cisco 10000 series router can use to classify inbound and outbound traffic. Even with fast interfaces, most networks require a strong quality of service (QoS) management model to effectively manage the congestion points that occur due to speed-mismatch or diverse traffic patterns.

  • Page 108: Feature History For Class Maps, System Limits For Class Maps

    System Limits for Class Maps Table 2-1 lists the system limits for class maps on the Cisco 10000 series router. In the table, the number of class maps per system and the number of classes per policy map include the class-default class.

  • Page 109: Pre3 Class Maps And Qos Scalability, Class-map Command

    PRE3 Class Maps and QoS Scalability The Cisco 10000 series router with a PRE3 counts QoS matches for each class or for each match. As the following describes, you can achieve greater scalability with per-class mode counting enabled on the router: Per-match mode (default mode)—The router counts matches for each match statement and class,...

  • Page 110: Syntax Description, Class-map Command History, Usage Guidelines For The Class-map Command, Qos Match Statistics Command

    The class-map command was introduced on the PRE1. Release 12.0(15)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was integrated in Cisco IOS Release 12.2(31)SB2 for the PRE3.

  • Page 111: Command Default, Qos Match Statistics Command History, Usage Guidelines For The Qos Match Statistics Command

    Specifying one mode automatically negates the current mode. The Cisco 10000 series router with a PRE3 supports 262,144 unique class maps per system in per-match mode and 4,194,304 unique class maps per system in per-class mode. Per-class mode provides greater QoS scalability.

  • Page 112

    Specifies that the router is to look for the Frame Relay discard Router(config-cmap)# match fr-de eligibility (DE) bit in the packets. Specifies that the packet input interface must match the interface Router(config-cmap)# match input-interface name name. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 113

    0 to 65535 and is the lowest number in the range. range specifies a number from 0 to 65535 and is the highest number in the range. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 114

    PRE2. Specifies that the packet QoS group number value must match the Router(config-cmap)# match qos-group number specified QoS group number. number is a group number from 0 to 99. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 115: Match Commands History

    This command was enhanced to include imposition matching on the experimental (EXP) bit value on the imposed label entry of the packet. Release 12.2(28)SB match This command was integrated in Cisco IOS Release 12.2(28)SB. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 116: Usage Guidelines For Match Commands

    For example, if you enter the match not qos-group 4 command in class-map configuration mode, the specified class accepts all QoS group values except 4 as successful match criteria. Cisco 10000 Series Router Quality of Service Configuration Guide 2-10 OL-7433-09...

  • Page 117: Class-default Class, Restrictions And Limitations For Traffic Classification, Classifying Traffic Using A Class Map

    • Each class map can have a maximum of 16 match statements. The Cisco 10000 series router does not have a predefined scaling limit for classification. • A policy map with a traffic class based on the match fr-de command can be applied only on an •...

  • Page 118: Creating A Class Map, Configuration Examples For Classifying Traffic

    1 or that have an IP precedence value of 3 or 7. Example 2-2 Defining Match Criteria Router(config)# class-map class1 Router(config-cmap)# match access-group 1 Router(config-cmap)# match ip precedence 3 7 Cisco 10000 Series Router Quality of Service Configuration Guide 2-12 OL-7433-09...

  • Page 119: Verifying Traffic Classification, Verification Example, Defining Qos Policy Actions

    Defining QoS Policy Actions After you create a class map and configure the match criteria by which the Cisco 10000 series router classifies traffic, you then need to tell the router how you want it to handle the matching packets. To do this, you define QoS policy actions in a policy map.

  • Page 120

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this document. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 121: Qos Policies

    Chapter 2, “Classifying Traffic.” Cisco 10000 series router supports a modular CLI element called a policy map to enable you to configure a QoS policy with the appropriate actions and rules.

  • Page 122: Feature History For Qos Policies, Defining Qos Actions Using A Policy Map

    (CBWFQ) is notified and the new classes are installed as part of the policy map in the CBWFQ system. System Limits for Policy Maps Table 3-1 lists the system limits for policy maps supported on the Cisco 10000 series router. Table 3-1 System Limits for Policy Maps Policy Maps per System No.

  • Page 123: K Policy Maps, Policy-map Command

    PRE3 and PRE4, doubling the number supported in previous releases. The router supports up to 4096 policy maps for the PRE2. To configure 8192 policy maps, the router must be running Cisco IOS Release 12.2(33)SB. The router supports a maximum of 64 classes per policy map.

  • Page 124: Usage Guidelines For The Policy-map Command, Syntax Description, Types Of Qos Actions

    Types of QoS Actions The following sections describe the QoS actions supported on the Cisco 10000 series router. These are the actions that you configure in a policy map for specific traffic classes.

  • Page 125

    Table 3-2 Table 3-3, “Not Applicable” indicates that you cannot perform the action on a Cisco product or that it has no meaning in the context indicated. “Not Available” means the action is not supported. When configuring an input policy map for a virtual access interface (VAI), be careful that you do not include the “Not Applicable”...

  • Page 126

    Not Applicable Not Applicable experimental 1. The interface must be an Ethernet interface that is configured for 802.1Q VLAN. 2. The virtual access interface must be using an 802.1Q VLAN interface. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 127: Policy Map Actions—releases Prior To Cisco Ios Release 12.0(17)sl

    Types of QoS Actions Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL Table 3-4 lists the QoS action commands supported in all releases prior to Cisco IOS Release 12.0(17)SL. These actions are also available in later releases. Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL...

  • Page 128

    Chapter 3 Configuring QoS Policy Actions and Rules Types of QoS Actions Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL (continued) Action Description random-detect dscp dscpvalue min-threshold Changes the minimum and maximum packet max-threshold drop-rate thresholds for the differentiated services code point (DSCP) value.

  • Page 129

    Chapter 3 Configuring QoS Policy Actions and Rules Types of QoS Actions Table 3-4 Policy Map Actions—Releases Prior to Cisco IOS Release 12.0(17)SL (continued) Action Description random-detect precedence precedence Changes the minimum and maximum packet min-threshold max-threshold drop-rate thresholds for the precedence level you specify.

  • Page 130: Policy Map Actions—cisco Ios Release 12.0(17)sl And Later Releases

    8 to 2,488,320. 1. In Cisco IOS Release 12.0(23)SX1, Release 12.0(25)S, and Release 12.3(7)XI, and later releases, the syntax of the priority command changed to priority (without any arguments). For these later releases, use the priority command with the police command so that the priority class does not starve other traffic on a link.

  • Page 131: Policy Map Actions—cisco Ios Release 12.0(22)s And Later Releases

    Configuring QoS Policy Actions and Rules Policing Actions Policy Map Actions—Cisco IOS Release 12.0(22)S and Later Releases Cisco IOS Release 12.0(22)S adds support for the QoS action command listed in Table 3-7. This command is also available in later releases.

  • Page 132: Qos Inheritance

    Transmits the packet. The packet is not altered. Release 12.0(9)SL QoS Inheritance The Cisco 10000 series router applies service policies using the following QoS inheritance rules: • ATM port—A service policy configured on an ATM port applies to all unspecified bit rate (UBR) PVCs configured on the port without a service policy.

  • Page 133: Atm Service Categories, Constant Bit Rate

    You can display the state of the policy only on the interface where you configured the policy. ATM Service Categories The Cisco 10000 series router supports the following ATM service classes: Constant Bit Rate, page 3-13 •...

  • Page 134: Unspecified Bit Rate

    Traffic that adheres to a particular profile can be shaped to meet downstream requirements, thereby eliminating bottlenecks in topologies with data-rate mismatches. The Cisco 10000 series router supports traffic shaping for unspecified bit rate (UBR) traffic. Traffic shaping is performed on a per-port basis and involves passing UBR traffic streams through VC queues for scheduled rate shaping.

  • Page 135: Variable Bit Rate

    For those cells in compliance with the traffic contract, a low cell loss is expected. Non-time critical data file transfers are an example of a VBR-nrt connection. A VBR-nrt connection is characterized by PCR, SCR, and MBS. Cisco 10000 Series Router Quality of Service Configuration Guide 3-15 OL-7433-09...

  • Page 136

    (SCR). output-mbs is the output maximum burst cell size (MBS). If the PCR and SCR values are equal, the MBS value Note is 1. Cisco 10000 Series Router Quality of Service Configuration Guide 3-16 OL-7433-09...

  • Page 137: Traffic Subject To Qos Policies, Atm Virtual Circuits Without Qos Policies

    Packets marked as IP precedence 6 or 7 All other locally originated traffic 1. IP precedence 6 and 7 are not subject to QoS in all releases prior to Cisco IOS Release 12.0(22)S and in Cisco IOS Release 12.3(7)XI2. ATM Virtual Circuits Without QoS Policies...

  • Page 138: Qos Performance, Configuring Qos Policies

    Packet delay due to additional PXF passes is negligible. Therefore, system performance degradation occurs only at high system utilization. The following describes PXF requirements: All releases prior to Cisco IOS Release 12.0(17)SL—For each packet, the PXF requires one pass per • class-map match statement.

  • Page 139: Creating A Policy Map, Configuration Examples For Creating A Policy Map

    Router(config-pmap)# class class-default Router(config-pmap-c)# bandwidth 128 Note For more information about defining QoS actions in a policy map, see the “Input and Output Policy Actions” section on page 3-4. Cisco 10000 Series Router Quality of Service Configuration Guide 3-19 OL-7433-09...

  • Page 140: Defining Qos Actions In A Policy Map, Attaching Service Policies, Verifying Qos Policy Configurations

    If you do not specify class-name, the router displays class configuration for all classes in the policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 3-20 OL-7433-09...

  • Page 141

    Displays queuing configuration information and statistics for the Router# show queue interface-type interface-number specified interface. Cisco 10000 Series Router Quality of Service Configuration Guide 3-21 OL-7433-09...

  • Page 142: Verification Example For Service Policies

    5 minute offered rate 0 bps, drop rate 0 bps Match: any (21046) 0 packets, 0 bytes 5 minute rate 0 bps Output queue: 0/32; 0/0 packets/bytes output, 0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 3-22 OL-7433-09...

  • Page 143

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 144

    Release 9.3.00 Configuring ATM Connections > ATM Connection Flow > Traffic Shaping for CBR, rt-VBR, nrt-VBR, and UBR Configuring ATM Connections > ATM Connection Configuration > Variable Bit Rate Connections Cisco 10000 Series Router Quality of Service Configuration Guide 3-24 OL-7433-09...

  • Page 145: Interfaces Supporting Qos Service Policies

    Label-controlled Asynchronous Transfer Mode (LC-ATM) subinterfaces • Frame Relay PVCs, point-to-point subinterfaces, and map classes • • Ethernet virtual local area networks (VLANs) • IP tunnel interfaces • Virtual access interfaces Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 146: Feature History For Atm Qos, Attaching Atm Qos Service Policies, Atm Qos Inheritance

    Note In a Cisco 10000 series router, we recommend that you do not attach a service-policy to an interface that has an IP interface session. Attaching ATM QoS Service Policies You can attach a QoS service policy to an ATM interface, point-to-point subinterface, or PVC using the service-policy command.

  • Page 147: Service-policy Command, Syntax Description, Service-policy Command History

    12.3(7)XI2 This command was enhanced on the PRE2 to allow you to attach a policy map to a range of PVCs, and to a specific PVC within the PVC range. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 148: Service-policy Command Modes, Usage Guidelines For The Service-policy Command

    Do not specify input or output when using the service-policy command in an hierarchical policy. In Cisco IOS Release 12.2(33)SB and later releases, the router no longer accepts the abbreviated form (ser) of the service-policy command. Instead, you must spell out the command name service- before the router accepts the command.

  • Page 149: Restrictions And Limitations For Attaching Atm Service Policies

    Attaching QoS Service Policies to an ATM PVC, page 4-8 • Attaching QoS Service Policies to an ATM PVC Range and an ATM PVC in a Range, page 4-9 • Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 150: Attaching Qos Service Policies To An Atm Interface

    ATM interface 1/0/0. The router applies the service policy to all of the PVCs configured on the interface. Example 4-1 Attaching a QoS Policy to an ATM Interface Router(config)# interface atm 1/0/0 Router(config-if)# service-policy input myQoS Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 151: Attaching Qos Service Policies To An Atm Point-to-point Subinterface

    Note The router applies the service policy to the ATM subinterface and to all PVCs configured on the subinterface that does not have its own QoS policy applied. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 152: Attaching Qos Service Policies To An Atm Pvc

    Creates an ATM permanent virtual circuit (PVC) and enters Router(config-subif)# pvc [name] vpi/vci ATM VC configuration mode. name is the name used to identify the PVC. vpi is the virtual path identifier. vci is the virtual circuit identifier. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 153: Attaching Qos Service Policies To An Atm Pvc Range And An Atm Pvc In A Range

    To attach a QoS service policy to a range of ATM PVCs or to a specific ATM PVC in a range of PVCs, enter the following commands beginning in global configuration mode: Command Purpose Step 1 Specifies the ATM interface and enters interface configuration Router(config)# interface atm slot/module/port mode. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 154

    0 is used. Valid VPI values are from 0 to 255. vci is the virtual circuit identifier (VCI) for this PVC. Valid values are from 32 to 2047. Cisco 10000 Series Router Quality of Service Configuration Guide 4-10 OL-7433-09...

  • Page 155: Attaching Frame Relay Qos Service Policies

    Restrictions and Limitations for Frame Relay QoS Service Policies, page 4-13 • Creating and Attaching QoS Policies to Frame Relay Interfaces, Subinterfaces, and Data-Link • Connection Identifiers, page 4-14 Cisco 10000 Series Router Quality of Service Configuration Guide 4-11 OL-7433-09...

  • Page 156: Feature History For Frame Relay Qos, Frame Relay Qos Inheritance, Map-class Frame-relay Command, Syntax Description

    This command has no default behavior. map-class frame-relay map-class-name no map-class frame-relay map-class-name Syntax Description map-class-name The name of the map class. The map-class-name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 4-12 OL-7433-09...

  • Page 157: Map-class Frame-relay Command History, Usage Guidelines For The Map-class Frame-relay Command

    • You cannot attach a policy map and a map class to the same subinterface. For Cisco IOS Release 12.0(22)S and later releases, use the MQC to create and attach a policy map as described in this chapter. For all releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay legacy commands to create and attach a Frame Relay QoS policy as described in Appendix A, “Configuring...

  • Page 158: Creating And Attaching Qos Policies To Frame Relay Interfaces, Subinterfaces, And Data-link Connection Identifiers

    You cannot attach a QoS policy to the same Frame Relay interface or subinterface by using both Note the MQC and a map class. For releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay commands to attach QoS policies (see Appendix A, “Configuring Frame Relay QoS Using...

  • Page 159

    4/0/0 in the inbound direction. Example 4-6 Attaching a QoS Policy Directly to a Frame Relay Interface Router(config)# interface serial 4/0/0 Router(config-if)# service-policy input silver Cisco 10000 Series Router Quality of Service Configuration Guide 4-15 OL-7433-09...

  • Page 160

    Configuring a QoS Service Policy on a Frame Relay Subinterface Using a Map Class Router(config)# map-class frame-relay VCs_slow Router(config-map-c)# service-policy policy1 Router(config-map-c)# exit Router(config)# interface serial 1/0/0.1 point-to-point Router(config-if)# frame-relay class VCs-slow Cisco 10000 Series Router Quality of Service Configuration Guide 4-16 OL-7433-09...

  • Page 161: Attaching A Qos Service Policy To A Frame Relay Dlci

    You cannot attach a QoS policy to the same Frame Relay interface or subinterface by using both the Note MQC and a map class. For releases earlier than Cisco IOS Release 12.0(22)S, use the Frame Relay commands to attach QoS policies (see Appendix A, “Configuring Frame Relay QoS Using Frame Relay...

  • Page 162

    Example 4-10 Attaching a QoS Service Policy Directly to a DLCI Configured on an Interface Router(config)# interface serial 4/0/0 Router(config-if)# frame-relay interface-dlci 201 Router(config-fr-dlci)# service-policy output voice Cisco 10000 Series Router Quality of Service Configuration Guide 4-18 OL-7433-09...

  • Page 163

    DLCI. Note The router applies the service policy configured in the map class to only this individual DLCI. Cisco 10000 Series Router Quality of Service Configuration Guide 4-19 OL-7433-09...

  • Page 164: Attaching Virtual Lan Qos Service Policies, Feature History For Vlan Qos

    The attachment of virtual LAN QoS service policies was PRE1 introduced on the router. 12.2(15)BX This feature was introduced on the PRE2. PRE2 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 4-20 OL-7433-09...

  • Page 165: Vlan Qos Inheritance, Restrictions And Limitations For Attaching Qos Services To Vlan Subinterfaces

    Restrictions and Limitations for Attaching QoS Services to VLAN Subinterfaces The Cisco 10000 series router currently supports PPPoE over IEEE 802.1Q VLAN on Gigabit • Ethernet and Fast Ethernet 8-port half-height line cards. The Fast Ethernet port (fe0/0/0) of the performance routing engine (PRE) does not support this feature.

  • Page 166: Attaching Qos Service Policies To Physical Interfaces With Vlan Subinterfaces

    Gigabit Ethernet interface 1/0/0. Example 4-13 Attaching a QoS Policy to a VLAN Interface Router(config)# interface GigabitEthernet 1/0/0 Router(config-if)# service-policy input myQoS Router(config-if)# interface GigabitEthernet 1/0/0.3 Router(config-subif)# encapsulation dot1q 4 Cisco 10000 Series Router Quality of Service Configuration Guide 4-22 OL-7433-09...

  • Page 167: Attaching Qos Service Policies To Vlan Subinterfaces, Attaching Virtual Access Interface Qos Service Policies

    A virtual access interface (VAI) is a virtual interface that the router dynamically creates and configures when a remote user initiates a session to the Cisco 10000 series router. The router uses a template of operational parameters called a virtual template interface to create and configure the VAI.

  • Page 168: Feature History For Vai Qos, Vai Qos Inheritance

    VC inherit the QoS policy of the VC. Any VAI that uses that VC is subject to the queueing, policing, and marking actions defined in the VC service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 4-24...

  • Page 169: Restrictions And Limitations For Attaching Qos Services To A Vai

    • Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually. You can only apply a QoS policy with queueing-related actions to a VC. Do not apply service •...

  • Page 170: Applying A Qos Service Policy To A Virtual Template Interface

    Router(config)# interface virtual-template1 Router(config-if)# ip unnumbered Loopback1 Router(config-if)# no peer default ip address Router(config-if)# ppp authentication chap vpn1 Router(config-if)# ppp authorization vpn1 Router(config-if)# ppp accounting vpn1 Router(config-if)# service-policy policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 4-26 OL-7433-09...

  • Page 171: Applying A Virtual Template Interface To A Bba Group

    Attaching Virtual Access Interface QoS Service Policies Applying a Virtual Template Interface to a BBA Group A BBA group is a template used to control connections. Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually.

  • Page 172: Attaching A Bba Group To An Interface Or Subinterface For Pppoe Sessions

    PPPoE sessions. The example also assigns VLAN 4 to the subinterface. Example 4-18 Attaching a BBA Group to a VLAN Subinterface Router(config)# interface atm 4/0/0.10 Router(config-subif)# protocol pppoe group bba-voice Router(config-subif)# encapsulation dot1q 4 Router(config-subif)# pppoe enable Cisco 10000 Series Router Quality of Service Configuration Guide 4-28 OL-7433-09...

  • Page 173

    Router(config-bba)# sessions per-vlan limit 5 Router(config)# interface atm 5/0 Router(config-if)# protocol pppoe group VPN_1 Router(config-if)# encapsulation aalsnap Router(config)# interface FastEthernet 3/0/0.33 Router(config-subif)# protocol pppoe group VPN_2 Router(config-subif)# encapsulation dot.1q 5 Cisco 10000 Series Router Quality of Service Configuration Guide 4-29 OL-7433-09...

  • Page 174: Attaching Layer 2 Access Concentrator Qos Service Policies, Feature History For Lac Qos

    The physical Ethernet interface, the aggregate of all of the VLAN subinterfaces is subject to the • physical interface’s service policy. Individual VLAN subinterfaces, and not to the physical Ethernet interface, only the individual • VLAN subinterfaces are subject to the attached service policies. Cisco 10000 Series Router Quality of Service Configuration Guide 4-30 OL-7433-09...

  • Page 175: Restrictions And Limitations For Attaching Lac Qos, Attaching Qos Policies To Lac Atm Virtual Circuits

    Restrictions and Limitations for Attaching LAC QoS Cisco IOS Release 12.3(7)XI3 does not support the attachment of LAC QoS directly to sessions by • attaching QoS services to a virtual access interface (VAI) using a virtual template. If you apply LAC QoS to a virtual template, the router ignores it.

  • Page 176: Applying Qos On Layer 2 Tunnel Packets, Verifying And Monitoring Qos Service Policies

    Attaching Service Policies Applying QoS on Layer 2 Tunnel Packets Applying QoS on Layer 2 Tunnel Packets The following describes how the Cisco 10000 series router applies QoS policies to Layer 2 tunnel packets: Inbound Layer 2 Tunnel Packets When a packet arrives on a physical interface, the router applies the input QoS policy (if one exists) of the physical interface.

  • Page 177

    Displays a summary of the status of all active tunnels for each session ID. Displays a summary of the status of all packets traveling in and Router# show pppoe session packets traveling out of a PPPoE session. Cisco 10000 Series Router Quality of Service Configuration Guide 4-33 OL-7433-09...

  • Page 178: Verification Example For Qos Service Policies

    2 4064 1/100 0 0 3 4464 1/100 0 0 4 4864 1/100 0 0 5 5264 1/100 0 0 6 5664 1/100 0 0 7 6064 1/100 0 0 Cisco 10000 Series Router Quality of Service Configuration Guide 4-34 OL-7433-09...

  • Page 179

    Match: ip precedence 5 0 packets, 0 bytes 5 minute rate 0 bps Output queue: 0/128; 0/0 packets/bytes output, 0/0 drops Police: 64000 bps, 8000 limit, 0 extended limit Cisco 10000 Series Router Quality of Service Configuration Guide 4-35 OL-7433-09...

  • Page 180

    Output queue: 0/32; 0/0 packets/bytes output, 0/0 drops Related Documentation This section provides hyperlinks to additional Cisco documentation for the features described in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.

  • Page 181: Bandwidth Distribution Between Queues

    The Cisco 10000 series router allows you to distribute bandwidth to ensure that bandwidth is shared fairly between the queues of a link. This chapter describes bandwidth distribution between queues on the Cisco 10000 series router and contains the following topics: •...

  • Page 182: Feature History For Bandwidth Distribution Between Queues, Interfaces Supporting Bandwidth Distribution

    Frame Relay PVCs, point-to-point subinterfaces, and map classes * • Ethernet VLANs * • * Requires a specific type of hierarchical policy. For more information, see the Chapter 13, “Defining QoS for Multiple Policy Levels.” Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 183: Unused Bandwidth Allocation, Traffic Classes That Can Use Excess Bandwidth

    If a traffic class is not using its configured bandwidth, the unused bandwidth is shared among the other classes. The Cisco 10000 series router guarantees a priority class 95 percent of the bandwidth. As a result, the priority class can starve other traffic classes unless you configure policing. The router does not police the priority class unless you configure a policer.

  • Page 184: Bandwidth Calculations

    Bandwidth Calculations The Cisco 10000 series router can commit up to 99 percent of the interface bandwidth to one or more class queues. If you attempt to attach a policy map to an interface when the sum of the bandwidth assigned to classes is greater than 99 percent of the available bandwidth, the router logs a warning message and does not allocate the requested bandwidth to all of the classes.

  • Page 185: Bandwidth Allocation To Pvcs

    PVCs. As a result, a diminished amount of bandwidth is available to allocate to unshaped UBR PVCs. To override this behavior, create a hierarchical (nested) policy with the bandwidth specified and attach the policy to the ATM port or physical interface. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 186: Class-default Bandwidth Guarantee, Committed Rate Data

    Distributing Bandwidth Between Queues Bandwidth Distribution Between Queues Class-Default Bandwidth Guarantee The Cisco 10000 series router guarantees bandwidth for the class-default class in the following way: For all releases prior to Cisco IOS Release 12.0(19)SL, when other classes are present, the •...

  • Page 187: Bandwidth And Priority Service

    • In releases prior to Cisco IOS Release 12.3(7)XI, specify a minimum bandwidth rate using the priority command. In Cisco IOS Release 12.3(7)XI and later releases, specify a minimum bandwidth rate using the •...

  • Page 188: Queuing Modes

    To support a low VC count, configure the atm pxf queuing command on each port of the Cisco 10000 series router. For Cisco IOS Release 12.3(7)XI2 and later releases, all line cards support a maximum of 28,672 VCs when configured for hierarchical shaping.

  • Page 189: Restrictions And Limitations For Bandwidth Distribution

    To support a high number of virtual circuits (VCs), configure the no atm pxf queuing command on each port of the Cisco 10000 series router. PPPoA supports one session per VC and requires that you enable no atm pxf queuing mode to support up to 64,000 PPPoA sessions. Enabling no atm pxf queuing mode is not required for L2TP and might not be required for PPPoE because you can have 64,000 sessions on a single VC.

  • Page 190: Configuring Bandwidth Distribution Between Queues, Configuration Examples For Configuring Bandwidth Distribution

    This section provides the following configuration examples: Configuration Example for Kilobits per Second-Based Bandwidth, page 5-11 • Configuration Example for Percentage-Based Bandwidth, page 5-11 • Configuration Example for Bandwidth-Remaining-Based Bandwidth, page 5-11 • Cisco 10000 Series Router Quality of Service Configuration Guide 5-10 OL-7433-09...

  • Page 191: Configuration Example For Kilobits Per Second-based Bandwidth, Configuration Example For Percentage-based Bandwidth

    25 percent of the unused bandwidth to this class. Example 5-4 Configuring Bandwidth-Remaining-Based Bandwidth Router(config)# policy-map vlan Router(config-pmap)# class priority Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 50 Router(config-pmap-c)# exit Router(config-pmap)# class premium Router(config-pmap-c) bandwidth remaining percent 25 Cisco 10000 Series Router Quality of Service Configuration Guide 5-11 OL-7433-09...

  • Page 192: Verifying And Monitoring Bandwidth Distribution

    Bandwidth Distribution Between Queues Verifying and Monitoring Bandwidth Distribution The Cisco 10000 series router collects statistical information about the current queue length, and the number of packets and bytes transmitted and dropped (64 bits), which you can display using the show commands in this section.

  • Page 193: Verification Example For Bandwidth Distribution

    Bandwidth : 2001 kbps (Weight 1) Class-map: class-default (match-any) 134 packets, 2760 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/4096; 3046242/75866271 packets/bytes output, 0/0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 5-13 OL-7433-09...

  • Page 194: Distribution Of Remaining Bandwidth Using Ratio, Feature History For Bandwidth-remaining Ratios, Bandwidth-remaining Ratio

    Cisco IOS Release Modification Release 12.2(31)SB22 This feature was introduced and implemented on the Cisco 10000 series router for the PRE3. Bandwidth-Remaining Ratio A bandwidth-remaining ratio is a value from 1 to 1000 that is used to determine the amount of unused (excess) bandwidth to allocate to a class queue or subinterface-level queue during congestion.

  • Page 195: Prerequisites For Distribution Of Remaining Bandwidth Using Ratio

    Use the following procedures to configure bandwidth-remaining ratios: • Configuring and Applying Bandwidth-Remaining Ratios to Subinterfaces, page 5-16 • Configuring and Applying Bandwidth-Remaining Ratios to Class Queues, page 5-18 Cisco 10000 Series Router Quality of Service Configuration Guide 5-15 OL-7433-09...

  • Page 196: Configuring And Applying Bandwidth-remaining Ratios To Subinterfaces

    The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.

  • Page 197

    (for example, 1/0/0.1). (Optional) point-to-point indicates that the subinterface is a point-to-point subinterface. (Optional) multipoint indicates that the subinterface is a point-to-multipoint subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 5-17 OL-7433-09...

  • Page 198: Configuring And Applying Bandwidth-remaining Ratios To Class Queues

    (CIR), in bits per second (bps). (Optional) bc specifies the committed burst size, in bits. (Optional) be specifies the excess burst size, in bits. Cisco 10000 Series Router Quality of Service Configuration Guide 5-18 OL-7433-09...

  • Page 199

    The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.

  • Page 200: Configuration Examples For Distribution Of Remaining Bandwidth Using Ratio

    Configuring Bandwidth-Remaining Ratios on Ethernet Subinterfaces: Example, page 5-21 • Configuring Bandwidth-Remaining Ratios on ATM Subinterfaces: Example, page 5-21 • Configuring Bandwidth-Remaining Ratios on Class Queues: Example, page 5-22 Verifying Bandwidth Remaining Ratios: Example, page 5-22 • Cisco 10000 Series Router Quality of Service Configuration Guide 5-20 OL-7433-09...

  • Page 201: Configuring Bandwidth-remaining Ratios On Ethernet Subinterfaces: Example, Configuring Bandwidth-remaining Ratios On Atm Subinterfaces: Example

    If PVC 98/204 is configured on the same interface as PVC 0/200 and with a bandwidth-remaining ratio Note of 1, during times of congestion PVC 0/200 would have 10 times more bandwidth available to it for non-priority traffic than PVC 98/204 would have. Cisco 10000 Series Router Quality of Service Configuration Guide 5-21 OL-7433-09...

  • Page 202: Configuring Bandwidth-remaining Ratios On Class Queues: Example, Verifying Bandwidth Remaining Ratios: Example

    Router# show policy-map interface GigabitEthernet1/0/0.10 Service-policy output: vlan10_policy Class-map: class-default (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes Cisco 10000 Series Router Quality of Service Configuration Guide 5-22 OL-7433-09...

  • Page 203

    30 second offered rate 0 bps, drop rate 0 bps Match: any 0 packets, 0 bytes 30 second rate 0 bps queue limit 62 packets (queue depth/total drops/no-buffer drops) 0/0/0 (pkts output/bytes output) 0/0 Cisco 10000 Series Router Quality of Service Configuration Guide 5-23 OL-7433-09...

  • Page 204

    (average) cir 500000, bc 2000, be 2000 target shape rate 500000 bandwidth remaining ratio 60 Class-map: class-default (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: any Cisco 10000 Series Router Quality of Service Configuration Guide 5-24 OL-7433-09...

  • Page 205

    20 Class precedence_1 Average Rate Traffic Shaping cir 500000 (bps) bandwidth remaining ratio 40 Class precedence_2 Average Rate Traffic Shaping cir 500000 (bps) bandwidth remaining ratio 60 Cisco 10000 Series Router Quality of Service Configuration Guide 5-25 OL-7433-09...

  • Page 206

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 207

    This chapter describes the policing capabilities of the Cisco 10000 series router. It includes the following topics: Traffic Policing, page 6-2 •...

  • Page 208: Traffic Policing, Feature History For Traffic Policing

    This feature was introduced on the PRE4 and enhanced to PRE2, PRE3, support marking of the ATM CLP bit, Frame Relay DE bit, PRE4 and CoS bit using a police action for the PRE2, PRE3, and PRE4. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 209: Policing Actions

    Sets the IP differentiated services code point Release 12.0(17)SL (DSCP) value and transmits the packet with the new PRE1 IP DSCP value setting. Valid values are from 0 to Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 210: Single-rate Color Marker For Traffic Policing

    PRE1 Single-Rate Color Marker for Traffic Policing The Cisco 10000 series router supports a single-rate color marker to police traffic streams into groups of conforming and nonconforming traffic. This marker is useful in marking packets in a packet stream with different, decreasing levels of assurances (either absolute or relative). The marker can mark packets with green, yellow, or red markings, which cause a specific action to occur.

  • Page 211: Feature History For The Single-rate Color Marker, Configuration Commands For The Single-rate Color Marker

    Chapter 6 Policing Traffic Single-Rate Color Marker for Traffic Policing In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the router adds support • for an IETF-defined, RFC 2697-based, single rate, three-color marker by adding the ability to classify nonconforming traffic into a third group: traffic that violates the CIR.

  • Page 212: Police Command (single-rate)

    For information about conforming, exceeding, and violating traffic, see the “Usage Guidelines for the police Command” section on page 6-7 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 213

    The policer measures the committed burst size (CBS) and the excess burst size (EBS) in bytes. The Cisco IOS software converts the policing rate you enter in bits per second to bytes per millisecond. You must configure the CBS and EBS so that at least one of them is larger than 0.

  • Page 214: Two-rate Three-color Marker For Traffic Policing

    (DiffServ) assured forwarding (AF) per-hop behavior (PHB) traffic conditioning (see the “Implementing DiffServ for End-to-End Quality of Service” section in the Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.3). For information about the single-rate color marker, see the “Single-Rate Color Marker for Traffic...

  • Page 215: Feature History For The Two-rate Color Marker, Configuration Commands For The Two-rate Color Marker

    The burst-normal specifies the bc value in bytes. Valid values are from 1 to 512,000,000. The default is 9,216 bytes. For more information, see the “Committed Bursts and Excess Bursts” section on page 6-21. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 216

    When the be value equals 0, we recommend that you set the egress bc value to be greater than or equal to the ingress bc value plus 1. Otherwise, packet loss can occur. For example: be = 0 egress bc >= ingress bc + 1 Cisco 10000 Series Router Quality of Service Configuration Guide 6-10 OL-7433-09...

  • Page 217: Percent-based Policing, Feature History For Percent-based Policing, Police Percent Command

    [cir] percent percent [bc] normal-burst-in-msec [pir pir] [be] excess-burst-in-msec [conform-action action] [exceed-action action] [violate-action action] no police [cir] percent percent [bc] normal-burst-in-msec [pir pir] [be] excess-burst-in-msec [conform-action action] [exceed-action action] [violate-action action] Cisco 10000 Series Router Quality of Service Configuration Guide 6-11 OL-7433-09...

  • Page 218

    6-7. police percent Command History Cisco IOS Release Description Release 12.0(25)SX The police percent command was introduced on the PRE1. Release 12.3(7)XI This command was introduced on the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 6-12 OL-7433-09...

  • Page 219: Control Plane Policing, Atom Set Atm Clp Bit Using A Policer

    Router(config-pmap-c)# police percent 20 3 ms pir 25 10 ms Control Plane Policing The Cisco 10000 series router supports control plane policing in Cisco IOS Release 12.2(31)SB2 and later releases. The Control Plane Policing feature allows you to configure a quality of service (QoS) filter that manages the traffic flow of control plane packets.

  • Page 220: Feature History For Set Atm Clp Bit Marking As A Police Action

    Feature History for AToM Set FR DE as Police Action Cisco IOS Release Description Required PRE Release 12.2(33)SB This feature was introduced on the PRE2, PRE3, and PRE4. PRE2, PRE3, PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 6-14 OL-7433-09...

  • Page 221: Set Layer 2 Cos As A Policer Action

    Feature History for Set Inner CoS as a Policer Action Cisco IOS Release Description Required PRE Release 12.2(33)SB This feature was introduced on the router for the PRE2, PRE2, PRE3, PRE3, and PRE4. PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 6-15 OL-7433-09...

  • Page 222: Set Inner And Outer Cos As A Policer Action

    If desired, you can then specify these same two actions as the action for the first and second exceed actions and for the two violate actions. Cisco 10000 Series Router Quality of Service Configuration Guide 6-16 OL-7433-09...

  • Page 223: Feature History For Dual Police Actions, Policing Support For Gre Tunnels, Interfaces Supporting Policing

    Cisco IOS release that supports dual police actions, the police command displays on a single line. If you configure each police action on a separate line and then downgrade to a Cisco IOS release that does not support dual actions, the router rejects the policer.

  • Page 224: Metering Traffic And Token Buckets, Metering Traffic Using Token Buckets (single-rate Policer)

    If the number of bytes in the exceeding bucket is greater than or equal to 0, the router removes the number of bytes of the packet from the exceeding token bucket and takes the exceed action. The router does not remove bytes from the conforming bucket. Cisco 10000 Series Router Quality of Service Configuration Guide 6-18 OL-7433-09...

  • Page 225: Metering Traffic Using Token Buckets (two-rate Policer)

    Figure 6-1 shows how the two-rate policer marks a packet and assigns a corresponding action to the packet. Cisco 10000 Series Router Quality of Service Configuration Guide 6-19 OL-7433-09...

  • Page 226

    When an arriving packet exceeds the PIR, the router takes the violate action on the packet, but does • not decrement the peak token bucket. Cisco 10000 Series Router Quality of Service Configuration Guide 6-20 OL-7433-09...

  • Page 227: Committed Bursts And Excess Bursts, Committed Bursts

    The default committed burst size is the greater of 2 milliseconds of bytes at the police rate or the network maximum transmission unit (MTU). Cisco 10000 Series Router Quality of Service Configuration Guide 6-21 OL-7433-09...

  • Page 228: Committed Burst Calculation, Excess Bursts

    For example, if you configure a committed burst of 4000 bytes, then using the excess burst formula, the excess burst is 8000 bytes. be = 2 * 4000 = 8000 The default excess burst size is 0. Cisco 10000 Series Router Quality of Service Configuration Guide 6-22 OL-7433-09...

  • Page 229: Deciding If Packets Conform Or Exceed The Committed Rate, Data Included In The Policing Rate

    No Start of Frame Delimiter (SFD) No Frame Check Sequence (FCS) Layer 2 framing No cell header (VBR) Cell overhead No AAL Common Part Convergence Sublayer (CPCS) pad No ATM trailer Cisco 10000 Series Router Quality of Service Configuration Guide 6-23 OL-7433-09...

  • Page 230

    A similar scenario for ATM requires 848 kbps because each 64-byte packet requires two cells of 53 bytes. 1000 * 2 * 53 * 8 / 1000 = 848 Cisco 10000 Series Router Quality of Service Configuration Guide 6-24 OL-7433-09...

  • Page 231: Policing Rate Granularity, Avoiding Bandwidth Starvation Due To Priority Services

    Avoiding Bandwidth Starvation Due to Priority Services The Cisco 10000 series router services priority traffic at near line rate to ensure that traffic is handled with minimal delay. The router gives preference to the priority class over other class queues on a traffic link.

  • Page 232: Bandwidth And Policing, Restrictions And Limitations For Traffic Policing

    You cannot specify multiple conform or exceed actions for a specific class in a policy map. • In releases prior to Cisco IOS Release 12.2(33)SB, the router supports up to 16 police action types. • In Cisco IOS Release 12.2(33)SB and later releases, the router supports up to 32 police action types.

  • Page 233: Configuring Traffic Policing

    Configuring Dual Police Actions, page 6-37 • For more information about classifying traffic and creating QoS service policies, see Chapter 2, “Classifying Traffic” Chapter 3, “Configuring QoS Policy Actions and Rules.” Cisco 10000 Series Router Quality of Service Configuration Guide 6-27 OL-7433-09...

  • Page 234: Configuring Single-rate Traffic Policing Based On Bits Per Second, Second

    Router(config-cmap)# match access-group 2 Router(config-cmap)# exit Router(config)# policy-map police Router(config-pmap)# class group1 Router(config-pmap-c)# police 8000 2000 4000 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# service-policy input police Cisco 10000 Series Router Quality of Service Configuration Guide 6-28 OL-7433-09...

  • Page 235

    Router(config-pmap-c)# class Silver Router(config-pmap-c)# police 8000000 6000 4000 conform-action transmit exceed-action drop violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# pvc 1/32 Router(config-atm-vc)# service-policy input Policy_0 Cisco 10000 Series Router Quality of Service Configuration Guide 6-29 OL-7433-09...

  • Page 236

    Router(config-pmap-c)# exit Router(config-pmap)# policy-map Parent-Policy Router(config-pmap)# class class-default Router(config-pmap-c)# shape 512000 Router(config-pmap-c)# service-policy Child-Policy Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 1/0/0.1 Router(config-subif)# encapsulation dot1q 2 Router(config-atm-range)# service-policy output Parent-Policy Cisco 10000 Series Router Quality of Service Configuration Guide 6-30 OL-7433-09...

  • Page 237

    Router(config)# interface Virtual-Template 1 Router(config-if)# ip unnumbered Loopback0 Router(config-if)# peer default ip address pool PPPoEpool Router(config-if)# ppp authentication chap Router(config-if)# service-policy input Gold Router(config)# ip local pool PPPoEpool 192.168.1.2 192.168.1.254 Cisco 10000 Series Router Quality of Service Configuration Guide 6-31 OL-7433-09...

  • Page 238: Configuring Percent-based Policing, Configuration Examples For Configuring Percent-based Policing

    Example 6-9 Configuration Example for Percent-Based Policing Router(config)# policy-map Test Router(config-pmap)# class Premium Router(config-pmap-c)# priority Router(config-pmap-c)# queue-limit 32 Router(config-pmap-c)# police percent 5 2 ms 2 ms Cisco 10000 Series Router Quality of Service Configuration Guide 6-32 OL-7433-09...

  • Page 239

    Router(config-pmap-c)# class Silver Router(config-pmap-c)# police 8000000 4000 6000 conform-action transmit exceed-action set-qos-transmit 4 violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# pvc 1/32 Router(config-if-atm-range)# service-policy input Policy_0 Cisco 10000 Series Router Quality of Service Configuration Guide 6-33 OL-7433-09...

  • Page 240

    Example 6-13 Policing a Priority Service Using Percent-Based Policing Router(config)# policy-map New-Traffic Router(config-pmap)# class Voice Router(config-pmap-c)# priority Router(config-pmap-c)# queue-limit 32 Router(config-pmap-c)# police percent 25 4 ms 1 ms conform-action transmit exceed-action set-qos-transmit 4 violate-action drop Cisco 10000 Series Router Quality of Service Configuration Guide 6-34 OL-7433-09...

  • Page 241: Configuring Two-rate Policing, Configuration Example For Configuring Two-rate Three-color Policing

    Router(config-pmap-c)# police cir 512000 bc 10000 pir 1000000 be 10000 conform-action transmit exceed-action set-prec-transmit 4 violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 3/0/0 Router(config-if)# service-policy output Business Cisco 10000 Series Router Quality of Service Configuration Guide 6-35 OL-7433-09...

  • Page 242: Marking Traffic Using Police Actions, Configuration Example For Marking Traffic Using Police Actions

    3; and traffic whose rate is higher than the conform plus exceed rate has the CoS bits also set to 3. Example 6-15 Marking Traffic Using Police Actions Router(config)# policy-map policy1 Router(config-pmap)# class gold Router(config-pmap-c)# police 8000 2000 1000 conform-action set-clp-transmit exceed-action set-cos 3 violate-action set-cos 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-36 OL-7433-09...

  • Page 243: Configuring Dual Police Actions, Configuration Example For Configuring Dual Police Actions

    Router(config-pmap)# class class-default Router(config-pmap-c) police 100000 100 10 conform-action set-clp-transmit Router(config-pmap-c-police)# conform-action set-mpls-exp-transmit 1 Router(config-pmap-c-police)# exceed-action set-clp-transmit Router(config-pmap-c-police)# exceed-action set-mpls-exp-transmit 2 Router(config-pmap-c-police)# violate-action set-clp-transmit Router(config-pmap-c-police)# violate-action set-mpls-exp-transmit 3 Router(config-pmap-c-police)# end Router# Cisco 10000 Series Router Quality of Service Configuration Guide 6-37 OL-7433-09...

  • Page 244: Configuration Examples, Configuration Example For Dual Actions—set-clp-transmit And Set-mpls-exp-transmit

    If the policy map is attached to an ATM PVC that is configured for Layer 2 VPN, the output from the show policy-map interface command displays the following information: Router# show policy-map interface atm4/0/0.1 ATM4/0/0.1: VC 1/100 - Service-policy input: clp Cisco 10000 Series Router Quality of Service Configuration Guide 6-38 OL-7433-09...

  • Page 245: Configuration Example For Dual Actions—set-frde-transmit And Set-mpls-exp-imposition-transmit

    Router# show running-config | begin frde |show running-config begin frde class class-default police 104000 100 10 conform-action set-frde-transmit conform-action set-mpls-exp-imposition-transmit 1 exceed-action set-frde-transmit exceed-action set-mpls-exp-imposition-transmit 2 violate-action set-frde-transmit violate-action set-mpls-exp-imposition-transmit 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-39 OL-7433-09...

  • Page 246: Configuration Example Of The Set-cos-transmit Police Action

    1000000 20000 30000 conform-action set-cos-transmit 2 exceed-action set-cos-transmit 2 violate-action set-cos-transmit 2 class c3 police 1000000 20000 30000 conform-action set-cos-transmit 3 exceed-action set-cos-transmit 3 violate-action set-cos-transmit 3 Cisco 10000 Series Router Quality of Service Configuration Guide 6-40 OL-7433-09...

  • Page 247: Verifying And Monitoring Traffic Policing, Verification Examples For Traffic Policing

    Verifying and Monitoring Traffic Policing The Cisco 10000 series router collects information about the number of conforming, exceeding, and violating packets and bytes. To verify and monitor traffic policing, enter any of the following commands in privileged EXEC mode:...

  • Page 248: Verifying Policing For A Specific Traffic Class, Verifying Policing On A Specific Interface

    0 packets, 0 bytes; action: drop Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/64; 0/0 packets/bytes output, 0/0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 6-42 OL-7433-09...

  • Page 249: Verifying Dual Police Actions—set-clp-transmit And Set-mpls-exp-transmit, Related Documentation

    3 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 250

    Part 4: Policing and Shaping > Policing and Shaping Overview > What Is a Token Bucket? Two-rate policer three-color marker RFC 2698, A Two Rate Three Color Marker Two-Rate Policer, Release 12.2(4)T3 feature module Cisco 10000 Series Router Quality of Service Configuration Guide 6-44 OL-7433-09...

  • Page 251

    If one of the routers in the path does not act appropriately, the overall service for a particular packet might not be as desired. This chapter describes the marking capabilities of the Cisco 10000 series router. It includes the following topics: QoS Packet Marking, page 7-2 •...

  • Page 252: Qos Packet Marking

    Table 7-1 summarizes the mechanisms you can use to mark packets. The internal mechanisms affect only the Cisco 10000 series router’s behavior; internal marks are not passed on to other routers. Table 7-1 Traffic Marking Actions...

  • Page 253: Feature History For Qos Packet Marking, Benefits Of Qos Packet Marking

    The ability to set the ATM CLP bit allows you to extend your IP QoS policies into an ATM network. As congestion occurs in the ATM network, cells with the CLP bit set are more likely to be dropped, resulting in improved network performance for higher priority traffic and applications. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 254: Ip Precedence Marking, Ip Precedence-based Weighted Random Early Detection

    MPLS packets, the router drops the MPLS packets based on the three experimental (EXP) bits in the MPLS label, instead of using the 3-bit IP precedence field in the underlying IP packets. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 255: Set Ip Precedence Command, Syntax Description, Set Ip Precedence Command History

    In Cisco IOS Release 12.3(7)XI, the router accepts the set precedence command without specifying the ip keyword. However, you must specify the set ip precedence command to set the precedence value in a packet header.

  • Page 256: Ip Differentiated Services Code Point Marking, Dscp Per-hop Behavior

    64 different values (0 through 63). The differentiated services (DiffServ) functionality of the Cisco IOS software is fully compliant with the Internet Engineering Task Force (IETF) standards defined in the following request for comments (RFCs)

  • Page 257: Assured Forwarding, Expedited Forwarding, Class Selector Code Points

    IP precedence. The CS code points have the form xyz000, where x, y, and z represent a 1 or 0. For more information, see the appropriate RFC as indicated in Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 258: Dscp Values

    RFC-2598, An Expedited Forwarding PHB • The RFCs do not dictate the way to implement PHBs; this is the responsibility of the vendor. Cisco implements queuing techniques that can base their PHB on the IP precedence or DSCP value in the IP header of a packet.

  • Page 259: Dscp-based Weighted Random Early Detection, Set Ip Dscp Command, Syntax Description

    IP precedence. These code points (CS1 through CS7) are identical to IP precedence values 1 through 7. ef indicates expedited forwarding. • default indicates best effort or DSCP 0. • For more information, see Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 260: Set Ip Dscp Command History, Usage Guidelines For The Set Ip Dscp Command

    However, you must specify the set ip dscp command to set the DSCP value in a packet header. The ip keyword is required. Class of Service Marking Class of service (CoS) marking enables the Cisco 10000 series router to interoperate with switches to deliver end-to-end QoS. The IEEE 802.1p standard enables the router to: •...

  • Page 261

    EtherType = 0x8100 PRI VLAN ID For CoS-based QoS, the Cisco 10000 series router uses the IP precedence bits in the IP header to give preference to higher-priority traffic. Layer 3 IP headers have a 1-byte Type of Service (ToS) field. The router uses the six most significant bits of this field (the differentiated services code point (DSCP) bits) to prioritize traffic.

  • Page 262: Qinq Class Of Service Marking, Set Cos Command, Syntax Description, Set Cos Command History

    Cisco IOS Release Description Release 12.0(16)BX This command was introduced on the PRE2 only. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was integrated in Cisco IOS Release 12.2(31)SB2 for the PRE3.

  • Page 263: Qos Group Marking, Set Qos-group Command, Syntax Description, Set Qos-group Command History

    Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Usage Guidelines for the set qos-group Command The set qos-group command allows you to associate a group ID with a packet. The group ID can be used later to classify packets into QoS groups as part of QoS policy propagation through the Border Gateway Protocol (QPPB).

  • Page 264: Atm Cell Loss Priority Marking, Set Atm-clp Command, Set Atm-clp Command History

    CLP bit set to 1 (discard) before discarding cells with a CLP bit setting of 0. You can set ATM CLP marking only on outbound packets. The Cisco 10000 series router does not support CLP bit matching.

  • Page 265: Qinq Mpls Experimental Marking, Set Mpls Experimental Imposition Command, Syntax Description

    The set mpls experimental command was introduced on the PRE1. Release 12.3(7)XI1 The set mpls experimental imposition command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 7-15 OL-7433-09...

  • Page 266: Usage Guidelines For The Set Mpls Experimental Imposition Command, Discard-class Marking, Set Discard-class Command

    Cisco IOS software replaced the set mpls experimental command with the set mpls experimental Note imposition command. However, the Cisco 10000 series router continues to use the set mpls experimental command for PRE1. For PRE2, the command is set mpls experimental imposition.

  • Page 267: Usage Guidelines For The Set Discard-class Command, Class-based Frame Relay De Bit Marking

    Cisco IOS Release Description Required PRE Release 12.2(31)SB22 This feature was introduced on the PRE3. PRE2, PRE3 Release 12.2(33)SB This feature was introduced on the PRE4. PRE2, PRE3, PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 7-17 OL-7433-09...

  • Page 268: Marking And Policing Traffic, Tunnel Header Marking

    P1, and outbound interface P2 is a tunnel. As a result, the router classifies traffic as it enters the router through interface P1 and marks the traffic as it leaves through interface P2. Cisco 10000 Series Router Quality of Service Configuration Guide 7-18...

  • Page 269: Feature History For Tunnel Header Marking, Restrictions And Limitations For Marking

    Frame Relay DE Bit Marking Restrictions In Cisco IOS Release 12.3(7)XI, when you enter the set ? command, the context-sensitive help lists • the fr-de keyword to allow you to set the Frame Relay discard eligibility (DE) bit. However, the router does not support setting the DE bit in Cisco IOS Release 12.3(7)XI and later releases.

  • Page 270: Interfaces Supporting Marking

    • Ethernet VLANs • IP tunnel • Virtual-access (See the “VAI QoS Inheritance” section on page 4-24.) The router supports the set command on inbound and outbound interfaces. Note Cisco 10000 Series Router Quality of Service Configuration Guide 7-20 OL-7433-09...

  • Page 271: Classification And Marking Design Guidelines, Recommended Values For Traffic Marking

    • Classification and Marking Design Guidelines The Cisco 10000 series router provides many tools for classifying and marking traffic. Your task is to determine how best to use these tools in your network environment. The following are guidelines to help you make good design choices for classification and marking tools: Classify and mark traffic as close to the ingress edge as possible.

  • Page 272: Configuring Traffic Marking, Configuring Ip Precedence Marking

    Router(config-pmap-c)# set ip precedence prec-value prec-value is the IP precedence value. Valid values are from 0 to 7. See Table 7-2 on page 7-4. Be sure you specify the ip keyword. Note Cisco 10000 Series Router Quality of Service Configuration Guide 7-22 OL-7433-09...

  • Page 273: Configuration Examples For Ip Precedence Marking And Classification

    Router(config)# class-map ip-prec Router(config-cmap)# match ip precedence 3 Router(config-cmap)# exit Router(config)# policy-map Second Router(config-pmap)# class ip-prec Router(config-pmap-c)# police 8000 4000 2000 conform-action transmit exceed-action drop violate-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 7-23 OL-7433-09...

  • Page 274: Configuring Ip Dscp Marking

    CS7) are identical to IP precedence values 1 through 7. • ef indicates expedited forwarding. • default indicates best effort or DSCP 0. For more information, see Table 7-4 on page 7-8. Cisco 10000 Series Router Quality of Service Configuration Guide 7-24 OL-7433-09...

  • Page 275: Configuration Examples For Ip Dscp Marking And Classification

    Platinum. All intermediate routers provide low-latency treatment to the Voice packets. Example 7-4 Configuring IP DSCP-Based Classification Router(config)# class-map Voice Router(config-cmap)# match ip dscp 5 Router(config-cmap)# exit Router(config)# policy-map Platinum Cisco 10000 Series Router Quality of Service Configuration Guide 7-25 OL-7433-09...

  • Page 276: Configuring Class Of Service Marking

    You can attach a service policy containing the set cos Note command to only an outbound VLAN interface. The router cannot apply the set cos command to inbound packets. Cisco 10000 Series Router Quality of Service Configuration Guide 7-26 OL-7433-09...

  • Page 277: Configuration Examples For Cos Marking And Classification

    Router(config-cmap)# match cos 3 Router(config-cmap)# exit Router(config)# policy-map Policy1 Router(config-pmap)# class Voice Router(config-pmap-c)# set ip dscp 8 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 4/0/0 Router(config-if)# service-policy output Policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 7-27 OL-7433-09...

  • Page 278: Configuring Qos Group Marking, Configuration Examples For Configuring Qos Group Marking And Classification

    Policy1. Example 7-7 Configuring QoS Group Marking Router(config)# class-map Group Router(config-cmap)# match cos 5 Router(config-cmap)# exit Router(config)# policy-map Policy1 Router(config-pmap)# class Group Router(config-pmap-c)# set qos-group 4 Cisco 10000 Series Router Quality of Service Configuration Guide 7-28 OL-7433-09...

  • Page 279: Setting The Atm Cell Loss Priority Bit

    CLP bit set to 1 before it discards packets with the CLP bit set to 0. Note To change the CLP bit back to 0, use the no set atm-clp command. Cisco 10000 Series Router Quality of Service Configuration Guide 7-29 OL-7433-09...

  • Page 280: Configuration Example For Setting The Atm Clp Bit

    Router(config)# class-map Class1 Router(config-cmap)# match access-group 100 Router(config-cmap)# exit Router(config)# policy-map Premium Router(config-pmap)# class Class1 Router(config-pmap-c)# set atm-clp Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/1 Router(config-if)# service-policy output Premium Cisco 10000 Series Router Quality of Service Configuration Guide 7-30 OL-7433-09...

  • Page 281: Configuring Mpls Experimental Marking

    Cisco 10000 Series Router Quality of Service Configuration Guide 7-31 OL-7433-09...

  • Page 282: Configuration Examples For Configuring Mpls Experimental Marking And Classification

    Router(config-pmap)# class mpls-exp Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 30 4000 2000 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface GigabitEthernet 1/0/0 Router(config-if)# mpls ip Router(config-if)# service-policy output Platinum Cisco 10000 Series Router Quality of Service Configuration Guide 7-32 OL-7433-09...

  • Page 283: Configuring Discard-class Marking

    Cisco 10000 Series Router Quality of Service Configuration Guide 7-33 OL-7433-09...

  • Page 284: Configuration Examples For Configuring Discard-class Marking And Classification

    Router(config-cmap)# exit Router(config)# policy-map Manhattan Router(config-pmap)# class Group1 Router(config-pmap-c)# police 8000 600 400 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router (config-pmap)# exit Router(config)# interface GigabitEthernet 2/0/1 Router(config-if)# service-policy output Manhattan Cisco 10000 Series Router Quality of Service Configuration Guide 7-34 OL-7433-09...

  • Page 285: Configuring Tunnel Header Marking Using The Set Command

    DSCP bits to 3. class-map match_ip match protocol ip policy-map Tunnel_Marking class match_ip set ip dscp tunnel 3 class class-default shape 64000 Cisco 10000 Series Router Quality of Service Configuration Guide 7-35 OL-7433-09...

  • Page 286: Configuring Tunnel Header Marking Using The Police Command

    In the example, the policer sets the DSCP bits to 4 for all conforming traffic belonging to the match_ip class. class-map match_ip match protocol ip policy-map Tunnel_Marking class match_ip police 8000 conform-action set-dscp-tunnel-transmit 4 class class-default shape 64000 Cisco 10000 Series Router Quality of Service Configuration Guide 7-36 OL-7433-09...

  • Page 287: Verifying Traffic Marking

    Marking Traffic Verifying Traffic Marking Verifying Traffic Marking The Cisco 10000 series router collects statistical information about the number of packets and bytes marked. To verify traffic marking, enter any of the following commands in privileged EXEC configuration mode: Command...

  • Page 288: Verification Examples For Traffic Marking

    8000 bps, 2000 limit, 4000 extended limit conformed 0 packets, 0 bytes; action: transmit exceeded 0 packets, 0 bytes; action: set-qos-transmit 4 violated 0 packets, 0 bytes; action: drop QoS Set precedence 5 Cisco 10000 Series Router Quality of Service Configuration Guide 7-38 OL-7433-09...

  • Page 289

    Output queue: 0/64; 0/0 packets/bytes output, 0/0 drops Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.

  • Page 290

    Release 12.2 Part 1: Classification > Configuring Class-Based Packet Marking MPLS Experimental Marking Cisco IP Solution Center, 3.0: Quality of Service Management User Guide, Release 3.0 Quality of Service Concepts > MPLS Experimental Values Service Provider Quality of Service Design Guide...

  • Page 291: Low-latency Priority Queuing

    The more traffic in a stream, the larger its share of the link bandwidth. Packets arriving first are the first packets out of the queue, regardless of the packet type. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 292: Feature History For Low-latency Priority Queuing

    Using priority queuing, delay-sensitive data receives preferential treatment over other traffic. In all releases prior to Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, low-latency priority queuing (LL/PQ) and bandwidth reservation together enabled you to provide differentiated services (DiffServ).

  • Page 293: Bandwidth Starvation, Multi-level Priority Queues

    In Cisco IOS Release 12.3(7)XI and later releases, the router allocates the bandwidth you specify in the police command to the priority queue before it allocates bandwidth to the other queues on the link. As a result, the amount of bandwidth allocated to the other queues is based on the bandwidth remaining after the priority queue receives its bandwidth allocation.

  • Page 294: Feature History For Multi-level Priority Queues, Child Service Policy Allowed Under Priority Class

    Cisco 10000 series router for the PRE3. Child Service Policy Allowed Under Priority Class The Cisco 10000 series router supports the Child Service Policy Allowed Under Priority Class feature in Cisco IOS Release 12.2(31)SB2. This feature allows you to attach a child policy with non-queuing features to a priority class.

  • Page 295: Queues Per Policy Map, Restrictions And Limitations For Priority Queuing, Restrictions For Multi-level Priority Queues

    You cannot configure the shape command and multi-level priority queuing on the same class. For • example, the router rejects the following configuration: policy-map P1 class C1 priority level 1 shape average 56000 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 296: Configuring A Priority Queue

    Configures traffic policing and allows you to configure a rate Router(config-pmap-c)# police [cir] bps [bc burst-normal] {pir pir} [be burst-excess] for the priority queue. [conform-action action [exceed-action action For more information, see Chapter 6, “Policing Traffic.” [violate-action action]]] Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 297: Configuring Multi-level Priority Queues

    Valid values are 1 (high priority) and 2 (low priority). Default: 1 Do not specify the same priority level for two Note different classes in the same policy map. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 298

    (Optional) pir pir is the peak information rate (PIR) expressed as a percentage. The pir pir option indicates the rate at which the second token bucket is updated. Valid values are from 1 to 100. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 299: Configuration Examples For Configuring Priority Queues, Example

    Example 8-2 Priority Queue with Bandwidth Percentage Router(config)# class-map Class1 Router(config-cmap)# match ip dscp ef Router(config)# policy-map Premium Router(config-pmap)# class Class1 Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 25 Router(config-pmap)# class Class2 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 300: Configuring Multi-level Priority Queues: Example, Unacceptable Mpq Configurations: Examples

    Router(config)# policy-map Map1 Router(config-pmap)# class Bronze Router(config-pmap-c)# priority level 1 Router(config-pmap-c)# police percent 30 Router(config-pmap-c)# exit Router(config-pmap)# class Gold Router(config-pmap-c)# priority level 1 Router(config-pmap-c)# police 10000 Cisco 10000 Series Router Quality of Service Configuration Guide 8-10 OL-7433-09...

  • Page 301: Verifying And Monitoring Priority Queues, Verification Examples For Priority Queues, Verifying A Priority Queue: Example

    Verifying and Monitoring Priority Queues Verifying and Monitoring Priority Queues The Cisco 10000 series router collects statistical information about the current priority queue length, and the number of packets and bytes transmitted and dropped. To verify and monitor the contents of the priority queue (such as queue depth and the first packet...

  • Page 302: Verifying Multi-level Priority Queues: Example

    5 minute offered rate 0 bps, drop rate 0 bps Match: ip precedence 2 Priority: 0 kbps, burst bytes 1500, b/w exceed drops: 0 Priority Level 2: 0 packets, 0 bytes Cisco 10000 Series Router Quality of Service Configuration Guide 8-12 OL-7433-09...

  • Page 303

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 304

    Chapter 8 Prioritizing Services Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 8-14 OL-7433-09...

  • Page 305

    Deploying policing and shaping throughout your network helps to ensure that a packet, or data source, conforms to the QoS policies contracted for it. The Cisco 10000 series router supports traffic policing and shaping. This chapter describes traffic shaping and includes the following topics: Traffic Shaping, page 9-2 •...

  • Page 306: Traffic Shaping

    The Cisco 10000 series router’s traffic shaping algorithm is not based on the token bucket model. Therefore, the concepts of committed burst (Bc) and excess burst (Be) are not applicable. Because shaping does not use token buckets, the router cannot gather shaping statistics.

  • Page 307: Feature History For Traffic Shaping, Class-based Traffic Shaping

    Moreover, you can configure up to 64 discrete classes in a service policy. Configure class-based weighted fair queueing (CBWFQ) inside generic traffic shaping—CBWFQ • allows you to specify the exact amount of bandwidth to be allocated for a specific class of traffic. Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 308: Feature History For Class-based Traffic Shaping, System Limits For Class-based Shaping

    PRE3 System Limits for Class-Based Shaping Table 3-1 on page 3-2 lists the system limits for policy maps supported on the Cisco 10000 series router. Restrictions and Limitations for Class-Based Shaping • A single policy map can be attached to multiple interfaces concurrently. If you attempt to attach a...

  • Page 309: Feature History For Hierarchical Shaping, Vp-level Shaping, Vc-level Shaping, Shaped Ubr Pvcs

    Prior to Cisco IOS Release 12.3(7)XI2, you could configure shaped unspecified bit rate (UBR) PVCs only when the no atm pxf queuing command is configured. In Cisco IOS Release 12.3(7)XI2 and later releases, you can configure shaped UBR PVCs when the atm pxf queuing command is configured.

  • Page 310: How Hierarchical Shaping Works

    The number of VCs the OC-12 line card supports is up to one-half of the VC scaling limit of 16,384 • VCs. Cisco IOS software counts each UBR-PVC above 299,520 as two VCs. Therefore, the active VC count must be maintained at the following: 16,384 >...

  • Page 311: Hierarchical Shaping And Oversubscription, Active Atm Vcs

    Active VCs on ATM Line Cards Line Card Maximum VCs per Port Maximum VCs per Module VBR, CBR, Shaped UBR VCs E3/DS3 4,096 32,768 28,672 OC-3 8,192 32,768 28,672 OC-12 16,384 16,384 16,384 Cisco 10000 Series Router Quality of Service Configuration Guide OL-7433-09...

  • Page 312: Restrictions And Limitations For Hierarchical Shaping, Percentage-based Traffic Shaping, History For The Percentage-based Shaping Feature

    Shaping Traffic Traffic Shaping Restrictions and Limitations for Hierarchical Shaping The Cisco 10000 series router supports a maximum of 31,500 VCs when hierarchical shaping is • enabled. You can configure a maximum of 127 VP tunnels for each ATM line card, configured across the •...

  • Page 313: Feature History For Frame Relay Traffic Shaping, Restrictions And Limitations For Frame Relay Traffic Shaping

    Restrictions and Limitations for Frame Relay Traffic Shaping • Frame Relay traffic shaping applies only to Frame Relay PVCs. Configuration Commands for Traffic Shaping The following commands are used to configure class-based and hierarchical shaping (see the Cisco IOS command reference documentation): • shape •...

  • Page 314: Differences Between Traffic Shaping Mechanisms, Bandwidth And Traffic Shaping

    Use the show policy-map interface command to display the actual bandwidth. The bandwidth percentage is based on the interface bandwidth. In a hierarchical policy, the bandwidth percentage is based on the nearest parent shape rate. Cisco 10000 Series Router Quality of Service Configuration Guide 9-10 OL-7433-09...

  • Page 315: Differences Between Shaping And Policing, Advantages And Disadvantages Of Shaping And Policing For Bandwidth Limiting

    Can introduce delay resulting from queuing (especially when deep queues are used). – Policing • – Drops excess packets (when configured), throttles TCP window sizes, and reduces the overall output rate of affected traffic streams. Cisco 10000 Series Router Quality of Service Configuration Guide 9-11 OL-7433-09...

  • Page 316: Modifying The Vc Weight And The Vp Shaping Parameters, Example Scenarios Of Traffic Shaping Usage

    Modifying the VC Weight and the VP Shaping Parameters In Cisco IOS Release 12.3(7)XI1, when you change the weight of a VC or the VP shaping parameters, the SAR mechanism brings down the VC or VP and the session goes down.

  • Page 317: Interfaces Supporting Traffic Shaping, Configuring Traffic Shaping

    Configuring Traffic Shaping To configure traffic shaping, perform the following configuration tasks: Shaping a Traffic Class, page 9-14 • Shaping Traffic at the VC-Level and Virtual Path-Level, page 9-15 • Cisco 10000 Series Router Quality of Service Configuration Guide 9-13 OL-7433-09...

  • Page 318: Shaping A Traffic Class

    Do not specify the output or input keywords. Note For more information, see Chapter 13, “Defining QoS for Multiple Policy Levels.” Cisco 10000 Series Router Quality of Service Configuration Guide 9-14 OL-7433-09...

  • Page 319: Shaping Traffic At The Vc-level And Virtual Path-level

    Creates an ATM permanent virtual circuit (PVC) and enters ATM Router(config-if)# pvc vpi/vci virtual circuit configuration mode. vpi is the virtual path identifier. vci is the virtual channel identifier. Cisco 10000 Series Router Quality of Service Configuration Guide 9-15 OL-7433-09...

  • Page 320

    When the queues exhaust the buffer, packets are randomly dropped, which can cause the loss of critical system traffic. Cisco 10000 Series Router Quality of Service Configuration Guide 9-16 OL-7433-09...

  • Page 321: Configuration Example For Traffic Shaping At The Vc-level And The Vp-level, Verifying Traffic Shaping

    Displays the configuration of all of the classes configured in all Router# show policy-map interface of the policy maps that are attached to all of the router interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 9-17 OL-7433-09...

  • Page 322

    Router# show running-config [interface interface] currently configured in the running-config file, including any service policies attached to the interface. (Optional) interface interface is the type and number of the interface. Cisco 10000 Series Router Quality of Service Configuration Guide 9-18 OL-7433-09...

  • Page 323: Verification Examples For Traffic Shaping

    Length/Max Dequeues Drops class-default 0/32 pak-priority 0/32 VCCI 2517: ATM non-aggregated VC 1/233, VCD 4, Handle 4, Rate 50 kbps VCCI/ClassID ClassName Length/Max Dequeues Drops 0 2517/0 class-default 0/4096 Cisco 10000 Series Router Quality of Service Configuration Guide 9-19 OL-7433-09...

  • Page 324

    0 Output Packets Discarded, no channel 0 Output Packets Discarded, MRED 0 Output Packets Discarded, internal buffer exhaustion 0 Output Packets Discarded, Utopia RX errors 0 Output Packets Discarded, EPD Cisco 10000 Series Router Quality of Service Configuration Guide 9-20 OL-7433-09...

  • Page 325: Configuration Examples For Traffic Shaping, Configuration Example For Class-based Shaping, Configuration Examples For Hierarchical Shaping

    ATM5/0/0.1 point-to-point pvc 1/33 vbr-nrt 1000 256 encapsulation aal5mux ppp Virtual-Template1 queue-depth 288 256 interface ATM5/0/0.2 point-to-point pvc 1/34 vbr-nrt 1000 256 encapsulation aal5mux ppp Virtual-Template1 queue-depth 288 256 Cisco 10000 Series Router Quality of Service Configuration Guide 9-21 OL-7433-09...

  • Page 326

    288 256 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 327: Overhead Accounting Features

    C H A P T E R Overhead Accounting This chapter describes overhead accounting on the Cisco 10000 series router and contains the following topics: Overhead Accounting Features, page 10-1 • Configuration Commands for Overhead Accounting, page 10-5 • Subscriber Line Encapsulation Types, page 10-5 •...

  • Page 328: Feature History For Overhead Accounting, Atm Overhead Accounting

    AAL5 segmentation processing adds the additional overhead of the 5-byte cell headers, the AAL5 Common Part Convergence Sublayer (CPCS) padding, and the AAL5 trailer. For more information, see “Overhead Calculation on the Router” section on page 10-5. Cisco 10000 Series Router Quality of Service Configuration Guide 10-2 OL-7433-09...

  • Page 329: Mlp On Lns With Hqos And Atm Overhead Accounting, Hqos, Overhead Accounting

    With hierarchical policies, the parent shape value overrides the bandwidth received through the AVP or PPPoE tag. For more information on the MLP at LNS feature, see the “Configuring Multilink Point-to-Point Protocol Connections” chapter in the Cisco 10000 Series Router Software Configuration Guide at the following URL: http://www.cisco.com/en/US/docs/routers/10000/10008/configuration/guides/broadband/mlp.html...

  • Page 330: Traffic Shaping Overhead Accounting For Atm, Ethernet Overhead Accounting

    -63 bytes of overhead. Before applying shaping, the router calculates the overhead. Ethernet interfaces and subinterfaces support overhead accounting. Using the shape or bandwidth command, you can configure accounting per VLAN and per port. Cisco 10000 Series Router Quality of Service Configuration Guide 10-4 OL-7433-09...

  • Page 331: Configuration Commands For Overhead Accounting, Subscriber Line Encapsulation Types, Overhead Calculation On The Router

    + 2-byte protocol ID (0x8100) + 2-byte VID/CFI/PRIORITY + 2-byte length/type 802.3 6-byte destination MAC address + 6-byte source MAC address + 2-byte protocol ID (0x8000) AAL5 MUX plus 1483 8-byte AAL5 trailer Cisco 10000 Series Router Quality of Service Configuration Guide 10-5 OL-7433-09...

  • Page 332: Overhead Accounting And Hierarchical Policies

    Disabled on all classes in the child policy map without policing) Child class (priority with Disabled Disabled or enabled on all nonpriority classes policing) in the child policy map Cisco 10000 Series Router Quality of Service Configuration Guide 10-6 OL-7433-09...

  • Page 333: Restrictions And Limitations For Overhead Accounting, Configuring Overhead Accounting In A Hierarchical Policy

    Creates or modifies the child policy. Enters policy-map Router(config)# policy-map policy-map-name configuration mode. policy-map-name is the name of the child policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 10-7 OL-7433-09...

  • Page 334

    The name can be a maximum of 40 alphanumeric characters. Step 6 Configures or modifies the parent class-default class. Router(config-pmap)# class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-8 OL-7433-09...

  • Page 335

    Do not specify the input or output keywords when Note applying a child policy to a parent class-default class. Cisco 10000 Series Router Quality of Service Configuration Guide 10-9 OL-7433-09...

  • Page 336: Configuration Examples For Overhead Accounting, Enabling Atm Overhead Accounting

    2 police 20 class gaming bandwidth remaining percent 80 account dot1q aal5 snap-rbe-dot1q class class-default bandwidth remaining percent 20 account dot1q aal5 snap-rbe-dot1q policy-map subscriber_line class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-10 OL-7433-09...

  • Page 337: Enabling Atm Overhead Accounting On The Pre3 And Pre4 For Mlpolns

    18 bytes specified. The ethernet_ovrh policy map is attached to subinterface Gigabit Ethernet 1/0/0.100. policy-map ethernet_ovrh class class-default Cisco 10000 Series Router Quality of Service Configuration Guide 10-11 OL-7433-09...

  • Page 338: Enabling Ethernet Overhead Accounting On The Pre3 And Pre4, Verifying Overhead Accounting

    This mismatch occurs because the classification byte count does not consider overhead, whereas the queuing features do consider overhead. Cisco 10000 Series Router Quality of Service Configuration Guide 10-12 OL-7433-09...

  • Page 339: Verification Examples For Overhead Accounting, Verifying Atm Overhead Accounting Using Show Policy-map

    100 packets, 1000 bytes 30 second offered rate 800 bps, drop rate 0 bps Match: any shape (average) cir 154400, bc 7720, be 7720 target shape rate 154400 overhead accounting: enabled Cisco 10000 Series Router Quality of Service Configuration Guide 10-13 OL-7433-09...

  • Page 340: Verifying Overhead Accounting Using Show Running-config, Verifying Ethernet Overhead Accounting With User-defined Option

    200000 (bps) account user-defined 18 Router# show policy-map interface GigabitEthernet1/0/0.100 GigabitEthernet1/0/0.100 Service-policy output: ethernet_ovrh Class-map: class-default (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop rate 0 bps Match: any Cisco 10000 Series Router Quality of Service Configuration Guide 10-14 OL-7433-09...

  • Page 341

    (average) cir 200000, bc 800, be 800 target shape rate 200000 Overhead Accounting Enabled Related Documentation This section lists additional Cisco documentation for the features discussed in this chapter. When appropriate, paths to applicable sections are listed below the documentation title. Feature Related Documentation ATM overhead accounting Traffic Shaping Overhead Accounting for ATM, Release 12.2(31)SB2 feature...

  • Page 342

    Chapter 10 Overhead Accounting Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 10-16 OL-7433-09...

  • Page 343: Queue Scaling Limits

    For 32,000 VCs, the router would need to allocate a minimum of 64,000 queues. While Cisco IOS Release 12.3(7)XI1 adds support for up to 128,000 queues, a more effective use of these limited resources is to have the subinterfaces on a given main interface share the single system queue of the main interface.

  • Page 344: Queue Limit

    Managing Packet Queue Congestion Queue Limit In Cisco IOS Release 12.3(7)XI2, the subinterfaces on a given main interface share the single system queue of the main interface. This allows for 32,000 subinterfaces with a three-queue model that supports assured forwarding (AF) queues, expedited forwarding (EF) queues, and the default best effort (BE) queues.

  • Page 345

    • limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX, the router does not round the value Note to the nearest power of 2.

  • Page 346: Queue Limit Packet Buffers, Default Queue Limit And Packet Buffers, Queue-limit Command

    11-20. • Releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI—RED with queue-limit is not supported. As a workaround, configure RED with an unused IP precedence or DSCP level and define a maximum threshold that is larger than the default size the router calculated. By doing this, you force the router to increase the queue size to accommodate the larger threshold.

  • Page 347: Queue-limit Command History, Syntax Description, Default Behavior For The Queue-limit Command

    • limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX using the PRE2, and for Cisco IOS Note Release 12.2(31)SB2 and later releases using the PRE3, the router does not round the value to the nearest power of 2.

  • Page 348: Usage Guidelines For The Queue-limit Command, Queue Ids And Interface Queues, Reserved Qids

    11-4. Cisco IOS Release 12.2(16)BX does not require that you specify a queue limit value that is a power of 2; therefore, the router does not round the value to the nearest power of 2. Queue IDs and Interface Queues The router allocates queue IDs (QIDs) to interface queues.

  • Page 349: Queuing Outbound Traffic, Queuing Outbound Traffic On Atm Interfaces

    Queuing Outbound Traffic on ATM Interfaces On ATM interfaces, the Cisco 10000 series router creates one set of queues for all of the unspecified bit rate (UBR) PVCs and a separate set of queues for each variable bit rate (VBR) PVC. The following lists the queues the router creates: •...

  • Page 350: Controlling Congestion Using Tail Drop, Feature History For Tail Drop

    PRE3 Tail Drop and Random Early Detection The Cisco 10000 series router allows you to combine tail drop with another congestion control mechanism called random early detection (RED). RED does not replace tail drop, but rather complements it by dropping packets before the queue reaches its queue limit or maximum threshold. Tail drop occurs after the queue is already full, when the mean queue depth for RED exceeds the maximum threshold value and when the queue limit is reached.

  • Page 351: Controlling Congestion Using Random Early Detection, Feature History For Random Early Detection

    This feature was introduced on the PRE2. PRE2 Release 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This feature was introduced on the PRE3. PRE3 Cisco 10000 Series Router Quality of Service Configuration Guide 11-9 OL-7433-09...

  • Page 352: Random Early Detection And Queue Limit, Determining Packet Drop Probability

    To simultaneously configure RED and queue limit for a class in a policy map, the router must be running Note Cisco IOS Release 12.0(25)SX or later releases. In releases prior to Cisco IOS Release 12.0(25)SX, you can configure either the random-detect command or the queue-limit command, but not both commands at the same time.

  • Page 353: Recommended Settings For Red Drop Probability, Controlling Congestion Using Weighted Random Early Detection

    ATM CLP-based WRED on non-Layer2 VPN outbound ATM interfaces. CoS-based WRED—Configures a drop policy for WRED based on the specified class of service • (CoS) bit associated with the packet. Valid values are from 0 to 7. Cisco 10000 Series Router Quality of Service Configuration Guide 11-11 OL-7433-09...

  • Page 354: Feature History For Weighted Random Early Detection

    RED. This feature is DiffServ-compliant on the PRE3. Release 12.2(33)SB This feature was enhanced to support ATM cell loss PRE2, PRE3, priority-based WRED on the PRE2, PRE3 and PRE4. PRE4 Cisco 10000 Series Router Quality of Service Configuration Guide 11-12 OL-7433-09...

  • Page 355: Benefits Of Using Weighted Random Early Detection, How Wred Works, Wred Drop Mode

    Table 11-4 lists the commands used to enable the WRED drop modes. If you do not specify any arguments, WRED uses the default IP precedence in the WRED calculations. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-13 OL-7433-09...

  • Page 356: Wred Drop Profiles

    The behavior of these commands depends on the PRE installed in the router as the following describes: On the PRE2, the random-detect command specifies the default profile for the queue. • Cisco 10000 Series Router Quality of Service Configuration Guide 11-14 OL-7433-09...

  • Page 357

    A number that indicates the drop eligibility of a packet based on the discard-class. Valid values min-thresh-value max-thresh-value are from 0 to 7. mark-probability-denominator-value PRE3 and PRE4 random-detect discard-class discard-class-value min-thresh-value max-thresh-value mark-probability-denominator-value Cisco 10000 Series Router Quality of Service Configuration Guide 11-15 OL-7433-09...

  • Page 358

    1. Depends on a combination of factors, such as the number of queues on the router and packet heaps. Changes in the queue length and the number of classes per policy map also affect the number of interfaces on which policy maps can be applied. Cisco 10000 Series Router Quality of Service Configuration Guide 11-16...

  • Page 359: Wred Aggregate Drop Profiles

    WRED profile, the router collects the statistics as an aggregate for the unconfigured subclasses and displays the statistics in one line. The router maintains separate statistics for each random-detect command with a group of subclasses. Cisco 10000 Series Router Quality of Service Configuration Guide 11-17 OL-7433-09...

  • Page 360: Usage Guidelines For The Random-detect Command

    With the dscp-based keyword, WRED uses the DSCP value (that is, the first six bits of the IP type of service (ToS) byte) to calculate the drop probability. Cisco 10000 Series Router Quality of Service Configuration Guide 11-18 OL-7433-09...

  • Page 361: Minimum And Maximum Thresholds

    PRE2. On the PRE3, when you specify a WRED default drop profile for a Note queue, the same profile applies to all DSCP or precedence values. If you do not configure the default profile, the behavior is to tail drop. Cisco 10000 Series Router Quality of Service Configuration Guide 11-19 OL-7433-09...

  • Page 362: Wred And Queue Limit

    To simultaneously configure WRED and queue limit for a class in a policy map, the router must be Note running Cisco IOS Release 12.3(7)XI or later releases. In releases prior to Cisco IOS Release 12.3(7)XI, you can configure either the random-detect command or the queue-limit command, but not both commands at the same time.

  • Page 363: Average Queue Size And The Exponential Weight Constant, Interfaces Supporting Layer 3 Packet Drop Policies

    ** Requires a specific type of hierarchical policy. For more information, see the Chapter 13, “Defining QoS for Multiple Policy Levels.” The router supports the queue-limit and random-detect commands on outbound interfaces only. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-21 OL-7433-09...

  • Page 364: Restrictions And Limitations For Controlling Layer 3 Congestion

    – shape – For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, you cannot combine the • queue-limit command with the random-detect command. The router restricts the aggregate sum of queue limits to 1,048,576 (PRE1) or 4,194,304 (PRE2) •...

  • Page 365

    Each of the 64 DSCP values correspond to one of the four drop levels. When you configure the four unique drop precedence levels, all of the queues configured on an interface share the different levels. Cisco 10000 Series Router Quality of Service Configuration Guide 11-23 OL-7433-09...

  • Page 366: Configuring Layer 3 Queue Limit And Drop Policies

    Router(config-pmap-c)# bandwidth {bandwidth-kbps | percent percent} of available bandwidth) to be assigned to the class. The amount of bandwidth configured should be large enough to also accommodate Layer 2 overhead. Cisco 10000 Series Router Quality of Service Configuration Guide 11-24 OL-7433-09...

  • Page 367: Configuration Example For Controlling Packet Dropping By Setting A Queue Size

    • limit of two times the largest WRED maximum threshold value, rounded to the nearest power of 2. For Cisco IOS Release 12.2(15)BX and Release 12.2(16)BX, the router does not round the value Note to the nearest power of 2.

  • Page 368: Dropping Packets Based On A Differentiated Services Code Point

    Valid maximum threshold values are from the value of the minimum threshold to 16,384. (Optional) mark-prob is the drop rate. Valid values are from 1 to 65,535. The default value is 10. Cisco 10000 Series Router Quality of Service Configuration Guide 11-26 OL-7433-09...

  • Page 369: Configuration Example For Configuring Dscp-based Wred

    Router(config)# policy-map Business Router(config-pmap)# class Gold Router(config-pmap-c)# bandwidth 48 Router(config-pmap-c)# random-detect dscp-based Router(config-pmap-c)# random-detect dscp 8 24 40 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0 Router(config-if)# service-policy output Business Cisco 10000 Series Router Quality of Service Configuration Guide 11-27 OL-7433-09...

  • Page 370: Dropping Packets Based On Ip Precedence

    Valid maximum threshold values are from the value of the minimum threshold to 16,384. mark-probability-denominator-value (PRE2) or mark-prob (PRE3) is the drop rate. Valid values are from 1 to 65,535. The default value is 10. Cisco 10000 Series Router Quality of Service Configuration Guide 11-28 OL-7433-09...

  • Page 371: Configuration Example For Dropping Packets Based On Ip Precedence

    To drop packets based on the discard class, enter the following commands beginning in global configuration mode: Dropping packets based on the discard class requires Cisco IOS Release 12.3(7)XI or later releases Note (PRE2), or Cisco IOS Release 12.2(31)SB2 or later releases (PRE3).

  • Page 372: Configuration Example For Dropping Packets Based On Discard Class

    Router(config-pmap-c)# random-detect discard-class 5 500 1500 200 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 2/0/0 Router(config-if)# atm pxf queuing Router(config-if)# interface atm 2/0/0.2 point-to-point Router(config-subif)# pvc 1/81 Router(config-subif-atm-vc)# ubr 10000 Router(config-subif-atm-vc)# service-policy output Premium Cisco 10000 Series Router Quality of Service Configuration Guide 11-30 OL-7433-09...

  • Page 373: Dropping Packets Based On The Atm Cell Loss Priority

    To drop packets based on the ATM cell loss priority (CLP), enter the following commands beginning in global configuration mode: Note Dropping packets based on the CLP requires the PRE3 and Cisco IOS Release 12.2(33)SB, or a later release. Command...

  • Page 374: Verifying And Monitoring Layer 3 Packet Dropping

    Router(config-pmap)# exit Verifying and Monitoring Layer 3 Packet Dropping For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, the router maintains only the total random and tail drop statistics for all IP precedence levels. In Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, and later releases, the router maintains separate WRED drop statistics for each IP precedence, DSCP, and discard-class value.

  • Page 375

    Displays the rates at which each interface gets packets from the Router# show pxf cpu schedule forwarding engine. The show pxf commands are entered as show hardware pxf on the PRE1. Note Cisco 10000 Series Router Quality of Service Configuration Guide 11-33 OL-7433-09...

  • Page 376: Verification Example For Queue Size And Packet Dropping

    697908 packets, 41874480 bytes 5 minute rate 0 bps Output queue: 0/64; 697919/41875140 packets/bytes output, 0 drops Bandwidth : 71 kbps (Weight 1) Random-detect (precedence-based): Exponential weight: 9 (1/512) Cisco 10000 Series Router Quality of Service Configuration Guide 11-34 OL-7433-09...

  • Page 377: Verification Examples For Dscp-based Wred

    Default 1/10 Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Output queue: 0/4096; 0/0 packets/bytes output, 0 drops Cisco 10000 Series Router Quality of Service Configuration Guide 11-35 OL-7433-09...

  • Page 378: Verification Example For Ip Precedence-based Wred

    Random-detect (precedence-based): Exponential weight: 9 (1/512) Current average queue length: 0 packets ----------------------------------------------------------------------- Mark Rand-Drops Tail-Drops precedence thres thres probability ----------------------------------------------------------------------- 2048 4096 1/10 2304 4096 1/10 2560 4096 1/10 Cisco 10000 Series Router Quality of Service Configuration Guide 11-36 OL-7433-09...

  • Page 379: Verification Example For Discard-class-based Wred

    Discard Mark Rand-Drops Tail-Drops class thres thres probability --------------------------------------------------------------- 1/40 1/40 2560 4096 1/10 2816 4096 1/10 3072 4096 1/10 3328 4096 1/10 3584 4096 1/10 3840 4096 1/10 Cisco 10000 Series Router Quality of Service Configuration Guide 11-37 OL-7433-09...

  • Page 380: Verification Examples For Atm Clp-based Wred

    Example 11-7 shows sample output for the show policy-map interface command when ATM CLP-based WRED is configured on a Cisco 10000 series router with a PRE3. The output shows the threshold values configured for CLP 1. Example 11-12 Displaying ATM CLP-Based WRED Statistics (PRE3)

  • Page 381: Controlling Packet Flow On Layer 2 Queues

    66 and the maximum threshold is 70, increase the maximum threshold to 72 to increase the spread. To reduce latency, decrease the maximum threshold. • • To increase the number of queues, increase the maximum threshold. Cisco 10000 Series Router Quality of Service Configuration Guide 11-39 OL-7433-09...

  • Page 382: Configuring The Depth Of Layer 2 Queues, Related Documentation

    15-38. Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 383

    Part 2: Congestion Management > Configuring Weighted Fair Queuing > Class-Based Weighted Fair Queuing Configuration Task List Random Early Detection with Queue-Limit Release Notes for the Cisco 10000 Series Internet Router for Cisco IOS Release 12.0(25)SX New Features in Cisco IOS Release 12.0(25)SX > Random...

  • Page 384

    Chapter 11 Managing Packet Queue Congestion Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 11-42 OL-7433-09...

  • Page 385: Class-based Weighted Fair Queuing

    To provide consistent response time to heavy and light traffic without adding excessive bandwidth, the Cisco 10000 series router provides a queuing technique called Class-Based Weighted Fair Queuing (CBWFQ). This technique reduces response time for real-time traffic and fairly shares the remaining bandwidth between high bandwidth flows.

  • Page 386

    Enabling CBWFQ on a physical interface overrides the default interface queuing method. Enabling CBWFQ on an ATM permanent virtual circuit (PVC) does not override the default queuing method. Cisco 10000 Series Router Quality of Service Configuration Guide 12-2 OL-7433-09...

  • Page 387: Feature History For Class-based Weighted Fair Queuing, Class-default Class, Cbwfq And Bandwidth Allocation

    (excess) bandwidth among the packets remaining in the class queues. For more information about distributing bandwidth across class queues, including how bandwidth is calculated, see Chapter 5, “Distributing Bandwidth Between Queues.” Cisco 10000 Series Router Quality of Service Configuration Guide 12-3 OL-7433-09...

  • Page 388: Cbwfq And Rsvp, Restrictions And Limitations For Cbwfq

    You can also specify the queue limit for a class to indicate the maximum number of packets allowed to accumulate in the queue for the class. Packets belonging to a class are subject to the queue limits that characterize the class. Cisco 10000 Series Router Quality of Service Configuration Guide 12-4 OL-7433-09...

  • Page 389: Feature History For Cbwfq For Vais, Service Policy Inheritance

    You can only apply a service policy with queuing-related actions to a VC. Do not apply service policies with CBWFQ actions to a VAI using a virtual template. The Cisco 10000 router supports queuing only when you apply the service policy to a VC.

  • Page 390: Restrictions And Limitations For Cbwfq For Vais, System Limits For Cbwfq

    • Cisco IOS Release 12.2(25)SX does not support the configuration of broadband aggregation (BBA) groups using RADIUS. You must configure BBA groups manually. You can only apply a QoS policy with queuing-related actions to a VC. Do not apply service policies •...

  • Page 391: Interfaces Supporting Class-based Weighted Fair Queuing, Configuring Fair Bandwidth Sharing During Congestion

    Modifying the Bandwidth for an Existing Policy Map Class, page 12-16 • Modifying the Queue Limit for an Existing Policy Map Class, page 12-17 • Deleting Classes, page 12-17 • Deleting Policy Maps, page 12-18 • Cisco 10000 Series Router Quality of Service Configuration Guide 12-7 OL-7433-09...

  • Page 392: Defining Traffic Classes Using Class Maps, Configuration Example For Defining Traffic Classes Using Class Maps

    20000 Router(config)# access-list 102 permit udp host 10.10.10.10 host 10.10.10.20 range 53000 56000 Router(config)# class-map class1 Router(config-cmap)# match access-group 101 Router(config-cmap)# class-map class2 Router(config-cmap)# match access-group 102 Router(config-cmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-8 OL-7433-09...

  • Page 393: Configuring Policy Actions For Traffic Classes Using Policy Maps, Configuring A Default Traffic Class Policy

    Valid values are from 1 to 99. Cisco 10000 Series Router Quality of Service Configuration Guide 12-9 OL-7433-09...

  • Page 394

    512 packets is dropped when the average queue is at the maximum threshold. Valid values are from 1 to 65536. The default is 10 (1 out of every 10 packets is dropped at the maximum threshold). Cisco 10000 Series Router Quality of Service Configuration Guide 12-10 OL-7433-09...

  • Page 395: Configuring A Class Policy And Dropping Packets Using Tail Drop

    1 to 64. The default number of queue entries is based on the bandwidth rate. When you specify the queue-limit command, the router Note uses tail drop to drop packets. Cisco 10000 Series Router Quality of Service Configuration Guide 12-11 OL-7433-09...

  • Page 396: Configuring A Class Policy And Dropping Packets Using Wred

    Step 2 Assigns a traffic class to a policy map. Enters policy-map class Router(config-pmap)# class class-map-name configuration mode. class-map-name is the name of a previously configured class map. Cisco 10000 Series Router Quality of Service Configuration Guide 12-12 OL-7433-09...

  • Page 397

    WRED to drop packets, not tail drop. If you configure a class to use WRED, you must ensure that WRED is not configured on the interface to which you intend to attach the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 12-13 OL-7433-09...

  • Page 398

    Router(config-pmap-c)# bandwidth 1000 Router(config-pmap-c)# random-detect Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0 Router(config-if)# atm pxf queuing Router(config-if)# interface atm 1/0/0.1 point-to-point Router(config-subif)# range pvc 1/32 1/81 Router(config-subif-range-vc)# service-policy output policy1 Cisco 10000 Series Router Quality of Service Configuration Guide 12-14 OL-7433-09...

  • Page 399: Attaching Service Policies, Attaching A Service Policy To An Interface, Subinterface, Or Pvc

    Each interface can have only one policy attached for inbound packets and one policy attached for outbound packets. Example 12-4 Attaching a Service Policy to an Interface Router(config)# interface ethernet1/0/0 Router(config-if)# service-policy output policy1 Router(config-if)# interface serial1/0/1 Router(config-if)# service-policy output policy1 Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-15 OL-7433-09...

  • Page 400: Attaching A Service Policy To A Virtual Access Interface

    Note traffic classes configured in the policy map and attach the policy map to either a VC or to a virtual template interface (requires Cisco IOS Release 12.2(16)BX and later releases). Modifying the Bandwidth for an Existing Policy Map Class...

  • Page 401: Modifying The Queue Limit For An Existing Policy Map Class, Deleting Classes

    Deletes the class you specify. Router(config-pmap)# no class class-map-name class-map-name is the name of the traffic class you want to delete. This is the name of a previously configured class map. Cisco 10000 Series Router Quality of Service Configuration Guide 12-17 OL-7433-09...

  • Page 402: Deleting Policy Maps, Configuration Examples For Sharing Bandwidth Fairly

    Router(config-pmap-c)# priority Router(config-pmap-c)# police 560000 Router(config-pmap-c)# class video Router(config-pmap-c)# bandwidth 4560 Router(config-pmap-c)# class class-default Router(config-pmap-c) bandwidth 2560 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface ethernet1/0/1 Router(config-if)# service-policy output policy1 Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 12-18 OL-7433-09...

  • Page 403: Configuration Example For Configuring Cbwfq And Attaching A Policy To An Atm Subinterface

    4 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config-if)# interface atm7/0/1.1 point-to-point Router(config-subif)# ip unnumbered loopback1 Router(config-subif)# atm route-bridge ip Router(config-subif)# service-policy output map1 Router(config-subif)# range pvc 101/32 101/2031 Router(config-subif-atm-pvc)# encapsulation aal5snap Cisco 10000 Series Router Quality of Service Configuration Guide 12-19 OL-7433-09...

  • Page 404: Verifying And Monitoring Class-based Weighted Fair Queuing, Related Documentation

    Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.

  • Page 405

    Feature Related Documentation Class maps Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2 Part 8: Modular Quality of Service Command Line Interface > Configuring the Modular Quality of Service Command Line Interface > Modular QoS CLI Configuration Task List > Creating a Traffic Class Policy maps Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2...

  • Page 406

    Chapter 12 Sharing Bandwidth Fairly During Congestion Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 12-22 OL-7433-09...

  • Page 407

    C H A P T E R Defining QoS for Multiple Policy Levels In releases prior to Cisco IOS Release 12.0(22)S, you can specify QoS behavior at only one level. For example, to shape two outbound queues of an interface, you must configure each queue separately, defining only class-specific actions.

  • Page 408: Hierarchical Policies

    VTMS link. The router uses this QoS link to service the associated traffic independently of other traffic. For releases prior to Cisco IOS Release 12.0(25)SX, the router uses 128 discrete values between 64 kbps and 1 Gbps as multiqueue shape rates. Therefore, the sum of the nested policy shape rates you specify for an interface must be 64 kbps less than the total bandwidth of the interface.

  • Page 409: Feature History For Hierarchical Policies, Benefits Of Hierarchical Policies

    All types of hierarchical policies use the following components to provide multiple levels of QoS behavior: • Child Policy, page 13-4 • Parent Policy, page 13-4 • service-policy Command, page 13-5 Cisco 10000 Series Router Quality of Service Configuration Guide 13-3 OL-7433-09...

  • Page 410: Child Policy, Parent Policy

    You must configure the police command when creating hierarchical input policing policies; do not configure the shape command. Cisco 10000 Series Router Quality of Service Configuration Guide 13-4...

  • Page 411

    “Hierarchical Input Policing Policies” section on page 13-10. Note The router does not support nested and three-level hierarchical policies on inbound interfaces, and it does not support hierarchical input policing on outbound interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 13-5 OL-7433-09...

  • Page 412: Types Of Hierarchical Policies, Nested Hierarchical Policies

    Defining QoS for Multiple Policy Levels Types of Hierarchical Policies Types of Hierarchical Policies The Cisco 10000 series router supports the following types of hierarchical policies: Nested Hierarchical Policies, page 13-6 • Defines up to two levels of hierarchy. A nested policy can define a minimum bandwidth for each type of traffic on a virtual circuit and a maximum bandwidth for the virtual circuit’s total traffic.

  • Page 413: Restrictions And Limitations For Nested Hierarchical Policies

    64 kbps less than the total bandwidth of the interface. In Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, and later releases, the router allows oversubscription. For more information, see Chapter 15, “Oversubscribing Physical and Virtual Links.”...

  • Page 414

    The actual shape rate the router applies to the child traffic classes might differ from the rate you Note specify in the hierarchical policy. Use the show policy-map interface command to determine the actual shape rate applied. Cisco 10000 Series Router Quality of Service Configuration Guide 13-8 OL-7433-09...

  • Page 415: Restrictions And Limitations For Three-level Hierarchical Policies

    Example 13-2 Properly Defining Bottom-Level Child and Top-Level Parent Class Maps Router(config)# class-map Parent Router(config-cmap)# math ip precedence 1 2 3 Router(config)# class-map Child Router(config-cmap)# match ip precedence 2 3 Cisco 10000 Series Router Quality of Service Configuration Guide 13-9 OL-7433-09...

  • Page 416: Hierarchical Input Policing Policies

    100 packets and passes 400 packets. The traffic policer in the policy_map_level2 policy then evaluates the 400 packets it receives, drops 200, and transmits the remaining 200 packets. Cisco 10000 Series Router Quality of Service Configuration Guide 13-10 OL-7433-09...

  • Page 417: Restrictions And Limitations For Hierarchical Input Policing Policies, Hierarchical Policies And Oversubscription

    Hierarchical Policies and Oversubscription For releases prior to Cisco IOS Release 12.0(25)SX and Release 12.3(7)XI, the router does not allow oversubscription of interfaces. If you oversubscribe hierarchical policies, instead of reducing the shape...

  • Page 418: Applying Child Policies Under Priority Classes, Interfaces Supporting Hierarchical Policies

    Applying Child Policies Under Priority Classes Applying Child Policies Under Priority Classes The Cisco 10000 series router allows you to apply a child policy with non-queuing features under a priority class in Cisco IOS Release 12.2(31)SB2 and later releases. In a three-level hierarchical policy, the priority class to which you attach the child policy must be in the middle-level policy.

  • Page 419: Guidelines For Configuring Qos For Multiple Queues, Configuring Qos For Multiple Queues

    Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-13 OL-7433-09...

  • Page 420

    Example 13-3 Creating Fair Queues at Two Levels of Hierarchy Router(config)# policy-map Bottom-Child Router(config-pmap)# class Bronze Router(config-pmap-c)# bandwidth percent 50 Router(config-pmap-c)# exit Router(config-pmap)# policy-map Top-Parent Router(config-pmap)# class class-default Router(config-pmap-c)# shape 1000 Router(config-pmap-c)# service-policy Bottom-Child Cisco 10000 Series Router Quality of Service Configuration Guide 13-14 OL-7433-09...

  • Page 421: Creating Fair Queues At Three Levels Of Hierarchy

    Traffic Marking Actions Action Description atm-clp Sets the ATM cell loss priority (CLP) bit to 1. Sets the IEEE 802.1P class of service bits in the user priority field. Cisco 10000 Series Router Quality of Service Configuration Guide 13-15 OL-7433-09...

  • Page 422: Configuring A Middle-level Child Policy Of A Three-level Hierarchy

    Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-16 OL-7433-09...

  • Page 423

    Marks any traffic that exceeds 10 percent with IP precedence 4 and then transmits the packet – During congestion, discards default packets with IP precedence level 1 before discarding other • packets Cisco 10000 Series Router Quality of Service Configuration Guide 13-17 OL-7433-09...

  • Page 424: Configuring The Top-level Parent Policy Of A Three-level Hierarchy

    Applies the middle-level child policy map to the parent Router(config-pmap-c)# service-policy policy-map-name class-default class. Do not specify an input or output keyword. policy-map-name is the name of a previously configured middle-level child policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-18 OL-7433-09...

  • Page 425: Policing Inbound Traffic At Two Levels Of Hierarchy

    Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously configured class map and is the traffic class for which you want to define QoS actions. Cisco 10000 Series Router Quality of Service Configuration Guide 13-19 OL-7433-09...

  • Page 426

    Applies the bottom-level child policy map to the parent Router(config-pmap-c)# service-policy policy-map-name class-default class. Do not specify an input or output keyword. policy-map-name is the name of a previously configured bottom-level child policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-20 OL-7433-09...

  • Page 427: Attaching Hierarchical Policies To Physical And Virtual Links

    QoS policy to outbound packets. You must specify the output keyword for nested policies and three-level hierarchical policies. policy-map-name is the name of a previously configured top-level parent policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 13-21 OL-7433-09...

  • Page 428: Configuration Examples For Nested Hierarchical Policies, Configuration Examples

    8000 kbps as specified by the shape command in the Parent class-default class. The hierarchical policy is attached to outbound ATM interface 1/0/0 using the service-policy command. Cisco 10000 Series Router Quality of Service Configuration Guide 13-22 OL-7433-09...

  • Page 429: Configuration Examples For Three-level Hierarchical Policies

    Router(config-pmap-c)# random-detect dscp 20 10 20 10 Router(config-pmap-c)# service-policy DefaultMeter [Applies bottom-level child policy.] Router(config-pmap-c)# exit Router(config-pmap)# policy-map Top-Level [Defines top-level parent policy.] Router(config-pmap)# class class-default Router(config-pmap-c)# shape 8000 Cisco 10000 Series Router Quality of Service Configuration Guide 13-23 OL-7433-09...

  • Page 430

    Router(config-pmap)# class Premium Router(config-pmap-c)# priority Router(config-pmap-c)# police 8000 6000 2000 conform-action transmit exceed-action drop Router(config-pmap-c)# exit Router(config-pmap)# class Business Router(config-pmap-c)# random-detect dscp-based Router(config-pmap-c)# random-detect dscp 40 10 20 10 Cisco 10000 Series Router Quality of Service Configuration Guide 13-24 OL-7433-09...

  • Page 431: Configuration Example For Hierarchical Input Policing

    Router(config-pmap-c)# service-policy Policy2 [Applies bottom-level child to parent.] Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface atm 1/0/0.10 point-to-point Router(config-subif)# pvc 101/102 Router(config-subif-atm-vc)# ubr 1000 Router(config-subif-atm-vc)# service-policy input Parentbps1 [Attaches parent to PVC.] Cisco 10000 Series Router Quality of Service Configuration Guide 13-25 OL-7433-09...

  • Page 432: Configuring Bandwidth-remaining Ratios On Atm Subinterfaces: Example, Configuring Bandwidth-remaining Ratios On Class Queues: Example

    40, and 60, respectively. policy-map child-policy class precedence_0 shape average 500000 bandwidth remaining ratio 20 <---- Class-level ratio class precedence_1 shape average 500000 bandwidth remaining ratio 40 <---- Class-level ratio Cisco 10000 Series Router Quality of Service Configuration Guide 13-26 OL-7433-09...

  • Page 433: Verifying The Configuration Of Hierarchical Policies

    Displays the configuration of all policy maps configured on the Router# show policy-map router. Displays the configuration of all classes configured for all policy Router# show policy-map interface maps attached to all interfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 13-27 OL-7433-09...

  • Page 434

    Displays the configuration of the interface you specify that is Router# show running-config interface interface currently configured in the running-config file, including any service policies attached to the interface. Cisco 10000 Series Router Quality of Service Configuration Guide 13-28 OL-7433-09...

  • Page 435: Verification Examples For Hierarchical Policies

    200000 bps, 2000 limit, 400000 pir, 3000 extended limit conformed 10727 packets, 1501780 bytes; action: set-dscp-transmit 59 exceeded 5353 packets, 749420 bytes; action: set-dscp-transmit 60 violated 0 packets, 0 bytes; action: drop Cisco 10000 Series Router Quality of Service Configuration Guide 13-29 OL-7433-09...

  • Page 436

    Router# Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 437

    Framework, Release 12.2(31)SB2 feature module Two-rate three-color policer Two-Rate Policer, Release 12.2(4)T3 feature module RFC 2698—“A Two Rate Three Color Marker”, J. Heinanen, T. Finland, G. Guerin, September 1999 Cisco 10000 Series Router Quality of Service Configuration Guide 13-31 OL-7433-09...

  • Page 438

    Chapter 13 Defining QoS for Multiple Policy Levels Related Documentation Cisco 10000 Series Router Quality of Service Configuration Guide 13-32 OL-7433-09...

  • Page 439: Simultaneous Qos Policy Map On An Interface And Ppp Session

    Simultaneous policy maps provide multiple levels of QoS hierarchy that can shape traffic at different points of congestion in the Layer 2 network. This chapter describes simultaneous policy maps on the Cisco 10000 series router and consists of the following topics: Simultaneous QoS Policy Map on an Interface and PPP Session, page 14-1 •...

  • Page 440: Feature History For Simultaneous Policy Maps, Qos Actions, Simultaneous Policies And Displaying Statistical Information

    BRAS when processing hierarchical input policies. Table 14-2 describes how the actions at one policy level affect the classification or actions at a subsequent policy level. Cisco 10000 Series Router Quality of Service Configuration Guide 14-2 OL-7433-09...

  • Page 441

    Valid as an input or output criteria on all interface and session types, and is unchanged by the policies. Therefore, the session-level policy does not influence the classification action of the interface-level policy. Cisco 10000 Series Router Quality of Service Configuration Guide 14-3 OL-7433-09...

  • Page 442: Restrictions For Simultaneous Policy Maps

    VLAN subinterface where the flat shaping policy must contain class-default class only. For more information on the Hierarchical Queueing for Ethernet DSLAM feature, see the QoS---Hierarchical Queueing for Ethernet DSLAMS guide. The session-level policy takes precedence over the interface policy. • Cisco 10000 Series Router Quality of Service Configuration Guide 14-4 OL-7433-09...

  • Page 443: Configuring Simultaneous Policy Maps, Configuring The Two Policy Maps

    QoS policies to any packets that do not belong to the classes defined in a policy map. class-map-name is the name of the class map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 14-5 OL-7433-09...

  • Page 444: Attaching Simultaneous Policies To Pppoe Sessions Traversing An Ethernet Interface

    Specifies the tunneling protocol that a virtual private dialup Router(config-subif)# protocol pppoe network (VPDN) subgroup is to use, in this case PPPoE. Step 3 Exits subinterface configuration mode. Router(config-subif)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 14-6 OL-7433-09...

  • Page 445: Attaching A Policy To An Ethernet Interface

    (VPDN) subgroup is to use, in this case PPPoE. Step 3 Attaches the specified policy map to the interface in the Router(config-if)# service-policy output policy-map-name outbound direction. policy-map-name is the name of a previously configured policy map. Cisco 10000 Series Router Quality of Service Configuration Guide 14-7 OL-7433-09...

  • Page 446: Attaching Simultaneous Policies To Pppoa Sessions Traversing An Atm Vc

    (VCIs). Valid values are from 32 to 65535. You must specify the slash mark (/). end-vci is the end value for a range of virtual channel identifiers (VCIs). Valid values are from 32 to 65535. Cisco 10000 Series Router Quality of Service Configuration Guide 14-8 OL-7433-09...

  • Page 447: Attaching A Policy To An Atm Vc With Pppoa Sessions

    Attaching a Policy to an ATM VC with PPPoA Sessions To attach a simultaneous policy to an ATM VC with PPPoA sessions, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 14-9 OL-7433-09...

  • Page 448

    The following example shows how to attach a simultaneous policy map named pppoa_output_policy to PVCs in the range of 42/101 to 42/110 on the multipoint ATM interface 3/0/0.42101: interface ATM3/0/0.42101 multipoint range pvc 42/101 42/110 vbr-nrt 2000 2000 1 Cisco 10000 Series Router Quality of Service Configuration Guide 14-10 OL-7433-09...

  • Page 449: Attaching Simultaneous Policies To Pppoe Sessions Traversing An Atm Vc

    Router(config-subif-atm-vc)# protocol pppoe network (VPDN) subgroup is to use, in this case PPPoE. Step 5 Exits ATM VC configuration mode. Router(config-subif-atm-vc)# exit Step 6 Exits subinterface configuration mode. Router(config-subif)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 14-11 OL-7433-09...

  • Page 450: Attaching A Policy To An Atm Vc With Pppoe Sessions

    Attaching a Policy to an ATM VC with PPPoE Sessions To attach a policy map to an ATM VC with PPPoE sessions, enter the following commands beginning in global configuration mode: Cisco 10000 Series Router Quality of Service Configuration Guide 14-12 OL-7433-09...

  • Page 451

    PVC range 81/801 to 81/810 on subinterface ATM 2/0/0.81801. interface ATM2/0/0.81801 multipoint range pvc 81/801 81/810 vbr-nrt 2000 2000 1 encapsulation aal5snap protocol pppoe group VRF_1 bba-group pppoe VRF_1 Cisco 10000 Series Router Quality of Service Configuration Guide 14-13 OL-7433-09...

  • Page 452: Configuration Examples For Simultaneous Policy Maps

    VRF_1 Interface Virtual-Template1 mtu 1492 ip address negotiated keepalive 30 ppp max-terminate 10 ppp max-failure 10 ppp lcp delay 1 ppp pap sent-username gomer1@domain1.com password 0 gomer Cisco 10000 Series Router Quality of Service Configuration Guide 14-14 OL-7433-09...

  • Page 453

    32000 4000 0 conform-action transmit exceed-action drop violate-action drop interface GigabitEthernet6/0/0 no ip address ! Interface policy named cbwfq_out_policy is applied to the GE interface. interface GigabitEthernet6/0/0.2 encapsulation dot1Q 2 Cisco 10000 Series Router Quality of Service Configuration Guide 14-15 OL-7433-09...

  • Page 454: Configuration Example For Applying Simultaneous Policies On 802.1q Interfaces And Pppoe Sessions

    GigabitEthernet3/0/0.10 encapsulation dot1Q 10 pppoe enable interface Virtual-Template1 ip unnumbered Loopback1 service-policy output pppoe_sess_output_policy service-policy input pppoe_sess_input_policy Interface interface GigabitEthernet3/0/0.10 encapsulation dot1Q 10 pppoe enable service-policy output pppoe_int_output_policy Cisco 10000 Series Router Quality of Service Configuration Guide 14-16 OL-7433-09...

  • Page 455: Configuration Example For Applying Simultaneous Policies On 802.1q Qinq Interfaces And Pppoe Sessions

    Virtual-Template1 ip unnumbered Loopback1 service-policy output pppoa_sess_output_policy service-policy input pppoa_sess_input_policy interface ATM3/0/0.42101 multipoint range pvc 42/101 42/110 vbr-nrt 2000 2000 1 encapsulation aal5mux ppp Virtual-Template1 service-policy output pppoa_int_output_policy Cisco 10000 Series Router Quality of Service Configuration Guide 14-17 OL-7433-09...

  • Page 456: Configuration Example For Applying Simultaneous Policies On Atm Vcs And Pppoe Sessions

    Displays statistical and configuration information about all of the Router# show policy-map configured policy maps. Displays statistical and configuration information about the Router# show policy-map policy-map-name policy map you specify. Cisco 10000 Series Router Quality of Service Configuration Guide 14-18 OL-7433-09...

  • Page 457: Verification Examples For Traffic Policing

    Displaying Simultaneous Policy Map Information for PTA Virtual Interfaces, page 14-21 • Displaying Simultaneous Policy Map Information for Virtual Access Interfaces, page 14-21 • Displaying Simultaneous Policy Map Information for a LAC Session, page 14-22 • Cisco 10000 Series Router Quality of Service Configuration Guide 14-19 OL-7433-09...

  • Page 458: Displaying Simultaneous Policy Map Information For Interfaces

    Input Policy owned by Virtual-Access3.3 [VCCI 3240] - 'prec-only': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 33000 prec3 prec2 class-default Cisco 10000 Series Router Quality of Service Configuration Guide 14-20 OL-7433-09...

  • Page 459: Displaying Simultaneous Policy Map Information For Pta Virtual Interfaces

    Input Policy inherited from GigabitEthernet6/0/0.2 [VCCI 2524] - 'parent1': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 1000 33000 class-default Cisco 10000 Series Router Quality of Service Configuration Guide 14-21 OL-7433-09...

  • Page 460: Displaying Simultaneous Policy Map Information For A Lac Session

    Input Policy owned by LAC Session traversing GigabitEthernet6/0/0.2 [VCCI 2529] - 'prec-only': Class Pkts Bytes Pkts Pkts Pkts Matched Matched Conformed Exceeded Violated ---------------- ----------- ------------ --------------- ----------- ----------- prec5 21978 prec3 prec2 class-default 44022 Cisco 10000 Series Router Quality of Service Configuration Guide 14-22 OL-7433-09...

  • Page 461

    To improve network utilization of otherwise underutilized shared networks, the Cisco 10000 series router offers oversubscription functionality. Oversubscription helps to offset infrastructure costs and is an integral part of networking topologies.

  • Page 462: Interface Oversubscription, Feature History For Interface Oversubscription

    In this way, instead of supporting only unconditional reservation of network bandwidth to VCs, the Cisco 10000 series router can statistically guarantee bandwidth to the VCs, thus improving network utilization.

  • Page 463: Restrictions And Limitations For Interface Oversubscription, Atm Virtual Circuit Oversubscription

    PRE3, the router gives each VC a share of the bandwidth based on the configured weight of the VC. In releases prior to Cisco IOS Release Cisco IOS Release 12.2(16)BX, a call admission check (CAC) prevented you from assigning more bandwidth to virtual circuits (VCs) than a port’s total bandwidth.

  • Page 464: Feature History For Atm Vc Oversubscription, Oversubscription Factor And Unspecified Bit Rate Virtual Circuits

    Therefore, by default the router allows unlimited oversubscription of UBR VCs. For releases prior to Cisco IOS Release 12.3(7)XI1, if you use unshaped (no PCR specified) UBR VCs, the router allocates bandwidth to the variable bit rate (VBR) and constant bit rate (CBR) VCs, and to the VP tunnels before allocating the remaining bandwidth to the unshaped UBR VCs.

  • Page 465: Atm Vc Oversubscription And Atm Line Cards, Atm Over-subscription-factor Command

    VC oversubscription to all ports of an ATM line card. Table 15-1 lists the number of active VCs the ATM line cards support in atm pxf queuing mode for Cisco IOS Release 12.3(7)XI2 and later releases.

  • Page 466: Atm Over-subscription-factor Command History, Syntax Description, Usage Guidelines For The Atm Over-subscription-factor Command

    As a result, some ports do not receive adequate resources, which results in VC creation failures. Unlike other Cisco routers, the Cisco 10000 series router uses the atm oversubscribe command in conjunction with the atm over-subscription-factor command to enable or disable oversubscription for a particular interface or tunnel.

  • Page 467: Restrictions And Limitations For Atm Vc Oversubscription, Frame Relay Pvc Oversubscription

    • Frame Relay PVC Oversubscription The Cisco 10000 series router supports the oversubscription of Frame Relay permanent virtual circuits (PVCs). Oversubscription enables a service provider to assign a total committed information rate (CIR) to a given PVC that is greater than the speed of the interface.

  • Page 468: Feature History For Frame Relay Pvc Oversubscription

    Release 12.3(7)XI1 The Frame Relay PVC oversubscription feature was PRE2 introduced on the PRE2. Release 12.2(28)SB This feature was integrated in Cisco IOS PRE2 Release 12.2(28)SB for the PRE2. Cisco 10000 Series Router Quality of Service Configuration Guide 15-8 OL-7433-09...

  • Page 469: Restrictions And Limitations For Frame Relay Pvc Oversubscription, Virtual Lan Oversubscription

    Virtual LAN Oversubscription The Cisco 10000 series router supports the oversubscription of IEEE 802.1Q virtual LANs (VLANs) to improve network utilization of otherwise underutilized shared networks by leveraging statistical multiplexing on 802.1Q networks. Because of the bursty nature of LAN traffic and the typical low utilization of Ethernet at the network edge, oversubscription is an appropriate solution for eliminating unused bandwidth on Ethernet networks.

  • Page 470: Oversubscription And Hierarchical Policies, Configuring Oversubscription

    To configure oversubscription on ATM, Frame Relay, and 802.1Q VLAN virtual circuits, perform any of the following configuration tasks: Oversubscribing ATM VBR-nrt VCs, page 15-11 • Oversubscribing Frame Relay PVCs, page 15-11 • Oversubscribing 802.1Q VLANs, page 15-17 • Cisco 10000 Series Router Quality of Service Configuration Guide 15-10 OL-7433-09...

  • Page 471: Oversubscribing Atm Vbr-nrt Vcs, Oversubscribing Frame Relay Pvcs

    To oversubscribe Frame Relay PVCs, perform one of the following configuration tasks: • Oversubscribing Frame Relay PVCs Using Hierarchical Policies, page 15-12 • Oversubscribing Frame Relay PVCs Using a Map Class, page 15-15 Cisco 10000 Series Router Quality of Service Configuration Guide 15-11 OL-7433-09...

  • Page 472: Oversubscribing Frame Relay Pvcs Using Hierarchical Policies

    In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the priority command has no arguments. To specify a bandwidth rate, use the police command. For more information, see Chapter 6, “Policing Traffic.” Cisco 10000 Series Router Quality of Service Configuration Guide 15-12 OL-7433-09...

  • Page 473

    For information about additional actions you can specify, see the “Types of QoS Actions” section on page 3-4. Step 5 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 15-13 OL-7433-09...

  • Page 474

    (Optional) ietf sets the encapsulation method to comply with the Internet Engineering Task Force (IETF) standard (RFC 1490). Use this keyword when connecting to another vendor’s equipment across a Frame Relay network. Cisco 10000 Series Router Quality of Service Configuration Guide 15-14 OL-7433-09...

  • Page 475: Oversubscribing Frame Relay Pvcs Using A Map Class

    Step 4 Exits policy-map class configuration mode. Router(config-pmap-c)# exit Step 5 Exits policy-map configuration mode. Router(config-pmap)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 15-15 OL-7433-09...

  • Page 476

    Step 6. Repeat Steps 11 and 12 for each DLCI to which you Note want to associate the map class. Cisco 10000 Series Router Quality of Service Configuration Guide 15-16 OL-7433-09...

  • Page 477: Oversubscribing 802.1q Vlans

    In Cisco IOS Release 12.0(25)S and Release 12.3(7)XI, and later releases, the priority command has no arguments. To specify a bandwidth rate, use the police command. For more information, see Chapter 6, “Policing Traffic.” Cisco 10000 Series Router Quality of Service Configuration Guide 15-17 OL-7433-09...

  • Page 478

    Creates or modifies the parent policy map. Enters Router(config)# policy-map policy-map-name policy-map configuration mode. policy-map-name is the name of the policy map. The name can be a maximum of 40 alphanumeric characters. Cisco 10000 Series Router Quality of Service Configuration Guide 15-18 OL-7433-09...

  • Page 479

    QoS policy to inbound packets. output indicates to apply the QoS policy to outbound packets. policy-map-name is the name of the parent policy map you want to attach. Cisco 10000 Series Router Quality of Service Configuration Guide 15-19 OL-7433-09...

  • Page 480: Configuration Example For Oversubscribing 802.1q Vlans, How The Router Determines Vc Weights

    On the PRE3, weight is applicable to VCs in VP tunnels and VCs not in a VP tunnel. In both cases, the weight affects the behavior of the VCs. The way in which the router determines the weight of a VC depends upon the Cisco IOS release running on the router.

  • Page 481: Feature History For Vc Weighting, Determining Vc Weighting—cisco Ios Release 12.0(17)sl To Release 12.3(7)xi1

    Determining VC Weighting—Cisco IOS Release 12.0(17)SL to Release 12.3(7)XI1 In Cisco IOS Release 12.0(17)SL to Cisco IOS Release 12.3(7)XI1, the router determines the weight of a particular VC in proportion to the speed of the VC. Without oversubscription, the router allocates bandwidth to each VC, up to the VC’s configured SCR.

  • Page 482: Determining Vc Weighting—cisco Ios Release 12.3(7)xi1 And Later Releases

    Determining VC Weighting—Cisco IOS Release 12.3(7)XI1 and Later Releases In Cisco IOS Release 12.3(7)XI1 and later releases, a weight parameter is used to control the number of cells for each VC that is sent into the virtual path (VP). You can configure this weight parameter directly for each VC using the weight command.

  • Page 483: Calculating The Default Weight Of A Vc—pre2, Calculating The Default Weight Of A Vc—pre3

    Because it is not practical to configure weights on some ATM VCs and not on others, either all of the Note VCs have VC weights configured or none of them do. A default weight of 1 is given to non-ATM subinterfaces with no weight assigned to them. Cisco 10000 Series Router Quality of Service Configuration Guide 15-23 OL-7433-09...

  • Page 484: Queue-depth Command, Syntax Description, Queue-depth Command History, Usage Guidelines For The Queue-depth Command, Weight Command

    Description Release 12.3(7)XI1 The queue-depth command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3. Usage Guidelines for the queue-depth Command Configure the SAR line card queue depths for each VC above the weight you configure for the VC.

  • Page 485: Weight Command History, Usage Guidelines For The Weight Command

    Description Release 12.3(7)XI1 The weight command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3. Usage Guidelines for the weight Command...

  • Page 486: Guidelines For Changing Watermark Values

    (ms). max_pktsize is the maximum packets size. VC_speed is the VC rate. The maximum packet size is calculated using the following formula: Cisco 10000 Series Router Quality of Service Configuration Guide 15-26 OL-7433-09...

  • Page 487: Restrictions And Limitations For Vc Weighting, Modifying The Vc Weight And The Vp Shaping Parameters

    Modifying the VC Weight and the VP Shaping Parameters In Cisco IOS Release 12.3(7)XI1, when you change the weight of a VC or the VP shaping parameters, the SAR mechanism brings down the VC or VP and the session goes down.

  • Page 488: Configuring Vc Weighting, Configuring Atm Vc Weighting, Configuration Example For Configuring Atm Vc Weighting

    10 for ATM PVC 1/32 on the ATM point-to-point subinterface 1/0/0.1. Example 15-6 Configuring ATM VC Weighting Router(config)# interface atm 1/0/0.1 point-to-point Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# weight 10 Cisco 10000 Series Router Quality of Service Configuration Guide 15-28 OL-7433-09...

  • Page 489: Configuring Vc Weighting Using A Vc Class Map

    Example 15-7 Configuring VC Weighting Using a VC Class Map Router(config)# vc-class atm Business Router(config-atm-vcc)# weight 20 Router(config-atm-vcc)# exit Router(config)# interface atm 1/0/0.1 Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# class-vc Business Cisco 10000 Series Router Quality of Service Configuration Guide 15-29 OL-7433-09...

  • Page 490: Configuring Vc Weighting On A Range Of Pvcs

    255 on the PVCs in the range of 1/32 to 1/00. Example 15-8 Configuring VC Weighting on a PVC Range Router(config)# interface atm 1/0/0.1 multipoint Router(config-subif)# range pvc 1/32 1/00 Router(config-if-atm-range)# weight 255 Cisco 10000 Series Router Quality of Service Configuration Guide 15-30 OL-7433-09...

  • Page 491: Configuring Vc Weighting On Subinterfaces Using A Bandwidth Remaining Ratio

    Configures the class-default class. Enters policy-map class Router(config-pmap)# class class-default configuration mode. The router interprets any features configured under Note the class-default class as aggregate features on the subinterface. Cisco 10000 Series Router Quality of Service Configuration Guide 15-31 OL-7433-09...

  • Page 492

    The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.

  • Page 493: Configuration Example For Configuring Vc Weighting On A Subinterface Using Bandwidth Remaining Ratio

    Child class precedence_0 bandwidth 100 class precedence_1 bandwidth 10000 policy-map Parent class class-default bandwidth remaining ratio 10 service-policy Child interface ATM2/0/3.200 point-to-point ip address 10.20.1.1 255.255.255.0 pvc 0/200 Cisco 10000 Series Router Quality of Service Configuration Guide 15-33 OL-7433-09...

  • Page 494: Configuring Vc Weighting On Class Queues Using Bandwidth Remaining Ratio

    Step 2 Configures the class map that you specify. Enters Router(config-pmap)# class class-map-name policy-map class configuration mode. class-map-name is the name of a previously created class map. Cisco 10000 Series Router Quality of Service Configuration Guide 15-34 OL-7433-09...

  • Page 495

    The router makes no distinction between interface types at the class level when using the default bandwidth-remaining ratio. On the Cisco 10000 series router the default bandwidth-remaining ratio value is 1. Repeat Steps 5 and 6 for each class queue you want Note to define.

  • Page 496

    The router distinguishes between interface types at the subinterface level when using default bandwidth-remaining ratios. On the Cisco 10000 series router the default ratio value is 1 for VLAN subinterfaces and Frame Relay DLCIs. For ATM subinterfaces, the router computes the default based on the subinterface speed.

  • Page 497: Configuration Example For Vc Weighting On A Class Queue Using Bandwidth Remaining Ratio

    1000000 bandwidth remaining ratio 100 <---- Subinterface-level ratio service-policy child_policy interface GigabitEthernet 1/0/0.10 encapsulation dot1q 10 service-policy output vlan10_policy interface GigabitEthernet 1/0/0.20 encapsulation dot1q 20 service-policy output vlan20_policy Cisco 10000 Series Router Quality of Service Configuration Guide 15-37 OL-7433-09...

  • Page 498: Configuring Vc Queue Depth, Configuration Example For Configuring Vc Queue Depth, Configuration Examples

    Configuration Example for Configuring the Weight of Multiple VCs, page 15-40 • Configuration Example for Configuring VC Weight Using a Bandwidth Remaining Ratio, • page 15-40 • Configuration Example for Setting High and Low Watermark Thresholds, page 15-41 Cisco 10000 Series Router Quality of Service Configuration Guide 15-38 OL-7433-09...

  • Page 499: Configuration Example For Oversubscribing A Shaped Atm Vc And Vp

    VCs get priority in the VP schedules in a congested state. In the example, a weight of 10 is configured for PVC 1/32 on ATM subinterface 1/0/0.1. Example 15-11 Configuring the Weight of an Individual VC Router(config)# interface atm 1/0/0.1 Router(config-subif)# pvc 1/32 Router(config-if-atm-vc)# weight 10 Cisco 10000 Series Router Quality of Service Configuration Guide 15-39 OL-7433-09...

  • Page 500: Configuration Example For Configuring The Weight Of Multiple Vcs

    10.18.100.1 255.255.255.0 pvc 18/100 vbr-nrt 100 100 50 encapsulation aal5snap service-policy output myParentPolicy Policy Map myParentPolicy Class class-default Average Rate Traffic Shaping cir 25% bandwidth remaining ratio 100 service-policy myChildPolicy Cisco 10000 Series Router Quality of Service Configuration Guide 15-40 OL-7433-09...

  • Page 501: Configuration Example For Setting High And Low Watermark Thresholds, Verifying Oversubscription And Vc Weighting

    (/), the VPI value defaults to 0. vci is the virtual channel identifier. Displays the total subscribed rate of all VCs on the port. Router# show controllers interface Cisco 10000 Series Router Quality of Service Configuration Guide 15-41 OL-7433-09...

  • Page 502: Verification Examples For Oversubscription And Vc Weighting

    Config. is ACTIVE Default Queue Depth settings: Rate Range High Watermark Low Watermark Kbps Cells Cells 0 - 4499 4500 - 40999 41000 - 99999 100000 - 622000 149760 - 149760* Cisco 10000 Series Router Quality of Service Configuration Guide 15-42 OL-7433-09...

  • Page 503: Verifying High And Low Watermarks On An Individual Vc

    - protocol ppp Virtual-Template1 - VC-class configured on vc ubr - no cdvt - queue depth high watermark 96 low watermark 80 - VC-class configured on vc Cisco 10000 Series Router Quality of Service Configuration Guide 15-43 OL-7433-09...

  • Page 504

    Related Documentation Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue. When appropriate, paths to applicable sections are listed below the documentation title.

  • Page 505

    In this way, time-sensitive real-time traffic remains intact and does not experience excessive delay. This chapter describes fragmentation and interleaving on the Cisco 10000 series router. It includes the following topics: •...

  • Page 506

    Data Voice Data The Cisco 10000 series router supports the following types of link fragmentation and interleaving (LFI): MLP over Serial-based LFI—Uses the fragmentation and interleaving capability of MLP to • integrate real-time packets (such as voice packets) and nonreal-time packets (such as data transfers) on the same link while reducing real-time packet latency.

  • Page 507: Feature History For Link Fragmentation And Interleaving

    The following features were introduced on the PRE3: MLP PRE3 over Serial-based LFI, MLP over Frame Relay-based LFI, Single-VC and Multi-VC MLP over ATM-based LFI, and PVC-based and Interface-based FRF.12 Fragmentation. Cisco 10000 Series Router Quality of Service Configuration Guide 16-3 OL-7433-09...

  • Page 508: System Limits For Link Fragmentation And Interleaving

    The multilink interface ranges described in Table 16-1 require Cisco IOS Release 12.2(28)SB and later Note releases. For releases prior to Cisco IOS Release 12.2(28)SB, the valid multilink interface range is 1 to 2,147,483,647. Cisco 10000 Series Router Quality of Service Configuration Guide 16-4...

  • Page 509: Configuration Commands For Mlp-based Fragmentation And Interleaving, Interface Multilink Command, Interface Multilink Command History

    • 1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases) – – 1 to 9999 and 65,536 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases) • Single-VC MLP over ATM-based LFI – 10,000 and higher (Cisco IOS Release 12.2(28)SB and later releases)

  • Page 510

    • 10,000 and higher – For releases prior to Cisco IOS Release 12.2(28)SB, the valid multilink interface range is 1 to 2,147,483,647. ppp multilink Command To enable Multilink PPP (MLP) on an interface, use the ppp multilink command in interface configuration mode.

  • Page 511: Ppp Multilink Fragment-delay Command

    The ppp multilink fragment-delay command was introduced on the PRE1. Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.

  • Page 512

    The ppp multilink interleave command was introduced on the PRE1. Release 12.2(16)BX This command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.

  • Page 513: Ppp Multilink Fragment Disable Command

    The no ppp multilink fragmentation command was recognized and accepted through Cisco IOS Release 12.2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.

  • Page 514: Ppp Multilink Group Command

    The multilink-group command was changed on the PRE2 to ppp multilink group. The multilink-group command was accepted by the command line interpreter through Cisco IOS Release 12.2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Release 12.2(31)SB2 This command was introduced on the PRE3.

  • Page 515: Multilink Ppp-based Link Fragmentation And Interleaving

    FTP packets are queued on slow links within the WAN. To solve delay problems on slow bandwidth links, the router supports link fragmentation and interleaving (LFI) based on the Cisco implementation of Multilink PPP (MLP), which supports the fragmentation and packet-sequencing specifications in RFC 1990.

  • Page 516: How Mlp-based Lfi Works

    MLP provides bandwidth on demand and reduces transmission latency across WAN links. To ensure correct order of transmission and reassembly, LFI adds multilink headers to the datagram fragments after the packets are dequeued and ready to be sent. Cisco 10000 Series Router Quality of Service Configuration Guide 16-12 OL-7433-09...

  • Page 517: Mlp Over Serial-based Lfi, Feature History For Mlp Over Serial-based Lfi

    OC-12 line card. The OC-12 does not require the hold-queue command. For example: Router(config-if)# hold-queue 4096 in For more information, see the “Scalability and Performance” chapter in the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide 16-13 OL-7433-09...

  • Page 518: Restrictions And Limitations For Mlp Over Serial-based Lfi

    We strongly recommend that you use only strict priority queues when configuring MLP over Serial-based LFI. For more information, see Chapter 8, “Prioritizing Services.” Line Card Support for MLP Over Serial-Based LFI The following line cards support MLP over serial-based LFI for the Cisco 10000 series router: • 24-port Channelized T1/E1 •...

  • Page 519: Feature History For Single-vc Mlp Over Atm-based Lfi

    Protocol Compression Minimum Fragment Size AAL5 MUX 82 Bytes AAL5 SNAP 78 Bytes AAL5 Cisco 80 Bytes AAL5 MUX 83 Bytes AAL5 SNAP 79 Bytes AAL5 Cisco 81 Bytes Cisco 10000 Series Router Quality of Service Configuration Guide 16-15 OL-7433-09...

  • Page 520: Mlp Bundle Interface And Service Policies

    (FIFO) queue. The nonreal-time packets are fragmented in the FIFO queue and then the real-time packets are interleaved between the fragments as the real-time packets exit their priority queue. Cisco 10000 Series Router Quality of Service Configuration Guide 16-16 OL-7433-09...

  • Page 521: Transmit Processing, Receive Processing

    PPP over ATM packets. During receive processing, the fragments that arrive out of order and the packets with missing fragments are discarded. Valid fragments are merged in memory until the entire packet is reassembled. Cisco 10000 Series Router Quality of Service Configuration Guide 16-17 OL-7433-09...

  • Page 522: Performance And Scalability For Single-vc Mlp Over Atm-based Lfi

    ATM-based LFI. For more information, see Chapter 8, “Prioritizing Services.” Line Card Support for MLP Over ATM-Based LFI The following line cards support MLP over ATM-based LFI for the Cisco 10000 series router: 8-Port E3/DS3 ATM • 4-Port OC-3/STM-1 ATM •...

  • Page 523: Multi-vc Mlp Over Atm-based Lfi, Feature History For Multi-vc Mlp Over Atm-based Lfi

    AAL5 encapsulation type used and whether or not protocol compression is enabled. For more information, see the “Fragment Size Calculation for MLP Over ATM-Based LFI” section on page 16-15. Cisco 10000 Series Router Quality of Service Configuration Guide 16-19 OL-7433-09...

  • Page 524: Performance And Scalability For Multi-vc Mlp Over Atm-based Lfi, Mlp Bundle Interface And Service Policies

    For Cisco IOS Release 12.2(28)SB and later releases, the valid multilink interface values are from • 1 to 9999. For Cisco IOS Release 12.2(31)SB2 and later releases, valid values are from 1 to 9999 and 65,536 to 2,147,483,647. All member links in a MLP bundle must have the same encapsulation type and bandwidth.

  • Page 525: Line Card Support For Mlp Over Atm-based Lfi, Mlp Over Frame Relay-based Lfi

    Fragmenting and Interleaving Real-Time and Nonreal-Time Packets Multilink PPP-Based Link Fragmentation and Interleaving Line Card Support for MLP Over ATM-Based LFI The following line cards support MLP over ATM-based LFI for the Cisco 10000 series router: 8-Port E3/DS3 ATM •...

  • Page 526: Receive Processing, Mlp Bundle Interface And Service Policies, Transmit Processing

    Relay encapsulated packet fragments into PPP over ATM packets. During receive processing, the fragments that arrive out of order and the packets with missing fragments are discarded. Valid fragments are merged in memory until the entire packet is reassembled. Cisco 10000 Series Router Quality of Service Configuration Guide 16-22 OL-7433-09...

  • Page 527: Fragment Size Calculation For Mlp Over Frame Relay-based Lfi

    Configure the hold-queue command in interface configuration mode for all Frame Relay physical • interfaces. For more information, see the “Performance and Scalability” chapter in the Cisco 10000 Series Router Broadband Aggregation, Leased-Line, and MPLS Configuration Guide. Cisco 10000 Series Router Quality of Service Configuration Guide 16-23 OL-7433-09...

  • Page 528: Restrictions And Limitations For Mlp Over Frame Relay-based Lfi, Configuring Mlp-based Lfi

    • Local Management Interface (LMI) traffic is not fragmented. • Cisco IOS software supports a maximum of 4096 total virtual template interfaces. • We strongly recommend that you use only strict priority queues when configuring MLP over Frame Relay-based LFI. For more information, see Chapter 8, “Prioritizing Services.”...

  • Page 529: Creating A Mlp Bundle Interface

    Specifies the IP address and subnet mask assigned to the Router(config-if)# ip address address mask interface. address is the IP address. mask is the subnet mask for the associated IP address. Cisco 10000 Series Router Quality of Service Configuration Guide 16-25 OL-7433-09...

  • Page 530

    The number you specify must be identical to the multilink-bundle-number you specified in Step 1. Cisco 10000 Series Router Quality of Service Configuration Guide 16-26 OL-7433-09...

  • Page 531: Enabling Mlp On A Virtual Template Interface

    Negative Acknowledgements (CONFNAKs) to permit before terminating a negotiation. retries is the maximum number of retries. Valid values are from 1 to 255. The default is 5 retries. We recommend 100 retries. Cisco 10000 Series Router Quality of Service Configuration Guide 16-27 OL-7433-09...

  • Page 532

    Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Router(config-if)# ppp timeout retry 5 Router(config-if)# keepalive 30 Router(config-if)# no ip address Router(config-if)# ip mroute-cache Router(config-if)# ppp authentication chap Router(config-if)# ppp multilink Router(config-if)# exit Cisco 10000 Series Router Quality of Service Configuration Guide 16-28 OL-7433-09...

  • Page 533: Configuring A Shaping Policy For Mlp Over Frame Relay-based Lfi

    4096 packets for all line cards. By default, the input queue is 75 packets and the output queue is 40 packets. in specifies the input queue. out specifies the output queue. Cisco 10000 Series Router Quality of Service Configuration Guide 16-29 OL-7433-09...

  • Page 534: Adding An Atm Member Link To A Mlp Bundle

    Router(config-if)# ppp multilink group group-number group-number is a nonzero number that identifies the multilink group. Valid values are from 1 to 9999 (Cisco IOS Release 12.2(28)SB and later releases) or from 1 to 9999 and 65,536 to 2,147,483,647 (Cisco IOS Release 12.2(31)SB2 and later releases).

  • Page 535

    AAL and encapsulation type that supports Inverse ARP. Logical Link Control/Subnetwork Access Protocol (LLC/SNAP) precedes the protocol datagram. virtual-template number is the number used to identify the virtual template. Cisco 10000 Series Router Quality of Service Configuration Guide 16-31 OL-7433-09...

  • Page 536

    Router(config-if)# ppp multilink Router(config-if)# ppp multilink fragment-delay 8 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 10000 Router(config-if)# exit Router(config)# interface virtual-template1 Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Cisco 10000 Series Router Quality of Service Configuration Guide 16-32 OL-7433-09...

  • Page 537: Adding A Frame Relay Member Link To A Mlp Bundle

    If you configure this command on the bundle and its member links, specify the same identifier for both the bundle and the member links. Cisco 10000 Series Router Quality of Service Configuration Guide 16-33 OL-7433-09...

  • Page 538

    DLCI 18 on the serial subinterface 3/0/1.1. Example 16-4 Adding Frame Relay Links to a MLP Bundle frame-relay switching class-map match-all voip match ip rtp 16384 1000 policy-map voip class voip priority Cisco 10000 Series Router Quality of Service Configuration Guide 16-34 OL-7433-09...

  • Page 539: Moving A Member Link To A Different Mlp Bundle

    If you configure this command on the bundle and its member links, specify the same identifier for both the bundle and the member links. Cisco 10000 Series Router Quality of Service Configuration Guide 16-35 OL-7433-09...

  • Page 540: Removing A Member Link From A Mlp Bundle

    Router(config-if)# no ppp multilink group group-number group-number identifies the multilink group. Step 3 Disables Multilink PPP for the link. Router(config-if)# no ppp multilink Step 4 Removes PPP authentication. Router(config-if)# no ppp chap hostname Cisco 10000 Series Router Quality of Service Configuration Guide 16-36 OL-7433-09...

  • Page 541: Frf.12 Fragmentation

    You can configure FRF.12 Fragmentation at the PVC or interface level. For more information, see the “PVC-Based FRF.12 Fragmentation” section on page 16-40 and the “Interface-Based FRF.12 Fragmentation” section on page 16-40. Cisco 10000 Series Router Quality of Service Configuration Guide 16-37 OL-7433-09...

  • Page 542: Feature History For Frf.12 Fragmentation, Frf.12 Over Multilink Frame Relay

    Example 16-7 Remove the Service Policy Before Removing the Map-Class. int mfr2001.1 no service-policy out mfr1 no frame-relay class mfr int mfr2001.1 frame-relay class mfr service-policy out mfr1 Cisco 10000 Series Router Quality of Service Configuration Guide 16-38 OL-7433-09...

  • Page 543: Frf.12 Fragmentation Inheritance, Frf.12 Fragmentation And Hierarchical Policies

    Router(config-cmap)# match ip precedence 1 Router(config)# policy-map policy_12_p0 Router(config-pmap)# class prec_q0 Router(config-pmap-c)# priority Router(config-pmap-c)# police 64000 Router(config-pmap-c)# class prec_q1 Router(config-pmap-c)# bandwidth percent 39 Router(config-pmap-c)# class prec_q2 Router(config-pmap-c)# bandwidth percent 4 Router(config)# policy-map policy_13 Cisco 10000 Series Router Quality of Service Configuration Guide 16-39 OL-7433-09...

  • Page 544: Pvc-based Frf.12 Fragmentation, Interface-based Frf.12 Fragmentation, Minimum Fragment Size For Frf.12 Fragmentation

    This section describes the commands that are used to configure FRF.12 Fragmentation. It includes the following commands: frame-relay fragment Command (Map-Class), page 16-41 • frame-relay fragment end-to-end Command (Interface), page 16-41 • Cisco 10000 Series Router Quality of Service Configuration Guide 16-40 OL-7433-09...

  • Page 545: Frame-relay Fragment Command (map-class), Frame-relay Fragment End-to-end Command (interface)

    Valid values are from 16 to 1600 bytes. There is no default fragment size. You must specify the fragment_size. If you do not, an error message Note displays. Cisco 10000 Series Router Quality of Service Configuration Guide 16-41 OL-7433-09...

  • Page 546: Performance And Scalability For Frf.12 Fragmentation, Prerequisites For Frf.12 Fragmentation

    16-39. • The router must be running Cisco IOS Release 12.0(27)S or Release 12.2(27)SBB, or later releases, and the appropriate processor card must be installed in the router chassis. Cisco IOS Release 12.0(27)S and later releases require the PRE1 processor card. Cisco IOS Release 12.2SBB and later releases require the PRE2.

  • Page 547: Restrictions And Limitations For Frf.12 Fragmentation

    Fragmenting and Interleaving Real-Time and Nonreal-Time Packets FRF.12 Fragmentation The Cisco 10000 series router does not require that you configure priority (low-latency) queuing to use Note interface-based fragmentation. However, the purpose of LFI is to reduce delay for priority traffic;...

  • Page 548: Configuring Pvc-based Frf.12 Fragmentation, Enabling Frf.12 Fragmentation On A Map Class

    Step 4 Disables Frame Relay adaptive traffic shaping. Router(config-map-c)# no frame-relay adaptive-shaping Cisco 10000 Series Router Quality of Service Configuration Guide 16-44 OL-7433-09...

  • Page 549: Attaching The Map Class

    The router applies the service policy configured in the map class to this main interface, any subinterfaces configured on the main interface, and any DLCIs configured on the subinterfaces. Cisco 10000 Series Router Quality of Service Configuration Guide 16-45 OL-7433-09...

  • Page 550

    4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Cisco 10000 Series Router Quality of Service Configuration Guide 16-46 OL-7433-09...

  • Page 551

    Router(config)# map-class frame-relay lfi_map_class Router(config-map-c)# service-policy output policy_13 Router(config-map-c)# frame-relay fragment 300 Router(config-map-c)# no frame-relay adaptive-shaping Router(config)# interface serial 5/0/0/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Cisco 10000 Series Router Quality of Service Configuration Guide 16-47 OL-7433-09...

  • Page 552

    This is the default encapsulation type. Step 6 Creates or modifies a serial interface or subinterface. Enters Router(config)# interface serial slot/module/port.T1#:channel.subinterface- interface or subinterface configuration mode. number [point-to-point] Cisco 10000 Series Router Quality of Service Configuration Guide 16-48 OL-7433-09...

  • Page 553

    Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Router(config-if)# encapsulation frame-relay Router(config)# interface serial 5/0/0/1:0.1 point-to-point Router(config-subif)# ip address 192.168.1.1 255.255.255.0 Router(config-subif)# no ip directed-broadcast Router(config-subif)# frame-relay interface-dlci 17 Cisco 10000 Series Router Quality of Service Configuration Guide 16-49 OL-7433-09...

  • Page 554

    Router(config-if)# interface serial slot/module/port.T1#:channel.subinterface- configuration mode. number [point-to-point] The point-to-point subinterface is used to establish a PVC connection to an interface on the remote end of the Frame Relay connection. Cisco 10000 Series Router Quality of Service Configuration Guide 16-50 OL-7433-09...

  • Page 555

    DLCIs is fragmented. However, because the service policy is applied directly on DLCI 17 and DLCI 18, only the traffic on those DLCIs is subject to the QoS actions defined in the service policy. Cisco 10000 Series Router Quality of Service Configuration Guide 16-51 OL-7433-09...

  • Page 556: Configuring A Hierarchical Policy And Pvc-based Frf.12 Fragmentation

    Define policy map actions for each class such as the action defined in Step 4. Be sure that you define only one traffic class as the priority class. Cisco 10000 Series Router Quality of Service Configuration Guide 16-52 OL-7433-09...

  • Page 557

    Router(config)# policy-map policy-map-name mode. policy-map-name is the name of the policy map. Step 2 Configures the class-default class in the parent policy. Enters Router(config-pmap)# class class-default policy-map class configuration mode. Cisco 10000 Series Router Quality of Service Configuration Guide 16-53 OL-7433-09...

  • Page 558

    Frame Relay frame that go into each fragment. This number excludes the Frame Relay header of the original frame. Valid values are from 16 to 1600 bytes. The default is 53 bytes. Cisco 10000 Series Router Quality of Service Configuration Guide 16-54 OL-7433-09...

  • Page 559

    (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Step 6 Creates or modifies a serial subinterface. Enters subinterface Router(config-if)# interface serial slot/module/port/T1#:channel configuration mode. subinterface-number [point-to-point] Cisco 10000 Series Router Quality of Service Configuration Guide 16-55 OL-7433-09...

  • Page 560

    Router(config-pmap-c)# priority Router(config-pmap-c)# police percent 10 Router(config-pmap-c)# class acl_102 Router(config-pmap-c)# bandwidth percent 30 Router(config-pmap)# policy-map outer_policy Router(config-pmap)# class class-default Router(config-pmap-c)# shape 768 Router(config-pmap-c)# service-policy qos_pq_cbwfq_0 Router(config)# map-class frame-relay PQ_FR_CLASS_0 Cisco 10000 Series Router Quality of Service Configuration Guide 16-56 OL-7433-09...

  • Page 561: Configuring Interface-based Frf.12 Fragmentation

    4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type. This is the default encapsulation type. Cisco 10000 Series Router Quality of Service Configuration Guide 16-57 OL-7433-09...

  • Page 562: Configuration Example For Enabling Interface-based Frf.12 Fragmentation

    Router(config-subif)# ip address 192.168.1.1 255.255.255.0 Router(config-subif)# no ip directed broadcast Router(config-subif)# frame-relay interface-dlci 27 Router(config-subif)# interface serial 5/0/0/1:0.2 point-to-point Router(config-subif)# ip address 192.16.2.1 255.255.255.0 Router(config-subif)# no ip directed broadcast Router(config-subif)# frame-relay interface-dlci 28 Cisco 10000 Series Router Quality of Service Configuration Guide 16-58 OL-7433-09...

  • Page 563: Configuration Examples For Link Fragmentation And Interleaving, Configuration Example For Mlp Over Serial-based Lfi

    Router(config-if)# ppp multilink fragment delay 2 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 2 Router(config-if)# service-policy output policy_MLPLFI Router(config)# interface serial 8/0/0.2/7:0 Router(config-subif)# no ip address Router(config-subif)# encapsulation ppp Router(config-subif)# load-interval 30 Cisco 10000 Series Router Quality of Service Configuration Guide 16-59 OL-7433-09...

  • Page 564: Configuration Example For Single-vc Mlp Over Atm-based Lfi

    Router(config-if)# ppp multilink fragment-delay 8 Router(config-if)# ppp multilink interleave Router(config-if)# ppp multilink group 10020 Router(config-if)# ppp chap hostname router2 Router(config)# interface virtual-template1 Router(config-if)# ppp max-configure 110 Router(config-if)# ppp max-failure 100 Cisco 10000 Series Router Quality of Service Configuration Guide 16-60 OL-7433-09...

  • Page 565: Configuration Example For Multi-vc Mlp Over Atm-based Lfi

    Router(config-if)# no ip address Router(config-if)# ip mroute-cache Router(config-if)# ppp authentication chap Router(config-if)# ppp multilink Router(config)# interface atm 6/0/0 Router(config-if)# no ip address Router(config-if)# hold-queue 4096 in Router(config-if)# no atm ilmi-keepalive Cisco 10000 Series Router Quality of Service Configuration Guide 16-61 OL-7433-09...

  • Page 566: Configuration Example For Mlp Over Frame Relay-based Lfi

    Router(config-if)# frame-relay interface-dlci 18 ppp Virtual-Template209 Router(config-if)# service-policy output Premium Router(config)# interface Virtual-Template1 Router(config-if)# description mlp_lfi_c10k Router(config-if)# no ip address Router(config-if)# ppp chap hostname lfiofr-10002 Router(config-if)# ppp multilink Router(config-if)# ppp multilink group 10002 Cisco 10000 Series Router Quality of Service Configuration Guide 16-62 OL-7433-09...

  • Page 567: Configuration Examples For Pvc-based Frf.12 Fragmentation

    Router(config)# interface serial 5/0/0/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# no ip address Router(config-if)# no ip directed-broadcast Router(config-if)# encapsulation frame-relay Router(config)# interface serial 5/0/0/1:0.1 point-to-point Router(config-subif)# ip address 192.168.10.1 255.255.255.0 Cisco 10000 Series Router Quality of Service Configuration Guide 16-63 OL-7433-09...

  • Page 568: Configuration Example For Interface-based Frf.12 Fragmentation

    Router(config-pmap)# class voice Router(config-pmap-c)# priority Router(config-pmap-c)# police 64000 Router(config-pmap-c)# class video Router(config-pmap-c)# bandwidth 32 Router(config)# interface serial 3/0/0.1/1:0 Router(config-if)# hold-queue 4096 in Router(config-if)# ip address 10.16.0.1 255.0.0.0 Router(config-if)# encapsulation frame-relay Cisco 10000 Series Router Quality of Service Configuration Guide 16-64 OL-7433-09...

  • Page 569: Verifying And Monitoring Link Fragmentation And Interleaving

    Router(config-if)# ip address 172.16.1.2 255.255.255.0 Router(config-if)# no ip directed-broadcast Router(config-if)# frame-relay interface-dlci 109 Verifying and Monitoring Link Fragmentation and Interleaving The Cisco 10000 series routers collect information about the number of: Fragments and bytes sent • • Unfragmented packets and bytes sent and received •...

  • Page 570

    Output fragments display using the show frame-relay fragment. Interleaving data displays only if there are interleaves. For example, the following line shows interleaves: Output queue: 315/64/164974/31191 (size/threshold/drops/interleaves) Cisco 10000 Series Router Quality of Service Configuration Guide 16-66 OL-7433-09...

  • Page 571: Verification Example For Mlp Over Serial-based Lfi

    Se8/0/0.2/7:0, since 02:31:57, 384 weight, 378 frag size Se8/0/0.2/9:0, since 00:03:46, 384 weight, 378 frag size Se8/0/0.2/8:0, since 00:03:06, 384 weight, 378 frag size HQF2_R2# Multilink2 Service-policy output: policy_MLPLFI Class-map: prec_5 (match-all) Cisco 10000 Series Router Quality of Service Configuration Guide 16-67 OL-7433-09...

  • Page 572: Verification Examples For Frf.12 Fragmentation

    DE un-fragmented pkts 0 out DE un-fragmented pkts 0 in timeouts 0 in out-of-sequence fragments 0 in fragments with unexpected B bit set 0 in fragments with skipped sequence Cisco 10000 Series Router Quality of Service Configuration Guide 16-68 OL-7433-09...

  • Page 573

    Serial0/0(o): dlci 109, tx-seq-num 82, BE bits set, frag_hdr 04 C0 52 Related Documentation This section provides hyperlinks to additional Cisco documentation for the features discussed in this chapter. To display the documentation, click the document title or a section of the document highlighted in blue.

  • Page 574

    RFC 1661, The Point-to-Point Protocol PPP in Frame Relay RFC 1973, PPP in Frame Relay PVC-Based FRF.12 Fragmentation Release Notes for the Cisco 10000 Series for Cisco IOS Release 12.0(23)SX Cisco 10000 Series Router Quality of Service Configuration Guide 16-70...

  • Page 575

    For example, a subscriber might choose a basic service with low bandwidth and later change to a premium service with high bandwidth. The Cisco 10000 series router, however, offers a dynamic QoS model that allows you to download QoS parameters from the RADIUS server to an ATM VC.

  • Page 576: Applying Traffic Shaping Parameters Using Radius Profiles, Feature History For Dynamic Bandwidth Selection

    17-1, when a subscriber initiates a Point-to-Point Protocol (PPP) over ATM (PPPoA) or PPP over Ethernet (PPPoE) session to the Cisco 10000 series router, DBS retrieves the RADIUS user profile and sets the QoS parameters to the shaping parameters specified in the user profile. The profile might contain PCR and SCR values for DBS configuration.

  • Page 577: Configuration Commands For Dbs, Dbs Enable Command

    Description Release 12.2(16)BX The dbs enable command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Configuration Modes You can configure the dbs enable command in the following configuration modes: ATM VC class •...

  • Page 578: Default Dbs Enable Command

    Release 12.2(16)BX The default dbs enable command was introduced on the PRE2. Release 12.2(28)SB This command was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. Configuration Modes You can configure the default dbs enable command in the following configuration modes: ATM VC class •...

  • Page 579: Pcr And Scr Parameters For Multiple Sessions On A Vc

    If the selected PCR value is higher than available bandwidth, DBS applies the highest value supported on the VC. If the PCR is less than the minimum PCR supported on a VC, DBS applies the minimum supported value. Cisco 10000 Series Router Quality of Service Configuration Guide 17-5 OL-7433-09...

  • Page 580: Dynamic Bandwidth Selection Configuration And Ppp Sessions, Network Access Server Qos Management

    PCR and SCR and establishes the session. Default QoS Parameters and QoS Configuration Precedence You can use the Cisco IOS command line interface (CLI) to configure QoS traffic shaping parameters in ATM VC configuration mode, VC class mode, PVC range mode, or PVC-in-range mode. The traffic parameters that you configure in VC class interface or subinterface mode become the default QoS parameters for the VCs on which the VC class is applied.

  • Page 581: Accounting Updates, Service Category Transitions, Dynamic Bandwidth Selection And Oversubscription

    (DBS) and VC oversubscription, RADIUS-provided QoS parameters are not set for some ATM VCs. In Cisco IOS Release 12.3(7)XI2 and later releases, the router supports VC oversubscription on VCs that are modified using DBS. You can simultaneously configure DBS and VC oversubscription without any adverse affect on the VC’s rate modification.

  • Page 582: Prerequisites For Dynamic Bandwidth Selection, Restrictions And Limitations