09-21-2015 05:22 AM - edited 03-05-2019 02:21 AM
Hello,
I have 5 mbps line speed, i want to limit file transfer 1 mbps, (shouldn't pass this speed) and 4 mbps to ERP.
How can i do that with qos? Thanks.
09-21-2015 06:39 AM
Hello
How would you like to do this? -
-host to host
- network to host
- network to network
What type of file transfer will be iniciated?
TFTP
FTP
SFTP
etc..
How would you like QOS applied to this traffic
Shaped - Buffer/queue excess packets
Policed - Drop or remark packets
What about genral traffic is this included in your 5mb allocation
Where is this to be applied,
Lan or Wan
res
Paul
09-21-2015 06:51 AM
Hi Paul,
I want to apply this between two site. A site 10.0.0.0 /24 transfers file between B site. (172.16.1.2 /32)
TFTP and FTP will be used.
I don't want to packets to drops.
This will be applied on wan interface.
09-21-2015 07:12 AM
Hello
How are sites A and B connected to each other?
res
Paul
09-21-2015 10:15 AM
09-22-2015 02:31 AM
Hello
Possible QOS poilcy from site A perspective
access-list 100 permit tcp 10.0.0.0 0.0.0.255 host 172.16.1.2 eq 69
access-list 100 permit udp 10.0.0.0 0.0.0.255 host 172.16.1.2 eq 69
access-list 100 permit tcp 10.0.0.0 0.0.0.255 host 172.16.1.2 eq 20
access-list 100 permit udp 10.0.0.0 0.0.0.255 host 172.16.1.2 eq 21
class-map match-all File_Transfer
match ip access-group 100
class-map Routing
match ip dscp cs6
policy-map Wan_Child
class File_Transfer
bandwidth percent 26
class Routing
bandwidth percent 10
class class-default
bandwidth percent 25
fair queue
policy-map Wan_Parent
class class-default
shape average 5120000 80000
service-policy Wan_Child
int x/x
description Wan Interface
service-policy output Wan_Parent
res
Paul
09-22-2015 02:31 AM
Hi Paul,
Access list 100 will have percent 26 bandwidth. But i couldn't understand why "class-map Routing" used for ?
09-22-2015 03:17 AM
Hello
QOS utilizes this marking for routing protocols, and I am assuming you are running one, so i have allocated a certain % for it.
With class-default getting minimum of 25% which is basically saying any traffic not clearly defined will be dropped in to this class for some reasonable fair queuing = 1.280MB
That leaves 3.840 MB for the other two classes with minimum bw % allocation for
File-Transfer
Routing
res
Paul
09-22-2015 03:23 AM
I am using static route between two sites.
So file transfer traffic cant pass 1,280 MB, right? And should i make configuration at the B site?
09-22-2015 07:25 AM
Hello
No.
If the link is congested the qos classes are alocated the munimim Bw defined, anything left over will be shared
So at present all other traffic ( inclusing ESP) is defined as best effort via the class default
Lets say no congestion is occuring and the only traffic present is your file transfer traffic, its applicable to say this class could take upto 75% bw of the cir rate
Or another alternative is to reverse this QOS policy and define a class for ESP instead and let the File-transfer traffic fall into best effort
Note:- If you dont require the routing class remove it, and increase you class default.
res
Paul
11-19-2015 12:48 PM
Hi Paul,
Sorry for the late reply, we just test the configuration.
we want to limit the file transfer traffic to 1 mbps even link is empty(no congestion)
and we dont use routing protocol. can you please set the qos configuration as is.
09-21-2015 07:27 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
How it might be done with QoS depends on the platforms and interface hand-off.
PS:
Whether it should be done, is a different question. (The reason I write this is because with QoS you might have the option to prioritize your ERP traffic over your file transfer traffic, so during congestion you get the same results as limiting the file transfer traffic, but during non-congestion your file transfer traffic takes advantage of otherwise unused bandwidth.)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: