Forum Discussion
lboogie25_20449
Dec 13, 2015Nimbostratus
Basic iRule
Sirs and Ma'ams:
I'm new to F5 (even newer to iRules) and I'm stuck on comprehending the operators/commands. What I'm trying to do is handle traffic from Linux machines and send to one pool whil...
nathe
Dec 13, 2015Cirrocumulus
Lboogie25, looks like there's no ] after your first TCP::local_port == 80 command.
This should sort but a word on your irule. As your first if statement is duplicated ie your checking the remote address, you could clean it up by using a nested if statement and using if/elseif.
See https://devcentral.f5.com/articles/irules-101-13-nested-conditionals for what I mean.
Hope this helps,
N
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