refresh external dynamic list real time with cli

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

refresh external dynamic list real time with cli

L0 Member

Hi,

I need to update in real time the external dynamic list IP. 

Looking for this doc https://docs.paloaltonetworks.com/pan-os/9-0/cli-reference/pan-os-9-0-configure-cli-command-hierarch... and cli command "find command keyword",didn't see any command help me to do the issue.

I think take a cli command and execute them with api request solve my problem.

My issue is block an IP when add to a list in real time. 

My version is PAN OS 9.1.

 

any idea to solve this problem?

 

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

Hi @gustavotelles ,

 

You can use below cli command to refresh EDL in real-time.

 

request system external-list refresh name <EDL-NAME>

 

 

M

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

Hi @gustavotelles ,

 

You can use below cli command to refresh EDL in real-time.

 

request system external-list refresh name <EDL-NAME>

 

 

M

L0 Member

Hi @SutareMayur 

your command worked, but before i needed to set up the vsys to work:

set system setting target-vsys <vsys name>

 

i created two api calls to do this jobs in real time.

"https://IPFIREWALL/api/?type=op&cmd=<set><system><setting><target-vsys>VSYSNAME</target-vsys></setting></system></set>&<key=APIKEY"

 

"https://IPFIREWALL/api/?type=op&cmd=<request><system><external-list><refresh><type><ip><name>EDLNAME</name></ip></type></refresh></external-list></system></request>&<key=APIKEY"

 

working fine, thanks for your help

  • 1 accepted solution
  • 14419 Views
  • 2 replies
  • 0 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!