Forum Discussion
isavic
Nimbostratus
Feb 19, 2020How to use virtual command in F5 rule
I would like to use "virtual" in this context of my F5 iRule but it seems like it's not working the way I want to. Irule looks like this: when RULE_INIT { set static::iso85832003bitFormat [ list 0 ...
cjunior
Nacreous
Feb 20, 2020HI,
I couldn't find the virtual as command there on code, but, a simple word entry to send to log destination.
The virtual command statement will give you current virtual name or route the traffic to another virtual server as described here:
https://clouddocs.f5.com/api/irules/virtual.html
Are you trying to write current virtual server name from iRule?
e.g.
HSL::send $hsloneconnectrtcload "(CLIENT_ACCEPTED-oneconnectrtcload) [virtual name] is connected\n"Regards.
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
