RE: Using IOS to generate a specific volume of traffic

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Tue Nov 23 2004 - 16:28:47 GMT-3


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