Changes between Initial Version and Version 1 of GENIExperimenter/Tutorials/GENIDesktop/aag/monitor


Ignore:
Timestamp:
05/16/16 15:58:51 (8 years ago)
Author:
carpenter@vis.uky.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIDesktop/aag/monitor

    v1 v1  
     1== Monitor installed flow entries ==
     2
     3Now that we have installed two different paths of communication between two hosts, it is important to know if they are properly routed, and how much traffic is being sent. To that extent, the GENI Desktop provides two complimentary live monitoring frameworks in the form of modules, the Flow Monitor module and the Passive Graph module(s).
     4
     5We will use the Flow Monitor module in this experiment.
     6
     7
     8This module allows you make flow-rule-wise statistic collection. The flow entries can be queried globally or on a per node basis. After the table is loaded with flow entries, you may collect data based on amount of packets or the amount of bytes that match the selected flow entry.
     9
     10We will query information from switch '''s2''', and will start monitoring the amount of packets received in the flow-entry that we installed above (i.e. the one different from ARP traffic).
     11
     12
     13monitortable.png
     14
     15You can adjust the parameters at will to zoom in or zoom out the live graph. Now lets generate some traffic.
     16
     17'''h1 terminal''': Start netcat server on port 3000.
     18{{{
     19user@h1:~$ nc -l 3000
     20this
     21is a test
     22}}}
     23
     24'''h2 terminal''': Connect to the netcat server at h1:3030.
     25{{{
     26user@h2:~$ nc h1 3000
     27this
     28is a test
     29}}}
     30
     31Type one or two words/sentences (and press ENTER) on '''h2''', and check the monitoring graph. Also note that the communication is successful since all the words sent from '''h2''' appear on '''h1''' 's terminal.
     32
     33
     34monitorgraph.png
     35
     36Type more words (as many as you want) and check again. You can see how the shape of the graph changes based on the amount of packets received at the switch that match that rule.
     37
     38Stop the netcat server by pressing CTRL+C