- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-12-2022 10:15 PM
Hello,
In a previous post in the LiveCommunity forums ( PAN DB vs Advanced ) @SeanDeHarris advised how he manually solved an issue with updating URL Filtering from PAN-DB to Advanced URL filtering usin the article LICENSE ERRORS WHEN MIGRATING FROM PAN-DB URL4 TO ADVANCED URL FILTERING :
Here's the steps taken to fixed the PAN-DB lic issue in PANOS 8.1 by the following steps, and A-URL subscription can be shown in Web
1) Manually download the A-URL license file from the customer support portal (Fetch from the WebUI not working)
2) Install the A-URL lic key on your firewall (thru WebUI)
3) Use CLI to remove the old existing (PAN-DB) license
My question is - what is a good way to automat this as we have a customer with over 150 devices and it just doesn't make sense to fix each device maually ?
Thank you in advance,
Kobi
02-17-2022 03:26 AM - edited 02-17-2022 03:26 AM
Hi @Kobiher,
In your choice of scripting/programming language, you could perform the steps from the KB article programmatically for each firewall:
https://{{host}}/api?key={{key}}&type=op&cmd=<request><license><fetch/></license></request>
https://{{host}}/api?key={{key}}&type=op&cmd=<delete><license><key>PAN_DB_URL*</key></license></delete>
https://{{host}}/api/?key={{key}}&type=commit&cmd=<commit><force></force></commit>
https://{{host}}/api?key={{key}}&type=op&cmd=<show><url-cloud><status/></url-cloud></show>
Hope this helps
02-17-2022 03:26 AM - edited 02-17-2022 03:26 AM
Hi @Kobiher,
In your choice of scripting/programming language, you could perform the steps from the KB article programmatically for each firewall:
https://{{host}}/api?key={{key}}&type=op&cmd=<request><license><fetch/></license></request>
https://{{host}}/api?key={{key}}&type=op&cmd=<delete><license><key>PAN_DB_URL*</key></license></delete>
https://{{host}}/api/?key={{key}}&type=commit&cmd=<commit><force></force></commit>
https://{{host}}/api?key={{key}}&type=op&cmd=<show><url-cloud><status/></url-cloud></show>
Hope this helps
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!