Forum Discussion
F5Learn
Jul 19, 2019Nimbostratus
iRule: Same host two ports, if port 1 is not listening traffic should not go on port 2
Any sample iRule available for below scenario? or any other functionality available in F5 that i can use for below case. Scenario: One host have service1 listening on port 1 (pool#1) and ftp t...
Lee_Sutcliffe
Jul 19, 2019Nacreous
You could use a Local Traffic Profile or an iRule to check that both pools are available before selecting the pool for your FTP service.
I've provided an example of an iRule below:
when CLIENT_ACCEPTED {
if {([active_members pool1] < 1) && ([active_members pool2] < 1)} {
pool pool2
}
}
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