Prior to the Pronto S1witch configuration, it is necessary to connect the switch to another equipment using a serial cable.
After connecting the switch to another equipment (where the operator must have access), it's necessary to install the Minicom software.
Depending on the Linux distribution the command to install it might be:
apt-get install minicom
yum install minicom
After installing, it´s necessary to configure the minicom:
Choose the option: File transfer protocols
And use the following configuration:
A - Serial Device : /dev/ttyS0 B - Lockfile Location : /var/lock C - Callin Program : D - Callout Program : E - Bps/Par/Bits : 115200 8N1 F - Hardware Flow Control : Yes G - Software Flow Control : No Change which setting?
After configuring it, choose the following option: Save setup as dfl
It's advisable to be aware of what kind of serial cable it's being used, since this may impact the minicom configuration.
After configuring the minicom, the next step it's to configure the switch.
Access it using the following command:
If the minicom was configured correctly, it will show a login screen. For the first access, use the following login and password:
After the first login, it's necessary to change the default password of the root user.
After, the login, execute the following command:
The script will show 3 options, as shown below:
Choose option: 2
The next question will ask to configure the static IP that the switch is going to use:
Fill it with the following pattern: 10.XXX.0.13/16
Where it's written XXX must be replaced by your island ID.
For further information about the configuration of the control plane network, check this link: 2. FIBRENet's Control Plane - Network Configuration for Islands
After that, it's necessary to configure the gateway:
Use this pattern: 10.XXX.0.30
Replace XXX by your island ID.
The setup should be similar to this one:
After this, reboot the switch.
Also it's necessary to configure the Open vSwitch embedded in the Pronto Switch.
1 - The first step is to create a new bridge:
ovs-vsctl add-br br0 -- set bridge br0 datapath_type=pica8 protocols=OpenFlow10
2 - The next step is to add to the bridge the ports that will be used:
ovs-vsctl add-port br0 ge-1/1/1 vlan_mode=trunk -- set Interface ge-1/1/1 type=pica8 ovs-vsctl add-port br0 ge-1/1/2 vlan_mode=trunk -- set Interface ge-1/1/2 type=pica8 ovs-vsctl add-port br0 ge-1/1/3 vlan_mode=trunk -- set Interface ge-1/1/3 type=pica8
|It's possible to add as many ports as the operator wants in the firmware version 2.1.5.|
|If it's necessary to know the version being used, execute this command: version|
3 - Verify if the ports were correctly added:
ovs-ofctl show br0
The command should show an output similar to this one:
4 - TODO
ovs-vsctl set-controller br0 tcp:10.X.0.101:6633