Panorama IP Variable set to none/null possible?

Reply
L4 Transporter

Panorama IP Variable set to none/null possible?

I'm pretty sure this isn't supported and I haven't been able to get this to work.  I am attempting to use a single network interface template for multiple sites.  Some use 30 sub-interfaces and some may only use 3.  I want to push every sub-interface to all locations but only set IP variables on the ones that I need.  Does anyone know how to set a Layer 3 sub-interface and assign no value to the variable for ipv4?  Currently if it is set to "none" the commit will fail with message: Device xxxxxxxxxx variable table has undefined values, please use get value from device or define it first.  Unfortunately I want it to be defined as "none".

 

PS - I have also tried overriding at the stack level and removing the variable.  The GUI initially removes it but then it just comes back after a refresh.  This could be a bug.

L5 Sessionator

Re: Panorama IP Variable set to none/null possible?

As you stated, I do not think it is possible.

 

Why not populate all interfaces with a bogus address 99.99.99.99/32 in the template variable.

May be ugly, but gets the job done. 

 

 

Help the community: Like helpful comments and mark solutions
L4 Transporter

Re: Panorama IP Variable set to none/null possible?

You are correct... it works... it's ugly... and we want to avoid it.  Hopefully PAN will have a fix for this soon.  If I can do this directly on a firewall I should be able to template it out.

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 Live Community as a whole!

The Live Community thanks you for your participation!