Policy-Based QOS Configuration

From ImageStream Router Documentation

(Difference between revisions)
Jump to: navigation, search
(New page: :The 4.4.0 distribution utilizes an improved policy-based configuration for quality of service. The default rc.qos script has examples that use a new QoS library of functions, greatly simp...)
(QOS_SERVICE)
Line 6: Line 6:
:Currently only tc filter matches are supported. See the Linux Advanced Routing and Traffic Control guide for more information on tc filter matching.
:Currently only tc filter matches are supported. See the Linux Advanced Routing and Traffic Control guide for more information on tc filter matching.
-
:''Usage:'' QOS_SERVICE --name <service_name> [--init] --tc_match <tc_filter_command_match>
+
:'''Usage:''' QOS_SERVICE --name <service_name> [--init] --tc_match <tc_filter_command_match>
-
:''Example:''
+
:'''Example:'''
:Create a new service called ims1 that matches traffic to and from 205.159.243.5
:Create a new service called ims1 that matches traffic to and from 205.159.243.5
  QOS_SERVICE --name ims1 --init --tc_match protocol ip u32 match ip src 205.159.243.5
  QOS_SERVICE --name ims1 --init --tc_match protocol ip u32 match ip src 205.159.243.5
Line 13: Line 13:
:It is also possible to add on to a pre-defined service. Simply omit the '--init' option to add another match to a service.
:It is also possible to add on to a pre-defined service. Simply omit the '--init' option to add another match to a service.
-
:''Example:''
+
:'''Example:'''
:In addition to the IP ToS bit matches also match on the SIP server's IP at 205.159.243.5.
:In addition to the IP ToS bit matches also match on the SIP server's IP at 205.159.243.5.
  QOS_SERVICE --name voip --tc-match protocol ip u32 match ip src 205.159.243.5
  QOS_SERVICE --name voip --tc-match protocol ip u32 match ip src 205.159.243.5

Revision as of 21:07, 13 November 2009

The 4.4.0 distribution utilizes an improved policy-based configuration for quality of service. The default rc.qos script has examples that use a new QoS library of functions, greatly simplifying QoS configuration.

QOS_SERVICE

The QOS_SERVICE command defines parameters that match a type of service such as Web traffic or SMTP traffic. ImageStream pre-defines many services that can be added to or modified.
Currently only tc filter matches are supported. See the Linux Advanced Routing and Traffic Control guide for more information on tc filter matching.
Usage: QOS_SERVICE --name <service_name> [--init] --tc_match <tc_filter_command_match>
Example:
Create a new service called ims1 that matches traffic to and from 205.159.243.5
QOS_SERVICE --name ims1 --init --tc_match protocol ip u32 match ip src 205.159.243.5
QOS_SERVICE --name ims1 --tc_match protocol ip u32 match ip dst 205.159.243.5
It is also possible to add on to a pre-defined service. Simply omit the '--init' option to add another match to a service.
Example:
In addition to the IP ToS bit matches also match on the SIP server's IP at 205.159.243.5.
QOS_SERVICE --name voip --tc-match protocol ip u32 match ip src 205.159.243.5
QOS_SERVICE --name voip --tc-match protocol ip u32 match ip dst 205.159.243.5

QOS_POLICY

Personal tools
Router software releases