Licenses on an Avi Load Balancer Controller can be checked by navigating to on the UI. Trial licenses cannot be removed using UI or CLI. Avi Load Balancer REST API is used to remove trial license.
Follow the instructions mentioned below to remove trial licenses from an Avi Load Balancer Controller.
Instructions
Enable HTTP Basic authentication:
Log into Avi Load Balancer UI, navigate to , and click EDIT.
Under Access, select Allow Basic Authentication to activate HTTP basic authentication.
Use
cURL
command to delete the trial licenseRun the following
cURL
command from a host which can reach the Avi Load Balancer Controller:curl -k --user admin -X DELETE --header 'Accept: application/json' --header 'X-Avi-Version: <Controller-Version>' 'https://<controller-address>/api/license/Trial'
Example for the cURL command is shown below:
curl -k --user admin -X DELETE --header 'Accept: application/json' --header 'X-Avi-Version: 21.1.1' 'https://1.2.3.4/api/license/Trial'
Above command will prompt for the admin password. Enter the password for the admin account.
Verify the changes:
To verify that the trial license is removed from the system successfully, navigate to Avi Load Balancer Controller UI and ensure that it is not listed.
in the