Forum Discussion
DaleLeBlanc_140
Feb 19, 2015Nimbostratus
This 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!