...
4. Choose how the IP address of the management interface should be configured: DHCP or static IP. If Static IP is chosen, values for static IP address, subnet mask, and default gateway must be provided. If DHCP is chosen, no more questions are asked.
Code Block |
---|
admin@LEAF-A$sudoA$ sudo picos_boot Configure the default system start-up options: (Select key 3 if no change) [1] PICOS L2/L3 * default [2] PICOS Open vSwitch/OpenFlow [3] Quit Enter your choice (1,2,3):2 PICOS Open vSwitch/OpenFlow is selected. Configure the IP of management interface: [1] DHCP [2] Static IP Enter your choice(1,2):2 Note: The OVS server, by default, uses static local management IP and port 6640. vSwitch, by default, connects to the server via PTCP. Set a static IP and netmask for the switch (128.0.0.10/24):192.168.42.120/24 Set the gateway IP (172.168.1.2):192.168.42.1 Please restart the PICOS service |
...
5. Restart the picos service to activate PicOS OVS mode.
Code Block |
---|
admin@LEAF-A$sudo systemctl restart picosA$ exit admin@LEAF-A> request system reboot (No print here, it will cost few minutes for PICOS to restart.) admin@LEAF-A$ |
As an alternative to restarting the picos service, user can just reboot the switch to bring the PicOS mode change into effect.
Code Block |
---|
admin@LEAF-A$sudoA$ sudo reboot Broadcast message from root@PicOS-OVS (pts/0) (Sun Aug 16 21:18:48 2015): The system is going down for reboot NOW! Username: admin Password: admin@PicOS-OVS$ |
...
3. Enter option 1 to select L2/L3 mode.
Code Block |
---|
admin@PicOS-OVS$sudoOVS$ sudo picos_boot Configure the default system start-up options: (Select key 3 if no change) [1] PICOS L2/L3 [2] PICOS Open vSwitch/OpenFlow * default [3] No start-up change Enter your choice (1,2,3):1 PICOS L2/L3 switch system is selected. Please restart the PICOS service |
4. Restart the picos service to activate PicOS L2/L3 mode.
Code Block |
---|
admin@PicOS-OVS$sudoOVS> systemctlrequest restartsystem picosreboot (No print here, it will cost few minutes for PICOS to restart.) admin@PicOS-OVS$ |
...