Forum Discussion
Brian_69413
Nimbostratus
Nov 27, 2007logic based on Virtual Server
I have an iRule that is applied to multiple Virtual Servers but should take different actions depending on which one triggers the rule. Is there a way to to perform logic based on Virtual Server? ...
JRahm
Admin
Nov 27, 2007You could use a switch:
switch [virtual name] {
"vip1" {
do stuff here ....
}
"vip2" -
"vip3" {
do different stuff here ....
}"
default {
do default stuff here ....
}
}
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