Forum Discussion
steven_normole
Feb 09, 2024Cirrus
Setting static variables
I inherited a F5 that has an irule that is placed on a lot of virtual servers that contains a list of IP addresses that are trusted ip addresses. recently the irule broken traffic from one particula...
gersbah
Feb 09, 2024Cirrostratus
static is just a variable that is set once and shared across the whole TMM instead of being scoped to individual connections like other variables.
The static type doesn't really affect the usage of the variable, besides the fact that trying to change a static variable at runtime can have unintended consequences.
There's further reading on variables here and here, but in your case I suspect the real problem is rather with the logic further down in your iRule.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects