Where to implement QoS ???
Hi All,
I have the following scenario that i attached a jpg for !!
My router (RouterB) is connected to my ISPs router (RouterA) All my incoming traffic is through routerA.
After my RouterB i have a PIX515 with inside network and DMZ on the DMZ i have aproxy for internet access.
My connection between routers is only 256kbps, and the internet usage is hogging the line most of the time.
im not interested in other methods of controlling traffic on the proxy etc but rather perform QoS to allocate PRIORITY traffic to the PC1 and to a specific port for an aplication its using, as it becomes dead slow because the FR (256kbps) is hogged by internet traffic.
I do not have access to routerA. i have access to RouterB and PIX515.
My question is:
Router B is not aware of my QoS problems. if i configure QoS to prioritize traffic for PC1 where should i configure it..on routerB or on PIX515 !!! and which interface is the most effective.
I cannot help of thinking that routerA will send traffic to routerB as it is requested by the internet users and the appicaton of PC1. the internet users being more demanging than the PC1 application wont they stil hog up the bandwidth...or when i configure QoS on either of my machines will 'somehow tell' router A to limit its traffic to the proxy ???
with the above i mean that...if i have internet traffic of 200kbps and my application traffic is needing 200 kbps as well..Router A will send the internet traffic and application traffic as it comes on its interfaces (without QoS) and spitting it out the FR link with the same rates...so if it is already sending streams of 200kbps internet traffic. i will still only get 56 kbps for my application, untill the internet traffic dies down ??? (im confused)
please let me know if i am not clear with my request !!!
Thank you,
George
Hi jon,
so...in a few words theres nothing that can be done !!!! :( (on the QoS side) ...
so..in order for the QoS to work efficiently it should be configured at the source, where a HIGH BANDWIDTH Input is present (like 100Mbps ) and a smaller bandwidth output interface (2Mbps lets say ) in order for a QUEUE to be created !!! RIGHT !!! ???? so if in the node i want to apply QoS, a QUEUE is not created for traffic towards my machines i can only pray !!! So i would have to talk to the guys on RouterA ??? to apply QoS and prioritize traffic on their router (where a queue is being created !!!)
Did i get this right then ???
Thanks for the help,
George
Similar Messages
-
I am implementing QoS FRTS and LLQ on two 2600 routers one with 12.2(6) the other running 12.3(3a).
Everything seems to work fine except the ICA traffic, When I turn the QoS on the users are able to connect to the server but, the screen doesn't come up like its dropping the packets for it.
I am wondering if anyone has run into this. Or if anyone can help...
here are my policy maps and map class stuff.
router A
class-map match-all voip
match dscp ef
policy-map VoIP
class voip
priority 256
class class-default
fair-queue
interface Serial0/0
bandwidth 512
no ip address
encapsulation frame-relay
no ip route-cache
no ip mroute-cache
service-module t1 timeslots 1-12
cdp enable
frame-relay traffic-shaping
frame-relay lmi-type cisco
interface Serial0/0.100 point-to-point
description Frame-Relay to router B
ip address x.x.x.x 255.255.255.0
no ip route-cache
no ip mroute-cache
frame-relay class voip
frame-relay interface-dlci xxx
map-class frame-relay voip
frame-relay cir 512000
frame-relay bc 7680
frame-relay be 0
frame-relay mincir 512000
service-policy output VoIP
router B
class-map match-all voip
match ip dscp 46
policy-map VoIP
class voip
priority 256
class class-default
fair-queue
interface Serial0/0
no ip address
encapsulation frame-relay
service-module t1 timeslots 1-12
frame-relay traffic-shaping
frame-relay lmi-type cisco
interface Serial0/0.1 point-to-point
description frame-relay to router A
ip address x.x.x.x 255.255.255.0
frame-relay class voip
frame-relay interface-dlci xxx
map-class frame-relay voip
no frame-relay adaptive-shaping
frame-relay cir 512000
frame-relay bc 7680
frame-relay be 0
frame-relay mincir 512000
service-policy output VoIP
Thanks,
Stephen FlanaganOh one more thing the packets are marked dscp 46 comming into the router via a pbx
-
How to implement QoS over UDP ?
Hi
Excuse me fo my poor english.
Is-it possible to implement QoS with java and socket UDP ?
ThanksThe term QoS means a number of different things. Which one do you mean? See here: http://en.wikipedia.org/wiki/Quality_of_service
Are you sure you want to use UDP? It is an unreliable protocol, and often takes quite a bit of work to use properly.
Also google for udp qos etc. -
I want to implement QOS for VOIP traffic between Branch Office IP phones and Headoffice PABX.
Basic network diagram is as follows
Nortel IP PHONES (Branch Office)
|
L2 ordinary Switch
|
Cisco 1841
|
|
-----MPLS WAN-----
|
|
Cisco 1841
|
Cisco ASA
|
Cisco 3560 (with multiple VLANs)
|
NORTEL PABX (Headoffice)
Regards,
Muhammadhello muhammad,
you will need to configure a low-latency queueing strategy giving priority & bandwidth allocation to voice traffic. you can use this sample config and build upon this:
router(config)# class-map voice
router(config-cmap)# match access-group 102
router(config)# policy-map policy1
router(config-pmap)# class voice
router(config-pmap-c)# priority 50
router(config-pmap)# class bar
router(config-pmap-c)# bandwidth 20
router(config-pmap)# class class-default
router(config-pmap-c)# fair-queue
router(config)# access-list 102 permit udp host 10.10.10.10 host 10.10.10.20 range
16384 20000
router(config)# access-list 102 permit udp host 10.10.10.10 host 10.10.10.20 range
53000 56000
interface serial0/1
service-policy output policy1
if you have other traffics, u can configure the classmaps accordingly... you can read about LLQ for more info:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t2/ftllqpct.htm
hope this helps..all the best.. rate replies if found useful..
Raj -
Help implementing QoS for Video Streaming
Hello friends!
I am trying to implement a quality of service logic for a videoplayer based on the Brightcove API. As I have learned it's a better idea to use methods in NetStreamInfo class (eg. currentBytesPerSecond) rather than using a native bandwith check.
E.g. (where nc is a NetConnection object)
var ns:NetStream = new NetStream(nc);
var nsi:NetStreamInfo = ns.info;
var cbytes:Number = nsi.currentBytesPerSecond;
use cbytes to evaluate which quality to chose...
The problem is that streams are initiated (by videoplayer) using the Brightcove API and not directly using NetConnection.connect(). The BC API doesnt seem to give me any access to the classes listed above either, altough I'm certain it's utilizing them.
Are there any Brightcove or video streaming experts out there that have a clue as to how I can access the NetConnection object used by Brightcove? Or if i can access the NetStream object or even tge NetStreamInfo object directly.
best regards,
FredrikYou don't have your egress queuing setup. You need to map your COS values to a queue, then you can allocate bandwidth to those queue's. This makes lower priority traffic wait while higher priority traffic gets transmitted.
I have a few configuration examples on my site that may help you. Remember that the config that I have may not be the best for your network so you will have to figure that out yourself.
http://goatnetworking.com/CiscoCSwitchQOSConfig.php
Make sure that your QOS profile on the WLC is set correctly. I found one of my controllers didn't even have a value set in the profile, but the profile was applied and doing nothing.
You need to apply the policy map to mark packets on the port where the video source is on your network.
You need to Trust DSCP on all of your trunk ports or the switch will ignore the dscp markings.
QOS may only be one of many issues that may be causing your problem. Your AP's could be overloaded with clients, your data rates may not be optimized, etc..
I hope this helps
Scape -
Hi Experts!
Where can i find the Business Information Warehouse Implementation Guide (IMG), in BW System? Pl. include transaction, if there is one.
Thanks in anticipation.hi kumar,
t.code- sbiw ( The Business Information Warehouse Implementation Guide contains information and activities required for extracting and transferring data from an SAP source system into a SAP BW.).
t.code-spro (SAP Customizing Implementation Guide..The IMG (Implementation Guide for R/3 Customizing)..Lists all actions required for implementing the SAP System).
hope u will understand the diffn between spro and sbiw.
in spro u have link to sbiw..mean from spro u can move to sbiw..
kevin. -
We have this:
src/dst---ORtr1---100Mbps---SPRtr---512kbps---Ortr2---T1---Ortr2---src/dst
Where should we apply qos? We don't have access to SPRtr(service provider) and here is sample config on our router 1 (Ortr1):
interface FastEthernet0/0
service-policy output OUR-POLICY
Class-map voice-signaling
match access-group 102
class-map voice-traffic
match access-group 101
policy-map OUR-POLICY
class voice-traffic
priority 64
class voice-signaling
bandwidth 16
class class-default
fair-queue
access-list 101 permit udp any any range 16384 32767
access-list 102 permit tcp any eq 1720 any
access-list 102 permit tcp any any eq 1720Hi,
Qos should be applied to ORtr1 FE, ORtr2 512k, ORtr3 (?) T1.
On ORtr2 and ORtr3 - connected through T1 - you can use f.e. your posted policy.
The tricky one is ORtr1 and your policy will not work. The underlying reason is: you are configuring queueing and it will only be involved IF the physical interface is overloaded. This means that there should be more than 100 Mbps traffic before your config is involved. Obviously the problem occurs already if there is more than 512k.
The solution to the problem is called "nested policy". It would look like this taking your initial policy:
interface FastEthernet0/0
service-policy output Shape512k
Class-map voice-signaling
match access-group 102
class-map voice-traffic
match access-group 101
policy-map OUR-POLICY
class voice-traffic
priority 64
class voice-signaling
bandwidth 16
class class-default
fair-queue
policy-map Shape512k
class class-default
shape 500
service-policy output OUR-POLICY
access-list 101 permit udp any any range 16384 32767
access-list 102 permit tcp any eq 1720 any
access-list 102 permit tcp any any eq 1720
The policy Shape512k will only allow 500 kbps to pass through the F0/0 interface. Once this SHAPER is overloaded you apply the policy OUR-POLICY to prioritize voip.
The idea is never overload your SPRtr interface. Thus you should not shape to 512k exactly to account for OSI layer2 overhead.
Hope this helps! Please rate all posts.
Regards, Martin -
Where is implementation of play method Applet
Hi,
Where is specified how an applet plays an AudioClip? I looked at the sources but, in the Applet the play() method refers to the AudioClip it simply says:
public void play(URL url) {
AudioClip clip = getAudioClip(url);
if (clip != null) {
clip.play();
but the AudioClip is an interface so all the methods are not further specified....
How and where is the implementation for this method
(this goes by the way for a lot of the Applet methods, refering back and forth with AppletStub or Context, would someone care to explain this?)Thanks, I had a look
But it doesnt tell me how these methods are working. I need the code I have to know this because I need to play a sound directly after a key is hit, so on a Key_pressed or TYPED event. But it doesnt play the sound untill the Key is Released. Probably because PC keyboards produce Key pressed and KeyTyped events continiously if the key is held. There for I thought that the play method is coded in such a way that it want a confirmation of key relased first (other wise it would be starting the same clip a couple of times) So I want to copy this code and make a little change to it, or override it or something. Have you got an Idea how to work around this? -
Hi,
We have a 2Mbps LL 1:4
we are using CSICO ATA for Voice.
we are using cisco 2620 router .
Here are my questions.
1.Kindly check My config and say whether this QOS config will work for prioritising the Voice.
class-map match-all VOIP-RTP
match ip dscp ef
policy-map VOICE-QOS
class VOIP-RTP
priority 1024
interface Serial0/0
description ### STPI-GATEWAY-VASHI ###
bandwidth 2048
ip address 213.11.12.115 255.255.255.252
ip access-group 103 in
ip access-group 103 out
service-policy output VOICE-QOS
shutdown
2.How can i filter the HTTP,TELNET,SSH,RDP,FTP traffic.
Kindly help me.
Thanks
RangaA more scalable config (that you dont have to redo too much) might include bandwidth guarantees for other classes of traffic as well...
Also, I like to go with the qos design guide recommendation and set aside a queue for voice signalling... like the following...
i also dont "match ip dscp ef" but rather just look for rtp audio... dont always have a marking switch/phone system behind your router... sometimes its a whitebox phone system sending rtp packets, and a dumb switch... I also go with a nested policy, which shapes all to the speed of the link, then decides which traffic will follow the rules of the child policy to leave the single queue ;)
class-map match-any manage
match protocol dhcp
match protocol dns
match protocol kerberos
match protocol ldap
match protocol snmp
match protocol syslog
class-map match-any bulk
match protocol exchange
match protocol ftp
match protocol pop3
match protocol smtp
class-map match-any voicesignal
match protocol h323
match protocol rtcp
class-map match-any transactional
match protocol citrix
match protocol pcanywhere
match protocol secure-telnet
match protocol sqlnet
match protocol sqlserver
match protocol ssh
match protocol telnet
match protocol tsrvrdp
class-map match-any video
match protocol rtp video
match protocol cuseeme
match protocol netshow
match protocol rtsp
match protocol streamwork
match protocol vdolive
class-map match-any voicebearer
match protocol rtp audio
policy-map Pol-S0/0/0.1-child
class voicebearer
set dscp ef
priority percent 25
class transactional
bandwidth percent 25
class voicesignal
bandwidth percent 5
class manage
bandwidth percent 5
policy-map Pol-S0/0/0.1-parent
class class-default
shape average 1444000
service-policy Pol-0/0/0.1-child
int s0/0/0.1
service-policy output Pol-S0/0/0.1-parent
(yes not all my classes are used in my policy; they are for future use... nice to have them in there now though, as they can always be allocated some bandwidth later on, at the expense of what is carved out now...)
Tschuss,
Joe -
Where to implement my Business Logic in ADF?
Hi,
I am new to Oracle ADF. I found this forum very useful to get my queries and doubts answered. Thanks to the participants.
I am basically from Struts background,
Where i design my UI in jsp pages using Struts tags,
Actions and some utility classes handles my most of the business logic (generally called as Business Layer)
Then i have custom DAOs or Data Layer to query or update the data in database.
Now as I am into new Project and I have to learn Oracle ADF.
I started learning this by following some questions in the forums and various sites (from Google).
I got info on How to create Entity Objects, Value objects etc.
But my major doubt is where shall i write my Business Logic in this stack?
I can easily drag and drop my data controls into my JSF page and create table, forms or charts. But if i have a multi line business logic, say for a Submit button, In which i may be doing the following steps -
a. Get data pertaining to user role , department, his tenure in the department etc
b. On submit do processing based on data collected in above step.
c. update data in data base.
d. initiate an approval process
e. call some business process for Approval
f. Audit Trail
g. Transaction handling
and so many other steps (I know most of you will have gone through these situation before starting work on ADF)
Now, in the above scenario in Oracle ADF layers where shall i write this whole bunch of logic or steps and then forward the user the page depending upon the outcome of this logic.
Please let me know where to write all this??
Thanks a lot,
Amit
Edited by: ur.amit on May 13, 2010 4:58 PMGenerally speaking all of that code would reside in the app module Impl classes or the View object Impl classes - for VOs and AMs you can expose subclasses and add code in there - you can then define whether any of your methods should be exposed to the client, in which case they appear in the Data Controls panel as operations.
General word of advice -keep business logic code in the Model - don't be tempted to start trying to access your AMs and do any of this stuff from the ViewController project. Keep it nice and simple and just access ALL the business logic code through ADF Model.
Hope this helps
Grant -
Can QoS be implemented when VPN tunnel bandwidth is unknown?
Is it possible to have some sort of QoS on both sides of a VPN tunnel when the speed at the endpoint is unknown. In other words is it possible to have QoS bandwidth parameters to be automatically detected/adapted to the actual bandwidth?
Hey Martin,
Thanks for your reply. I Think IntServ won't be a solution straight away, I'll try to explain what I would like to do.
What my issue is that I have a few locations who are kind of mobile, and each location connects to the internet via various links, depending on which is available. This link can be a normal ISP which blocks all traffic except port 80 and 443. The connection could be a simple ISDN dialin or a dedicated T1 link.
Because there is a Cisco VoIP router on the mobile location and some users' data should have precedence over others' I would like to implement QoS.
My idea was when I were able to set up a site-to-site SSL VPN tunnel to a router in a datacenter (using Array Network stuff if the Cisco can't do site-to-site SSL) I would have more control over the internetlink. I Would not be limited to using only port 80 and 443: all traffic would just go encrypted and look like normal HTTPS traffic.
It's likely that this VPN link would always consume the maximum available bandwidth. When it is be possible for some QoS mechanism to "detect" the speed of the VPN I could let's say dedicate bandwidth for 4 VoIP calls and the remaining bandwidth can be made available for normal traffic. Note that this normal traffic should have some priority levels too.
Assigning dedicated bandwidth to VoIP isn't a big problem I think, however how can I make x percentage of the remaining bandwidth available to user x and y percentage available to user y?
I Hope I wrote it understandable ;).
Regards -
Qos standard vs priority vs hierarchical
Hi all,
I am really getting confused and have read lots of article and still don't fully get the queues on asa.
I know asa can support standard priority and hierarchical but here is what i don't understand
why can I not police priority queue? for instance police standard at 1mbps and police priority at 2mbps . this is so the priority will not take whatevery is available
also what is hierarchical queue as I don't seem to get this one at all.
I appreciate examples for this one
I guess WRED, RED etc are all in the same class of standard,priority queuing etc which are used to manage queues and asa only offers what is mentioned on the title and the priority queue uses low latency queue?
ThanksHello ,
I will try to explain this as simple as possible:
Standard Priority queue:
It basically splits the interface into 2 different queues (one for low latency traffic and the other one for best effor traffic)
You cannot use shaping in here, altough you can use Policing just for the best-effort traffic
Hierarchical Priority configuration, when it's need it?
It needs to be used when you enable traffic shapping on an interface and you want to use a LLQ. that's all... so that some traffic that is being shapped can be prioritized.
why can I not police priority queue? for instance police standard at 1mbps and police priority at 2mbps . this is so the priority will not take whatevery is available
Well, that's just the desing of the firewall, I mean this is not a device that I would recommend to purchase to implement QoS in the network but at least it allow us to provide some basic mechanisms need it to have QoS end-to-end up and running.
I know that with the MQC on a router you will be able not just to determine which traffic will get to the priority queue but also provide it certain limit of bandwith so it does not overwhelm the other queue (best effort) but on the ASA you have to think of it like if it were using Custom Priority Queueing where you just select which traffic goes first and that's it.. No option for limiting the traffic on the LLQ.
Cheers,
Julio Carvajal Segura -
Hello,
I would like to implement QoS on Pix 7.0(4). We connect to our customers using Cisco VPN client(remote access VPN).
I would like to prioritize this traffic, because these VPN connections are slow and e.g. browsing is fast.
What is the best match in class-map command to cover this traffic? I tried
match port tcp 3389(because we especially use terminal services to connect to remote systems through VPN). Or is better to use ACL with remote public IP(where VPN ends).
Could you please advice me.
Many thanks,
Vladislav! First match VPN traffic.
! Use an access-list
hostname (config)# class-map VPN-TRAFFIC
hostname (config-cmap)# match access-list ...
! Apply this in a QoS map in such a way that traffic matched by class-map "VPN-TRAFFIC" will be made priority
hostname (config)# policy-map QoS
hostname (config-pmap)# class VPN-TRAFFIC
hostname (config-pmap-c)# priority
! Create the Priority queue on interface "blah"
hostname(config)# priority-queue blah
! Now we can apply this policy "QoS" on the "blah" inferface
hostname (config)# service-policy qos interface blah
You might also be able to use a "tunnel-group" to match traffic. Refer to http://www.cisco.com/en/US/docs/security/asa/asa70/configuration/guide/qos.html#wp1045016
for more details.
By the way if you are using a sub interface the "service-policy" is applied on the sub interface but "priority-queue" is applied on the physical interface. -
We recently got a metro ethernet link (45Mbps) between 2 of our offices.
Currently we do not have any QoS services from the provider on this link.
I want to implement QoS over this link. Should i treat this as a normal P2P link and do the QoS or should i also need to ask the SP to do some sort of QoS in their MEN.
Does it really matter to have the SP do QoS as well
Note:- I will be using the link purely as a L3 P2P link
Thanks in advance
NarayanYou would need the QOS on the MAN connect as well. Even though you are running a L3 P2P link you are traversing multiple L2 hops.
And where there may be contention by others traffic contending for the resources.
I believe in most cases your SP's 4 to 5 Classes would be good enough. Still you may want to understand his classes and also may want to negotiate the SLA terms.
Once this is taken care you can simply ask him to trust the incoming DSCP on the attachment circuit at his UPE.
You may also have to configure incoming DSCP trust on your Metro-CPE link which connects to you internal core routers.
HTH-Cheers,
Swaroop -
Where deploy Java class in XI 3.0?
Hi all,
I have created a Java class for Jco connection and I have created .jar file.
At this point where must I copy .jar file in XI server???
And what activities must I do for using my classes with message mapping???
Thans in advance,
Michele.Michele,
We are facing a quite similar situation with XI 3.0. What we've found is that the only methods available for integrating Java code is either
a) Import a JAR archive into a specific software component
b) Create a Java proxy to a J2EE environment where you
implement your Java as EJBs.
We're still investigating these and other possible options.
Perhaps you need to install your JAR archive into each of the relevant components (I'm not sure if this works.)
Another possible alternative could be to identify where the JRE is installed on your XI server and deploy your classes in the lib extensions. (i.e. put your jar file in something like C:\j2sdk1.4.2_04\jre\lib\ext and restart the server) You should then be able to access these from anywhere, though I'm not sure what SAP would say about this solution.
HTH,
Patrick Parsons
Maybe you are looking for
-
Problems adding columns in a table
Hi, I defined a table. Now I need to add new columns. In OWB I set them in their correct order but when I deploy the table with upgrade, in the database, columns appear at the end of the table. Does anyone know this problem, how can i resolve this? T
-
IPhone timer functionality lost with latest update
The latest iPhone update has seemingly eliminated the ability to set the timer for anything other than full minutes. I utilized the "seconds" feature very frequently, and this change is an annoyance. Sadly, thoughtless changes by Apple seem to be bec
-
Paint JTextPane on top of table using paintComponent?
I have a JTable inside a JScrollPane which draws up a grid. In my application the table serves as a background. The best analogy is that this would be much like you might imagine a game board as a background for the game pieces on top. The applicatio
-
How to remove pictures from photostream?
Is there a way to remove pictures from photostream?
-
Looking for best way to convert 35 mm slides to digital images
Hello Apple Community, Am researching best ways to convert several hundred 35 mm slides into digital images. There are numerous scanners/converters out there but want to ensure I get the best unit compatable with my iMac (27 inch, Late 2009). Any s