![]() |
||
KB article reference no. Q10613
Version: 1.0
Keywords: KlasRouter, QoS, IP Precedence, ToS
The information in this article applies to:
KlasRouter v2.0
1.0
2.0
2.1
2.2
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8Introduction
Configuration of KlasRouter
Cable Connections
Establishing a HyperTerminal Session
Configuring QoS
Starting QoS
Stopping QoS
Show Default QoS Filters
Activate Default QoS Filters
Deactivate Default QoS Filters
Add QoS Filters
Show QoS Filters
Delete a QoS Filter
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.Quality of Service Configuration Menu
Default QoS Filters
Activate Default QoS Filters
Adding a QoS Filter
Show QoS Filters
Delete a QoS Filter
This document describes how to configure Quality of Service (QoS) settings with KlasRouter. Using QoS can ensure the delivery prioritization of certain types of traffic above others. For instance, time-sensitive traffic, such as voice packets, should receive priority over traffic where latency is not as noticeable, such as with a file transfer. Configuring the QoS parameters to prioritize different types of traffic according to their specific needs allows for a number of applications to function together efficiently, especially across low-bandwidth WAN links. KlasRouter uses the Priority Queuing method in order to classify traffic as having either a High or Medium priority. KlasRouter has a default QoS configuration that automatically gives the protocols associated with the Voice over IP (VoIP) ports on KlasRouter priority over other traffic. There is also an option to manually configure QoS according to the traffic your specific network will be using. The following sections outline the steps needed to configure QoS with KlasRouter.
2.1 Cable Connections
Prior to beginning, ensure the following cable connections have been properly secured:
- Power cord is plugged in and KlasRouter is on.
- Control Port Cable is connected to the PCs serial port.
- Control Port Cable is connected to the ‘Control’ port on the front of the KlasRouter.
2.2 Establishing a HyperTerminal Session
To configure the KlasRouter, you must establish a HyperTerminal Session between a PC and the KlasRouter. Follow the instructions in KlasRouter Application Note Q10601 to successfully establish a HyperTerminal Session and open the KlasRouter Main Configuration Menu.The following sections outline how to use QoS with KlasRouter. Follow the steps below to successfully configure the necessary QoS features.
QoS Configuration
-----------------
1) QoS Status
2) Start QoS
3) Stop QoS
4) Show Default QoS Filters
5) Activate Default QoS Filters
6) Deactivate Default QoS Filters
7) Show Configured QoS Filters
8) Add QoS Filters
9) Delete a QoS Filter
Press 'x' to Return
Enter Option>
Figure 1. Quality of Service Configuration Menu
- Enter ‘1’ on the QoS Configuration Menu. KlasRouter will notify you that all activated filters have been started.
- Press ‘Enter’ to return to the QoS Configuration Menu.
- Enter ‘3’ on the QoS Configuration Menu to Stop QoS. KlasRouter will notify you that QoS is stopped.
- Press ‘Enter’ to return to the QoS Configuration Menu.
- Enter ‘4’ on the QoS Configuration Menu to show the default QoS filters, as shown below in Figure 2. The default filters use the Priority Queuing method to assign the Real Time Protocol (RTP) and Real Time Control Protocol (RTCP) a High Priority. RTP ports are the even ports from 49160 to 49166. RTCP ports are the odd ports. Port 5060 is port used for SIP signaling and call control traffic and is given a Medium Priority.
Default QoS Filters:
--------------------
No. IF Prio Source Destination Sport Dport Protocol
--------------------------------------------------------------------------------
all 1 49160
all 1 49161
all 1 49162
all 1 49163
all 1 49164
all 1 49165
all 1 49166
all 1 49167
all 2 5060
Press Enter to return to QoS Configuration MenuFigure 2. Default QoS Filters
- Press 'Enter' to return to the QoS Configuration Menu.
QoS Configuration
-----------------
1) QoS Status
2) Start QoS
3) Stop QoS
4) Show Default QoS Filters
5) Activate Default QoS Filters
6) Deactivate Default QoS Filters
7) Show Configured QoS Filters
8) Add QoS Filters
9) Delete a QoS Filter
Press 'x' to Return
Enter Option>5
Activating default filters...
Default filter activated.
Press Enter to return to QoS Configuration MenuFigure 3. Activate Default QoS Filters
- Press 'Enter' to return to the QoS Configuration Menu.
- Enter ‘6’ on the QoS Configuration Menu to deactivate the default QoS filters.
- Press ‘Enter’ to return to the QoS Configuration Menu.
- Enter ‘8’ on the QoS Configuration Menu to manually add a QoS filter.
- Enter the interface you would like to apply the filter on. If you are unsure of the codes for the available interfaces, press ‘?’ for a list of options.
- Enter the source IP address to filter packets based on the original source of the traffic. (Note: Steps 3-8 are optional parameters that you may or may not wish to configure. You must configure at least one parameter as the basis for the filter.)
- Enter the destination IP address to filter packets based on the ultimate destination of the traffic.
- Enter a TCP port number to filter packets based on the port number of the source application.
- Enter a TCP port number to filter packets based on the port number of the destination application.
- Enter an IP Protocol value to filter packets based on the value in the Protocol field of the IP header.
- Enter a TOS or DiffServ value to filter packets based on the value in the TOS field in the IP header. The example from Figure 4 shows a filter based on a TOS value of 184, which is the TOS value for VoIP packets with KlasRouter.
- Enter a QoS priority to use for the filter you just configured. A value of ‘1’ classifies applicable packets with a High priority. A value of ‘2’ classifies applicable packets with a Medium priority. All other traffic will be classified as Low.
Add QoS Filter
--------------
Enter Interface Name ('q' to quit)>ixp1
Enter Source IP Address ('',a.b.c.d | 'q' to quit)>
Enter Destination IP Address ('',a.b.c.d | 'q' to quit)>
Enter Source Port ('',0-65535 | 'q' to quit)>
Enter Destination Port ('',0-65535 | 'q' to quit)>
Enter IP Protocol value ('',0-127 | 'q' to quit)>
Enter TOS/DiffServ value ('', 0-255 | 'q' to quit)>184
Enter Filter Priority( 1, 2 | default: 1 | 'q' to quit)>1
Filter added.
Press Enter to return to QoS Configuration MenuFigure 4. Adding a QoS Filter
- Press 'Enter' to return to the QoS Configuration Menu.
Configured QoS Filters:
-----------------------
No. IF Prio Source Destination Sport Dport Proto TOS
--------------------------------------------------------------------------------
1 ixp1 1 184
Press Enter to return to QoS Configuration MenuFigure 5. Show QoS Filters
- Press 'Enter' to return to the QoS Configuration Menu.
Delete QoS Filter
------------------
Configured QoS Filters:
-----------------------
No. IF Prio Source Destination Sport Dport Proto TOS
--------------------------------------------------------------------------------
1 ixp1 1 184
Enter number of filter to delete ('q' to quit)>1
Deleting filter 1...
Filter 1 deleted.
Press Enter to return to QoS Configuration MenuFigure 6. Delete a QoS Filter
- Press 'Enter' to return to the QoS Configuration Menu.
Copyright © 2006 Klas Ltd. All rights reserved. All company and brand names are trademarks or registered trademarks of their respective owners.DISCLAIMER OF WARRANTY: THE DOCUMENT IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WITH RESPECT TO THE DOCUMENT AND / OR ANY ASSOCIATED ON-LINE INFORMATION, KLAS DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDED BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
Home | About | News | Products | Support | Distributors | Contact
|
|
![]() |