Band-width Limiting

I have a lab set up and I want to simulate a low-bandwidth environment.  I would like to do this where the switch connects to the router.  What is the proper way to do this?  The switch is connected via FA 0/0 and is running at 100Mb/Sec.  I would like to simulate a 256Kb/sec environment.
LVL 6
airborne1128Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Mohammed RahmanConnect With a Mentor Commented:
@airborne1128: I apologize of the post above. Please ignore my post above. Probably that will not work as to what we are interested in. Solution to your question is below.

https://learningnetwork.cisco.com/thread/44129
and
https://supportforums.cisco.com/thread/150902
and
https://supportforums.cisco.com/thread/2207373

I will try to run these commands on my home setup and confirm solution. I would also like to know where exactly you would like to limit the bandwidth? On the router interface OR on switch interfaces that connects to hosts?
0
 
dbaidemeCommented:
0
 
airborne1128Author Commented:
Thanks, but I want this to be done from the router and no a software solution.
0
Get Certified for a Job in Cybersecurity

Want an exciting career in an emerging field? Earn your MS in Cybersecurity and get certified in ethical hacking or computer forensic investigation. WGU’s MSCSIA degree program was designed to meet the most recent U.S. Department of Homeland Security (DHS) and NSA guidelines.  

 
dbaidemeCommented:
Did I miss the information about what kind of router you are using?
0
 
airborne1128Author Commented:
Sorry, it's in the tags.  I have 2811 routers, 3750G switches and 2960G switches.
0
 
dbaidemeCommented:
In your lab you are going to test performance between "host a" and "host b"?

What are these host going to be plugged into?
0
 
airborne1128Author Commented:
My hosts plug into a 3750 which will plug into another 3750, then to a 2811 router.  It is simulating a field setup.  The field setup uses satillite to connect to the network.  This sattilite connection is between the second 3750 and the 2811 router.  To simulate this, I want to control the bandwidth from the 2811 router.  I want to limit it to 256Kb/sec.
0
 
dbaidemeCommented:
Looks like your answer is can be found in detail here http://hardforum.com/showthread.php?t=1694822

The short...QoS (EXAMPLE BELOW)

policy-map 75r_24c
 class QOS_REAL-TIME
  bandwidth percent 75
 class QOS_CRITICAL-DATA
  bandwidth percent 24
  set ip dscp 34
 class class-default
  shape average 1000000000

interface FastEthernet0/0
 description Connection to a Series of Tubes
 ip address 123.123.123.123 255.255.255.0
 service-policy output 75r_24
0
 
airborne1128Author Commented:
Can I just use the bandwidth command on the interfaces?
0
 
Mohammed RahmanCommented:
Go to interface and type
bandwidth ?  
You will see something like this..... <1-10000000>  Bandwidth in kilobits
The above number is in kilobits and not kilobytes.

If you want to set the bandwidth to 256Kbps (kilobits / second)
use the command: bandwidth 256

Device(config-if)#bandwidth 256

If you want to sent the bandwidth to 256KBps (kilobytes / second)
use the command: bandwidth 2048

Device(config-if)#bandwidth 2048

8bits = 1byte. Hence, If you are interested in 256kBps, multiply 256 by 8 and that makes it 2048 bits.
0
 
airborne1128Author Commented:
Thanks mody2579, will this control bandwidth in and out or just in?
0
 
airborne1128Author Commented:
@mody2579...I found that yesterday as well and have implemented it.  I am now waiting for traffic to run in order to test it.  I can see some packets beingdropped, but not a significant amount.  We are not running heavy traffic though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.