Forum Discussion
Parveez_70209
Nimbostratus
Feb 04, 2014How to Apply Irule Through CLI: Idea is to Share the tmsh script to create a Batch script which Windows Team can work edit accordingly
Hi Team,
The below is the Irule which we apply for the maintenance page which we applied through GUI, Kindly assist in letting know how can we apply through CLI,. This we need to give it to Applica...
DaleLeBlanc_140
Nimbostratus
Feb 19, 2015This works from me from CLI (but not from tmos shell). If I issue command from within tmos, it opens an editor. However, entering from advanced shell, it works:
tmsh create ltm rule RULE_NAME XXX; where, XXX is the iRule. Here is exact example that modifies a header:
tmsh create ltm rule MYRULE when HTTP_REQUEST { HTTP::header replace "Host" "4.2.2.2" }
Good luck!
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