Tuesday, May 24, 2011

Generating Broadcast and Multicast Traffic using Cisco Pagent

pagent#tgn
pagent(TGN:OFF,Fa0/0:none)#add ip
pagent(TGN:OFF,Fa0/0:1/1)#rate 2000
pagent(TGN:OFF,Fa0/0:1/1)#l2-dest-addr FFFF.FFFF.FFFF
pagent(TGN:OFF,Fa0/0:1/1)#l3-dest-addr 255.255.255.255
pagent(TGN:OFF,Fa0/0:1/1)#
pagent(TGN:OFF,Fa0/0:1/1)#add ip
pagent(TGN:OFF,Fa0/0:2/2)#rate 2000
pagent(TGN:OFF,Fa0/0:2/2)#l2-dest-addr 0100.5E7F.0001
pagent(TGN:OFF,Fa0/0:2/2)#l3-dest-addr 239.255.0.1
pagent(TGN:OFF,Fa0/0:2/2)#
pagent(TGN:OFF,Fa0/0:2/2)#sh ip

Summary of IP traffic streams on FastEthernet0/0
                                      prot-
    ts#         tos  len  id  frag ttl col chksm source         destination
       1   IP    00   20 0000 0000  60   0 7EEB 0.0.0.0         255.255.255.255
       2   IP    00   20 0000 0000  60   0 8EEA 0.0.0.0         239.255.0.1

pagent(TGN:OFF,Fa0/0:2/2)#
pagent(TGN:OFF,Fa0/0:2/2)#sh mac

Summary of MAC addresses on FastEthernet0/0
       ts#  template encap   mac.destination    mac.source   dsap ssap protocol
         1  IP       arpa    FFFF.FFFF.FFFF  000D.28EF.CCE0             0x0800
         2  IP       arpa    0100.5E7F.0001  000D.28EF.CCE0             0x0800

pagent(TGN:OFF,Fa0/0:2/2)#
pagent(TGN:OFF,Fa0/0:2/2)#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 IP         on     1              2000 pps            0.000              0
    2 IP         on     1              2000 pps            0.000              0
Totals for FastEthernet0/0                                 0.000              0

pagent(TGN:OFF,Fa0/0:2/2)#
pagent(TGN:OFF,Fa0/0:2/2)#s
pagent(TGN:ON,Fa0/0:2/2)#sh rate

The rates are since traffic generation was started.

Summary of traffic stream rates on FastEthernet0/0
                                                      measured
  ts# template state repeat   interval/rate        interval/rate   packets_sent
    1 IP         on     1              2000 pps         1999.811          28846
    2 IP         on     1              2000 pps         1999.484          28846
Totals for FastEthernet0/0                              3998.866          57692

pagent(TGN:ON,Fa0/0:2/2)#

2 comments:

  1. where we can check whether traffic is received or not??

    ReplyDelete
  2. can you help me with multicast streaming pls

    ReplyDelete