Friday, September 13, 2013

Start and stop POX controller

1) To start POX, go inside the POX folder

$sudo python ./pox.py py

         or

$sudo python ./pox.py py openflow.discovery forwarding.l2_learning

2) If it says address already in use

Find what application/process is using the pro, type:

$sudo netstat -lpn |grep :6633

You will get an output similar to this one

tcp6       0      0 :::6633                 :::*                    LISTEN      6782/java

I have got the process Id, which is 6782, now this is the process that is using port 6633. To Kill the process, type

$sudo kill 6782

3) Stop POX

POX > exit ()

If you forget it, then next time

$sudo killall controller



1 comment:

  1. Ah after trying so many things this one works for me. Thanks to u :)

    ReplyDelete