• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1640
  • Last Modified:

Cisco Router Setting WAN Bandwidth

How do I set the badwidth of my WAN interface?  My net pipe is 100Mbit/Full Duplex but the speed is 30/30 so Id like to set the bandwidth to 30/30 and not have the system try and send the full 100 out
0
TestMonkey
Asked:
TestMonkey
  • 5
  • 4
  • 2
  • +2
1 Solution
 
kdearingCommented:
You don't need to set your bandwidth.
Your system will only transfer data at the rate the other end is willing to accept.
0
 
TestMonkeyAuthor Commented:
When I was at 10/10 I set my speed at 10 and duplex full, if I didnt then my upload would be 50% of the posted bandwidth of what I was suppose to have.

Im running into the issue now, 100 Full, downloads at hitting 1.7MB down, but uploads im lucky to see 500KB, same behavior before, I was told I need to set my rate limits on the interface
0
 
kdearingCommented:
Don't know what kind of firewall/router you're using, but you may need to disable/modify your QoS and/or traffic shapping configuration
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
TestMonkeyAuthor Commented:
Its a Cisco 2921, if this were a home router I wouldnt have to do anything but its a physical cisco with a 20/20 metro fibre dedicated for a net pipe
0
 
rfc1180Commented:
>Im running into the issue now, 100 Full, downloads at hitting 1.7MB down, but uploads im lucky to see 500KB, same behavior before, I was told I need to set my rate limits on the interface

Sounds like a duplex issue

check your duplex on both ends, either set to 100-Full or Auto

You can also post show inter fast0/0 of the interfaces and we can further assist.

Billy
0
 
TestMonkeyAuthor Commented:
Duplex is fine, when i set speeds it works as expected

Its Speed 100 Duplex Full ive been through all this

I know I either use Rate-Limit or QoS
0
 
MistralolCommented:

You may need to have a look at the buffers / loss. Chances are you are flooding the buffer on the next router or switch based on what is going on.

you need to setup qos on the interface to control the output speed so that your not "blasting traffic"

Use a class map and the service policy commands on the interface. You probably want to use the shape average and set the speed's to about 90-95% of the actual amount of bandwidth you have.

http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfmcli2.html
0
 
imanassypovCommented:
you definitely need QoS policy (in your case you need a shaper)  setup on your WAN interface.
The most basic way of achieving it is through 'generic' shaper that will encopass all of your tcp traffic:

policy-map SHAPER
  class class-default
     shape average 30000000 300000 0
     random-detect

int fa 0/1
  desciption WAN
  service-policy output SHAPER

In the configuration above, the shaper is configured for 30Mb, with burst 300kbps and burst interval of 10ms.

The reason you need a shaper is so that you even your egress traffic to the subrate you have been provisioned with, and by enabling the random-detection you avoid hitting the 'tcp synchronization' issue where all your active tcp connections slow down to a crawl and then restart at the same time which greately reduces your line utilization.


hope that helps,

0
 
imanassypovCommented:
to get back on someones suggestion to use the 'rate-limit' - it is first of all an obsolete way of configuration, which is now replaced by MQC (similar to above).

Second and more important note on 'rate-limit' - it actually configures a POLICER and not a SHAPER. Which means rather than saturating your provider's buffers and having your provider drop your excess traffic for you, you will be cutting off and dropping traffic on your interface. As you can see, it wont give you anything other than saving your provider some cpu cycles.
0
 
TestMonkeyAuthor Commented:
Ill give that a run tonight!  

Now I was creating Policies but I was putting in traffic types which I didnt want to do, you nailed what I was looking for, just a straight policy that does the 30/30
0
 
imanassypovCommented:
30/x where X is inbound - you do not really control that. Ingress traffic shaping is likely done on your ISP.

What you may also want to do is some traffic analysis - as in how much of each traffic class you normally have throughout the day. It may affect how you want to fine-tune your shaper.

-igor
0
 
TestMonkeyAuthor Commented:
I put in exactly what you had and it seems to upload at a max of 10Mbit, not sure why
0
 
imanassypovCommented:
please post the output of

"show policy-map interface"
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 5
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now