Junos Automation (Scripting)
Highlighted
Junos Automation (Scripting)

Simple NAT pool delete event script will not delete NAT pool

12.21.10   |  
‎12-21-2010 05:15 AM

I have the following attached event script that will not delete a simple NAT pool.

 

The add script (not attached) adds a pool range just fine, but deletes will not work at all.

 

The script framework works fine on an EX, but on an SRX, deletes seemingly do not work properly.

 

Can anyone locate my mistake, or error,....????

 

event-options {

 generate-event {
     nat-pool-delete time-of-day "12:55:00 +0000";
 }
 policy nat-pool-delete-policy {
     events nat-pool-delete;
     then {
         event-script delete-nat-pool-ip-range.slax;
     }
 }
 event-script {
     file delete-nat-pool-ip-range.slax;
 }

Attachments

1 REPLY
Junos Automation (Scripting)

Re: Simple NAT pool delete event script will not delete NAT pool

12.22.10   |  
‎12-22-2010 07:01 AM

I have upgraded to the latest 10.4R1.9 and I still get the same results, the SRC will not delete the NAT pool.

 

Anyone have any ideas?

 

I have setup "traceoptions", and perused a few seemingly revelent logs, but to no avail.

 

Any help would be great ...

 

Thanks ...