How to Retrieve License on the firewall via CLI
94190
Created On 01/19/22 22:19 PM - Last Modified 03/10/23 21:09 PM
Environment
- Palo Alto Networks Device
- PAN-OS
Procedure
The user must be an admin user who can delete/retrieve the licenses via CLI as the non admin users will not have the privileges to perform the following steps:
- Log on to the firewall via SSH.
- Delete old license key on firewall as mentioned in the steps below:
- List the current installed license files by running the command delete license key > delete license key ?
- Delete the license key file with the following command > delete license key <license name> (Note: The Tab key can be used to auto-complete the file name.)
- Confirm the deletion by executing the following command and the expired license should no longer be listed > request license info
- Retrieve license key if the firewall has internet connection:
- Option 1 Using the Web UI:
- Select the device tab, then the license link in the left column.
- Select the retrieve license
- Option 2 Fetch the licenses using the following CLI command:
- > request license fetch
- Option 1 Using the Web UI:
- Upload license key manually if the firewall does not have internet connection:
- If the firewall does not have internet connection, manually download the license key from Customer Support Portal:
- (Assets > Devices > filter by SN > click the download icon next to the License name in the License column to download the License key.
- Upload the License key from your system to the firewall (Device > Licenses > Manually upload license key).
- If the firewall does not have internet connection, manually download the license key from Customer Support Portal: