cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1000
Views
0
Helpful
1
Replies
Highlighted
Beginner

FTP traffic Shaping

I have to limit the ftp traffic to 4 mb , my interface is 100 mb and i have a DSL service of 10mb on it

I have applied the specified configs but it isnt working

class-map match-all FTP
match protocol ftp
!
!
policy-map FTP
  class FTP
  shape average 4000000
  bandwidth percent 30
  class class-default
  bandwidth percent 70

Interface fastethernet 0/0

service-policy output FTP

Can you let me know if thats correct if i have to limit FTP traffic to 4mb , also the bandwidth percent here is over all interface bandwidth or the service i am subscribed for or is that the bandwidth available on teh interface.

1 REPLY 1
Highlighted
Cisco Employee

Re: FTP traffic Shaping

Hello!

The configuration looks correct, it should limit FTP traffic. Can you explain a bit more what is not working?

Could you start an FTP transfer, wait a bit, and take a "show policy-map interface fast 0/0" before it finishes?

The bandwith percent will do bandwidth allocation as a percentage of what is being give to the service policy, in this case it is attached to a fastethernet interface so that will be 30mbps (unless you configured the bandwith on that interface), you can also verify this using show policy-map interface. In this case, you can not get to 30mbps since the shaper will start shaping before at 4mbps.