Installing and Removing License for PICOS go2cli Version


Installing License under CLI Operation Mode

The following steps describe how to install a license under CLI operation mode for PICOS go2cli version.

Step 1    Before loading a license, upload the license file to the device. The following example uploads the license file 10GE-SITE-PICA8.lic  to the default path.

By default, the TFTP downloaded file is saved in directory /cftmp/.

admin@XorPlus> file tftp get remote-file /tftp/license/10GE-SITE-PICA8.lic local-file 10GE-SITE-PICA8.lic ip-address 10.10.50.22

Step 2    Run the license install <file-name> command to install the license.

admin@XorPlus> license install /cftmp/10GE-SITE-PICA8.lic

When the license has been successfully installed, it will display the following information:

License successfully added, the switch need to be rebooted to activate the license.

Step 3    Reboot the switch or restart PICOS to activate the license. Choose either one:

  • Reboot the switch
admin@XorPlus> request system reboot
  • Restart PICOS service
admin@XorPlus> start shell sh
admin@XorPlus:~$ sudo service picos restart
admin@XorPlus:~$ exit
admin@XorPlus>

Step 4    After PICOS starts up, run the license show command to view the license information.

admin@XorPlus> license show
{
               "Type":    "10GE",
               "Feature": ["Base Product", "Layer3", "OpenFlow"],
               "Support End Date":  "2020-10-28",
               "Hardware ID":        "196B-A2AE-147A-73F2",
               "Site Name":            "PICA8"
}

Removing License under CLI Operation Mode

The following steps describe how to remove a license under CLI operation mode for PICOS go2cli version.

admin@XorPlus> license remove
admin@XorPlus> license show
No license installed. Use below information to create a license.
Type: 10GE
Hardware ID: 196B-A2AE-147A-73F2

Copyright © 2024 Pica8 Inc. All Rights Reserved.