- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-14-2015 09:48 AM
I have a requirement to change the timeout values on all of the paloalto os preconfigured/default applications (2000+ applications). Using the web interface, it would require opening and configuring each individual application. Can anyone lend assistance by pointing me to a CLI script that can make easier work of this task.
Greg
09-14-2015 02:39 PM
Hi Greg,
Referencing this article, https://goo.gl/SyfLsM , you can use the following commands to set UDP and TCP timeouts:-
# set shared override application <application-name> udp-timeout <timeout-value>
# set shared override application <application-name> tcp-timeout <timeout-value>
You can leverage APIs as well:-
Browse to "API > Configuration Commands > shared > override > application" on PA firewall using "https://x.x.x.x/api" and select the application and then the path will look like (example 4shared application):-
API > Configuration Commands > shared > override > application > entry[@name='4shared'] > tcp-timeout
TCP TIMEOUT
XPath
/config/shared/override/application/entry[@name='4shared']/member[@name='tcp-timeout']
Rest API Url
/api/?type=config&action=get&xpath=/config/shared/override/application/entry[@name='4shared']/member[@name='tcp-timeout']
UDP TIMEOUT
API > Configuration Commands > shared > override > application > entry[@name='4shared'] > udp-timeout
XPath
/config/shared/override/application/entry[@name='4shared']/member[@name='udp-timeout']
Rest API Url
/api/?type=config&action=get&xpath=/config/shared/override/application/entry[@name='4shared']/member[@name='udp-timeout']
-Dinesh Moudgil
Please rate helpful posts.
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!