This is about generating simple UDP traffic using Pagent IOS on cisco routers. Cisco provided image can be used to send or receive traffic and to analyze the Bandwidth utilized by network interface. You could use this to generate certain amount of traffic of choose protocol (UDP or TCP)etc.
Basic configuration steps to generate traffic:
- Load pagent-ios image on device. You can found the images of specific router you are using from http://wwwin-pagent.cisco.com/
- After downloading and booting with pagent IOS image, follow these steps to generate Traffic.
- Pagent (TGN:OFF,Fa0/0:none)# add udp add a traffic stream type, here I considered udp based
- Pagent (TGN:OFF,Fa0/0:1/1)#l2-dest-addr < > Specify l2 address of destination
- Pagent (TGN:OFF,Fa0/0:1/1)#l2-src-addr < > Specify l2 src address
- Pagent (TGN:OFF,Fa0/0:1/1)#l3-src-addr specify l3 src ip which is originator of Traffic
- Pagent (TGN:OFF,Fa0/0:1/1)#l3-dest-addr <> specify l3 dest ip which is originator of Traffic
- Pagent (TGN:OFF,Fa0/0:1/1)#rate <1-4294967295> No. of Packet per second send rate
- Pagent (TGN:OFF,Fa0/0:1/1)#data ?
- <0-65460> Starting position in data array.
ASCII ascii data string. (Default is hex data string)
continue continue from current offset - Pagent(TGN:OFF,Fa0/0:1/1)#start < Starts pumping the udp traffic on specified destination from the source>
- Pagent (TGN:OFF,Fa0/0:1/1)#show < any point of time you could see the traffic statistics with this show command>
- Pagent (TGN:ON,Fa0/0:1/1)#stop
References:
- Additional information : http://wwwin-pagent.cisco.com/tool-index.html#pktsUseful
- Pagent Image download Link: http://wwwin-pagent.cisco.com/protected-cgi/download_pagent_44.cgi?version=pagent.4.4.0&&state=LATEST
- License keys: http://wwwin-pagent.cisco.com/protected-cgi/get_key.cgi
No comments:
Post a Comment