AI, ML, Development + Cisco Learning Blog Learning about Machine Learning, Artificial Intelligence, related devlopment topics and formerly Routing and Switching, Datacenter, Security and other topics, CCIE #23664, Frank Wagner

13. September 2006

traffic generators for testing purposes

Filed under: Tips / Hints — ocsic @ 20:43

Use telnet to debug certain policies and look if traffic is matching. There is the /source-interface option for that.

To controll which source interface telnet is using, you can set it up with /source-interface.

It’s also possbile to generate certain traffic with the rtr command:

R1(config)#rtr 2
R1(config-rtr)#type ?
dhcp DHCP Operation
dlsw DLSW Operation
dns DNS Query Operation
echo Echo Operation
frame-relay Perform frame relay operation
ftp FTP Operation
http HTTP Operation
jitter Jitter Operation
pathEcho Path Discovered Echo Operation
pathJitter Path Discovered Jitter Operation
slm SLM Operation
tcpConnect TCP Connect Operation
udpEcho UDP Echo Operation

R1(config-rtr)#type tcpConnect dest-ipaddr 10.10.10.10 ?
dest-port Destination Port

R1(config-rtr)#type tcpConnect dest-ipaddr 10.10.10.10 dest-port 80 ?
control Enable or Disable Control packets
source-ipaddr Source Address
source-port Source Port
R1(config-rtr)#rtr schedule 2 life 600 start-time now
Or „ip sla monitor“ is available to generate traffic also.

Source:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hsla_r/sla_01h.htm#wp1077817

Keine Kommentare »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress