From: ccie2be (ccie2be@nyc.rr.com)
Date: Tue Nov 23 2004 - 16:57:26 GMT-3
Brian,
Thanks. This is great if I can get it to work the way I hope.
Let me make sure I understand how to do this.
Let's say I want to generate 33 kbps from rtr-A to rtr-B. And, assume no
traffic policing or shaping or anything else is slowing or blocking traffic.
On rtr-A
I set timeout to 0.
I set the packet size to 996. ( 4 more bytes will be added.)
Then, I set the repeat count to 33, so 33,000 bytes will be sent.
Now, when I go to rtr-B, as long as the timestamps have been turned on, I
should see 33k per second worth of ping traffic, right?
And, if I then change the repeat count 64, I'll see 64k bps worth of
traffic.
Tim
----- Original Message -----
From: "Brian Dennis" <bdennis@internetworkexpert.com>
To: "ccie2be" <ccie2be@nyc.rr.com>; "Group Study" <ccielab@groupstudy.com>
Sent: Tuesday, November 23, 2004 2:28 PM
Subject: RE: Using IOS to generate a specific volume of traffic
Tim,
If you use the Cisco IOS to generate ping traffic you need to
set the ping timeout to 0. This will cause the router to not wait for a
reply before sending the next packet. To calculate the size of the ICMP
packet being generated, add 4 bytes to the size you select in the
extended ping packet size option. Then turn debugging on the remote end
for ICMP and ensure that service timestamps for debugging with
milliseconds is enabled. This will allow you to determine exactly how
many packets arrived in a given period. I use this in our classes to
validate traffic shaping. Also you could also use SAA.
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ccie2be
Sent: Tuesday, November 23, 2004 10:24 AM
To: Group Study
Subject: Using IOS to generate a specific volume of traffic
Hi guys,
Is there a tool within IOS that can be used to accurately generate a
given
amount of traffic?
For example, suppose I want to test a MQC shaping or policing
configuration
and I want to generate a continuous stream of traffic at 65k to see what
happens when the cir is 64k. Is there a way to do this ?
I know that by using ping and setting the packet size and repeat count I
can
generate traffic, but it seems that using this method doesn't translate
to a
specific rate.
TIA, Tim
This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:49 GMT-3