After getting the POX controller, you can try running a basic hub example in POX as follows:
$ cd pox $./pox.py log.level --DEBUG misc.of_tutorial
This command line tells POX to enable verbose logging and to start the of_tutorial component, which you will be using. This of_tutorial component acts as an Ethernet hub. Now you can start the Mininet OpenFlow laboratory using the following command line:
$ sudo mn --topo single,3 --mac --switch ovsk --controller remote
The switches may take a little bit of time to connect. When an OpenFlow switch loses its connection to a controller, it will generally increase the period between which it attempts to contact the controller, up to a maximum of 15 seconds. This timer is ...