Forum Discussion
F5-Hopeful
Oct 10, 2019Nimbostratus
Session table with Virtual Command
Is anyone able to tell me if you can store data in the session table using an iRule on one VS then recover it on a second VS, if the second VS is called via the virtual command in an iRule on the fir...
boneyard
Oct 14, 2019MVP
ok, did a quick test, tmos 13.1.1.4
vs1 with this irule
when HTTP_REQUEST {
set srcip [IP::remote_addr]
table add -subtable "blacklist" $srcip "blocked" 360 360
log -noname local0.info "send to virtual vs-test-02"
virtual /Common/vs-test-brt-02
}
then vs-test-02 with this irule
when HTTP_REQUEST {
set srcip [IP::remote_addr]
set result [table lookup -subtable "blacklist" $srcip]
log -noname local0.info "result is $result"
}
and this works for me
Oct 14 09:44:59 bigip1 info tmm[21812]: send to virtual vs-test-02
Oct 14 09:44:59 bigip1 info tmm[21812]: result is blocked
is your situation (very) different then this?
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