Forum Discussion
Danims_19205
Nimbostratus
Nov 28, 2012how to create a Statistics Profile
Hello everyone:
I need see the total connections for a specific network in a vserver. I´m reading about cretion irule but i need some help! con you help me? I have one f5 ltm 6900 v10.2.4
T...
What_Lies_Bene1
Cirrostratus
Dec 13, 2012I'm not sure switch matches client addresses to subnets like an if statement would? If it does, you need some quotation marks at least;
when CLIENT_ACCEPTED {
switch [IP::addr [IP::client_addr]] {
"10.120.0.0/16" { STATS::incr mystats Stats_GER 1 }
"10.110.0.0/16" { STATS::incr mystats Stats_CZ 1 }
default { STATS::incr mystats Stats_Other 1 }
}
}
[/codeHelp 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