Schedule cli command execute

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Schedule cli command execute

L1 Bithead

Hi all,

 

I need schedule some cli command which i execute manually from SSH console like below;

 

Command line 1: test vpn ipsec-sa tunnel Xtunnelname:XtunnelProxyId

Command line 2: test vpn ike-sa gateway Xtunnelname

 

Is there any way schedule tasks in palo alto?

 

Regards.

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

there's no way to schedule CLI commands, but you could set up a different system to send API calls to accomplish this

 

but: Why are you looking to schedule these commands? Is it to keep a tunnel alive? If you set up tunnel monitoring, the monitor ping will keep the tunnel up also.

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

@Lacrymae 

As per my info there is no way to schedule cli commands in PA.

Lets see if someone adds to this.

 

You can ask your SE for feature request if you really need this.

 

Regards

 

MP

Help the community: Like helpful comments and mark solutions.

Cyber Elite
Cyber Elite

there's no way to schedule CLI commands, but you could set up a different system to send API calls to accomplish this

 

but: Why are you looking to schedule these commands? Is it to keep a tunnel alive? If you set up tunnel monitoring, the monitor ping will keep the tunnel up also.

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 1 accepted solution
  • 3457 Views
  • 2 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!