Forum Discussion
avnishvyas_1974
Nimbostratus
May 28, 2015Datalist Group I rule function
when CLIENT_ACCEPTED {
if { not [matchclass [IP::client_addr] equals $::Pool_Test_Allowed_List] } {
Comment the line below to turn off logging.
log local0. "...
avnishvyas_1974
Nimbostratus
May 28, 2015Hi Michael J
Thanks for your response the code im running is BIG-IP 10.2.2 Build 930.0 Hotfix HF3 The reason i selected Matchclass is because I have another rule working the same function for a different whitelist I will have to try both out if this code allows me to use class instead of matchclass.
Cheers AV
Michael_Jenkins
Cirrostratus
May 28, 2015Gotcha. We're on v11.x, so part of the matchclass syntax fails (you can check out the matchclass wiki page for details). According to that wiki page, the matchclass is 'deprecated' in v10 in favor of the class command instead too.
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