02-12-2008 10:23 PM - edited 03-03-2019 08:40 PM
Thanks in advance
can someone explain how to use traffic generator in live environment?because i want to test the throughput of router
where i get traffic generator software software
02-12-2008 11:11 PM
Hi San,
You can enable "IP NBAR Protocol-Descovery"
i.e.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int ser 0/0/0
Router(config-if)#ip nb
Router(config-if)#ip nbar pro
Router(config-if)#ip nbar protocol-discovery
Also you can install to Cisco Netflow, to monotor the traffic.
Link: http://www.cisco.com/en/US/products/ps6601/products_ios_protocol_group_home.html
Thanks
Goutam
pls rate if it helps u!
02-13-2008 02:41 AM
Thanks for quick reply
but i want to know that how to generate traffic load in local lan for testing purpose
02-13-2008 02:57 AM
Hi,
u can use ping, telnet, ftp, and/or some protocol wise application.
Thanks
Goutam
Pls rate if it works.
02-13-2008 03:41 AM
You can use what is called "The poor mans traffic generator" It is the CHARGEN application built into the router. You first need to enabled TCP and UDP small services on the router (TCP and UDP port 19). Then you can do a telnet to the remote device and add the parameter chargen to it. ex. telnet 10.10.10.10 chargen
This will start generating traffic to the remote telnet address...Good Luck..Pls rate..
02-13-2008 03:52 AM
Hi picaccio,
U r right. But the basic use of CHARGEN to genetates ASCII date, it might not helpful to determine the difference.
Thanks
Goutam
02-13-2008 04:57 AM
"can someone explain how to use traffic generator in live environment?"
Place traffic generator on one side of router and have it generate traffic that should be routed across the router. Depending on what type of traffic you're generating, a "sink" (destination device that accepts and terminates traffic - some can also echo traffic) might be required on the other side of the router.
If you generate full bandwidth traffic on one link, you can often hit the max performance of the smaller "pure" routers. On the more powerful "pure" routers, it might take several links of max bandwidth to hit the max. On L3 switches, some can take all links running at full bandwidth. (L3 switches often require dedicated hardware traffic generators to push that much bandwidth.)
"where i get traffic generator software"
They can be purchased, but there are some simple ones that are free. Recently, I've discovered one, pcattcp (Windows), that is a variant of TTCP but it also can generate UDP packets at defined transmission rates. The latter good for filling links or the small routers.
PS:
Don't forget, using such traffic generators can disrupt production traffic performance. (Also good to test QoS.)
02-13-2008 05:01 AM
Try using the IPerf software. It is free and you can find it on the web. It works by setting up one end as a server and the other as a client. You can pecify what type of traffic to send (UDP or TCP). You can flood your WAN links pretty good with this. Also you can adjust the TCP window size to long links to tweek your TCP parameters... Try it out...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide