Supported by the GlobalNOC at Indiana University

Changing Controller

To change the openflow controller complete the following steps

1.) enter edit mode

"SSH@mx960-2-re0> edit"

2.) edit the openflow protocol

"SSH@mx960-2-re0# edit protocols openflow"

3.) edit the particular context, for example

"SSH@mx960-2-re0# edit switch al2s"

4.) If you need to see where it is currently pointing run the follwing

"SSH@mx960-2-re0# show"

which will return output like

"default-action {

    drop;

}

emergency-mode;

interfaces {

    xe-7/0/0.0;

    xe-7/0/1.0;

    xe-7/0/2.0;

    et-5/0/0.0;

}

controller {

    protocol {

        tcp {

            port 1111;

        }

    }

    role equal;

    address 1.2.3.4;

}"

and you can see that it is currently pointing at address 1.2.3.4 on port 1111

5.) to change the controller ip address

"SSH@mx960-2-re0# set controller address <NEW_IP_ADDRESS"

6.) commit your changes

"SSH@mx960-2-re0# commit"


Your request has been completed.