Speedtouch IPQoS User manual

SpeedTouch™608WL and
SpeedTouch™620 only
SpeedTouch™
(Wireless) Business DSL Router
IPQoS Configuration Guide
Release R5.3.0


SpeedTouch™
IPQoS Configuration Guide
R5.3.0

Copyright
Copyright ©1999-2005 THOMSON. All rights reserved.
Passing on, and copying of this document, use and communication of its contents is not permitted without written authorization
from THOMSON. The content of this document is furnished for informational use only, may be subject to change without notice,
and should not be construed as a commitment by THOMSON. THOMSON assumes no responsibility or liability for any errors or
inaccuracies that may appear in this document.
Thomson Telecom Belgium
Prins Boudewijnlaan, 47
B-2650 Edegem
Belgium
www.speedtouch.com
Trademarks
The following trademarks are used in this document:
SpeedTouch™ is a trademark of THOMSON.
Microsoft®, MS-DOS®, Windows® and Windows NT® are either registered trademarks or trademarks of Microsoft Corpora-
tion in the United States and/or other countries.
UNIX® is a registered trademark of UNIX System Laboratories, Incorporated.
Apple® and Mac OS® are registered trademarks of Apple Computer, Incorporated, registered in the United States and other
countries.
Adobe, the Adobe logo, Acrobat and Acrobat Reader are trademarks or registered trademarks of Adobe Systems, Incorpo-
rated, registered in the United States and/or other countries.
Netscape® and Netscape Navigator® are registered trademarks of Netscape Communications Corporation.
Ethernet™ is a trademark of Xerox Corporation.
UPnP™ is a certification mark of the UPnP™ Implementers Corporation.
Wi-Fi® and the Wi-Fi logo are registered trademarks of the Wi-Fi Alliance. "Wi-Fi CERTIFIED", "Wi-Fi ZONE", "Wi-Fi Alli-
ance", their respective logos and "Wi-Fi Protected Access" are trademarks of the Wi-Fi Alliance.
Other products may be trademarks or registered trademarks of their respective manufacturers.
Document Information
Status: v0.5 (March 2005)
Reference: E-NIT-CTC-20041213-0013
Short Title: IPQoS Configuration Guide STBUS R5.3.0

Contents
E-NIT-CTC-20041213-0013 v0.5 3
Contents
About this IPQoS Configuration Guide...................... 7
1 Document scope ........................................................... 9
2 Introduction ................................................................. 11
2.1 What is Quality of Service? .......................................................... 12
2.2 Relative versus Guaranteed QoS.................................................. 14
3 Basic QoS Concepts.................................................... 15
3.1 Precedence and TOS .................................................................... 16
3.2 Differentiated Services ................................................................ 18
3.3 Classification and conditioning principles................................... 20
3.4 Differentiated Services Code Point (DSCP) ................................. 22
4 IP QoS Framework Overview..................................... 25
4.1 Main Framework Components ..................................................... 26
4.2 Resource Management................................................................. 27
5 Packet Classification and Labelling ........................... 29

Contents
E-NIT-CTC-20041213-0013 v0.5
4
5.1 Classification ............................................................................... 30
5.1.1 Order of classification rules............................................................................ 31
5.2 Labels ........................................................................................... 33
5.2.1 Label parameters explained............................................................................ 35
5.2.2 Using TOS, DSCP or Precedence .................................................................... 38
5.2.3 Forwarding parameters.................................................................................. 40
5.3 Rules ............................................................................................ 42
5.3.1 Rules parameters explained............................................................................ 43
5.3.2 Rule debug commands .................................................................................. 47
5.4 Chains .......................................................................................... 49
5.4.1 Define a relation between chains .................................................................... 51
5.5 Expressions .................................................................................. 52
5.5.1 Expression parameters .................................................................................. 53
6 Meters, queues and IPQoS......................................... 59
6.1 Meters and queues ....................................................................... 60
6.2 The IPQoS command group ......................................................... 61
6.3 EF timers ...................................................................................... 63
6.4 Meter command group................................................................. 67
6.4.1 Meter config command ................................................................................. 68
6.4.2 Packet flow ................................................................................................. 74
6.5 Queue command group ................................................................ 75
6.5.1 Queue config parameters explained................................................................. 76
6.6 IPQoS Command group................................................................ 81
6.6.1 Ipqos config parameters explained .................................................................. 82
7 Scenario 1: Residential user....................................... 85

Contents
E-NIT-CTC-20041213-0013 v0.5 5
7.1 Configuring labels and rules for VoIP. ......................................... 86
7.2 Configuring labels and rules for DSCP. ....................................... 90
7.3 Configuring labels and rules for Interactive traffic. .................... 92
7.4 IPQoS configuration..................................................................... 95
8 Scenario 2: Business user with TOS marking. .........97
8.1 Labels ........................................................................................... 99
8.2 Rules. ......................................................................................... 103
8.3 IPQoS per PVC ........................................................................... 112
9 Scenario 3: Metering................................................. 115

Contents
E-NIT-CTC-20041213-0013 v0.5
6

About this IPQoS Configuration Guide
E-NIT-CTC-20041213-0013 v0.5 7
About this IPQoS Configuration Guide
In this configuration
guide
This routing configuration guide explains how routes can/must be used in
SpeedTouch™ R5.3 products. To explain the use of routes, a distinction is made
between standard IP forwarding and packet-based classification.
All examples start from a clean SpeedTouch™ configuration.
Used Symbols
Applicability and
terminology
This IPQoS Configuration Guide is applicable to:
SpeedTouch™ 516/536/546/576 Multi-user ADSL gateways.
SpeedTouch™ 585 Residential DSL router.
SpeedTouch™ 620 Business DSL router.
SpeedTouch™ 605 Business Multi-user ADSL gateway.
SpeedTouch™ 608 Business DSL router.
Generally, all these SpeedTouch™620 products will be referred to as SpeedTouch™ in
this IPQoS Configuration Guide, unless a specific device is mentioned.
Typographical
Conventions
When we display interactive input and output we’ll show our typed input in a bold
font and the computer output like this.
Comments are added in italics.
Example:
Bold is also used in the output to emphasize a specific section.
Documentation and
software updates
THOMSON continuously develops new solutions, but is also committed to improve
its existing products.
For more information on THOMSON's latest technological innovations, documents
and software releases, visit us at:
www.speedtouch.com
A note provides additional information about a topic.
A tip provides an alternative method or short-cut to perform an action.
!A caution warns you about potential problems or specific precautions that
need to be taken.
On some products the expert web pages are not available, almost the same
functionality is offered through CLI configuration.
=>language list
CODE LANGUAGE VERSION FILENAME
en* english 4.2.0.1 <system> Only one language is available

About this IPQoS Configuration Guide
E-NIT-CTC-20041213-0013 v0.5
8
Table of contents
Other Speedtouch Network Router manuals




















