Forum Discussion
Matthew_WV_1894
Nimbostratus
Feb 25, 2015new to iRules
Hello, I am trying to create an iRule that uses a specific persistence profile if the incoming IP address is a member of a datagroup. I created the datagroup of type address and added my IPs. I'm try...
- Feb 25, 2015
Your persist hash requires something to use as the hash.
https://devcentral.f5.com/wiki/iRules.persist.ashx
when CLIENT_ACCEPTED { if { [matchclass [IP::remote_addr] equals $::ABC]} { persist hash } else { persist source_addr } }
Matthew_WV_1894
Nimbostratus
Feb 26, 2015Thank you, much appreciated. That clears up why I was getting TCL errors as soon as I tested this rule:) Working now, thanks for the help.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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