Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Physical Configuration

Prior to the Pronto S1witch configuration, it is necessary to connect the switch to another equipment using a serial cable.

Installing and configuring Minicom

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:

Code Block
themeMidnight
languagebash
apt-get install minicom

or

Code Block
themeMidnight
languagebash
yum install minicom

After installing, it´s necessary to configure the minicom:

Code Block
themeMidnight
languagebash
minicom -s

Choose the option: File transfer protocols

And use the following configuration:

Code Block
themeMidnight
languagebash
 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

Warning

It's advisable to be aware of what kind of serial cable it's being used, since this may impact the minicom configuration.

Switch configuration - Control Plane Configuration

After configuring the minicom, the next step it's to configure the switch.

Access it using the following command:

Code Block
themeMidnight
languagebash
minicom

If the minicom was configured correctly, it will show a login screen. For the first access, use the following login and password:

  • Login: root
  • Password: pica8
Warning

After the first login, it's necessary to change the default password of the root user.

After, the login, execute the following command:

Code Block
themeMidnight
languagebash
picos_boot

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.

Info

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.

Code Block
themeMidnight
languagebash
reboot

Switch Configuration - OpenFlow Configuration

Also it's necessary to configure the Open vSwitch embedded in the Pronto Switch.

1 - The first step is to create a new bridge:

Code Block
themeMidnight
languagebash
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:

Code Block
themeMidnight
languagebash
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
Info
It's possible to add as many ports as the operator wants in the firmware version 2.1.5.
Info
If it's necessary to know the version being used, execute this command: version

3 - Verify if the ports were correctly added:

 

Code Block
themeMidnight
languagebash
ovs-ofctl show br0

 

The command should show an output similar to this one: 

4 - TODO

Code Block
themeMidnight
languagebash
ovs-vsctl set-controller br0 tcp:10.X.0.101:6633