Forum Discussion
Wally_Steadman_
Jun 25, 2012Nimbostratus
create IRule in tmsh
Greetings all,
I am trying to create an IRule from the command line in tmsh and running into errors that I am not sure how to correct.
I know there are other tools out there such as I...
naladar_65658
Jun 25, 2012Altostratus
This compiles for me just fine
when HTTP_REQUEST {if {[class match [HTTP::uri] contains this_uri]}{pool my_test_pool_1} else {pool my_test_pool_2}}
You might try removing any extra spaces that you can. Do you have to have the bracket before when and the third bracket at the end? Haven't written an iRule in TMSH. The iRule Editor will become your best friend :)
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