Forum Discussion
Sam_Hall
Nimbostratus
Feb 02, 2018iRule to query the hostname and/or management IP?
I'm trying to figure out how I an iRule can determine the device it's running on. I looked at the ip_addr command, but I couldn't get it to output anything useful... https://devcentral.f5.com/wiki/iRules.ip_addr.ashx
- THi
Nimbostratus
For hostname you can use iRule command: tcl_platform(machine) - Returns the hostname of the BIG-IP
See: https://devcentral.f5.com/wiki/iRules.tcl_platform.ashx
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