Licenses on an NSX Advanced Load Balancer Controller can be checked by navigating to on the UI. Trial licenses cannot be removed using UI or CLI. NSX Advanced Load Balancer REST API is used to remove trial license.
Follow the instructions mentioned below to remove trial licenses from an NSX Advanced Load Balancer Controller.
Enable HTTP Basic authentication:
Log into NSX Advanced Load Balancer UI, navigate to , and click EDIT.
Under Access, select Allow Basic Authentication to activate HTTP basic authentication.
cURLcommand to delete the trial license
Run the following
cURLcommand from a host which can reach the NSX Advanced 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://22.214.171.124/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 NSX Advanced Load Balancer Controller UI and ensure that it is not listed.in the