pagent1#tgn pagent1(TGN:OFF,Fa0/0:none)#add icmp pagent1(TGN:OFF,Fa0/0:1/1)#name *** Stream 1 - ICMP Ping *** pagent1(TGN:OFF,Fa0/0:1/1)#rate 1000 pagent1(TGN:OFF,Fa0/0:1/1)#l2-dest-addr 1111.1111.1111 pagent1(TGN:OFF,Fa0/0:1/1)#l3-src-addr random 192.168.1.1 to 192.168.1.254 pagent1(TGN:OFF,Fa0/0:1/1)#l3-dest-addr random 172.16.0.1 to 172.16.255.254 pagent1(TGN:OFF,Fa0/0:1/1)#l4-type 8 pagent1(TGN:OFF,Fa0/0:1/1)#length random 500 to 1000 pagent1(TGN:OFF,Fa0/0:1/1)#output-mode dedicated pagent1(TGN:OFF,Fa0/0:1/1)#sh ip Summary of IP traffic streams on FastEthernet0/0 prot- ts# tos len id frag ttl col chksm source destination 1 ICMP 00 28 0000 0000 60 1 1127 192.168.1.1 172.16.0.1 pagent1(TGN:OFF,Fa0/0:1/1)# pagent1(TGN:OFF,Fa0/0:1/1)#sh icmp Summary of ICMP traffic streams on FastEthernet0/0 ts# type code checksum option 1 8 0 0xF7FF 0x00000000 pagent1(TGN:OFF,Fa0/0:1/1)# pagent1(TGN:OFF,Fa0/0:1/1)#sh rate Traffic generation is currently off. These rates are from the last time traffic generation was active. Summary of traffic stream rates on FastEthernet0/0 measured ts# template state repeat interval/rate interval/rate packets_sent 1 ICMP on 1 1000 pps 0.000 0 pagent1(TGN:OFF,Fa0/0:1/1)#start You have started traffic generation in dedicated output-mode. TGN will go into a send loop that locks out all other processes. Enter control-6 or shift-control-6 to stop traffic generation.
Saturday, March 19, 2011
Traffic Generation using Cisco Pagent TGN (Traffic GeNeration) Module
Below shows the sample configuration for generating 1000 ICMP Echo Request packets with random length between 500 and 1000 bytes, per second.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment