Forum Discussion
nitass
Employee
I began my script in the .txt as
cli script VS_name.tcl{
....
}
i thought you are importing configuration (not tmsh scripting).
the following is an example when importing from terminal. anyway, configuration formatting is same.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule test
01020036:3: The requested iRule (test) was not found.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) load sys config from-terminal merge
Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
ltm rule test {
when CLIENT_ACCEPTED {
log local0. ""
}
}
Loading configuration...
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule test
ltm rule test {
when CLIENT_ACCEPTED {
log local0. ""
}
}
by the way, do not forget to save (tmsh save sys config) after importing.
vvc5042_164605
Aug 12, 2014Nimbostratus
Hi, thanks for the reply and yes that was my original question with the iRules. But I am trying the same method with a tmsh script, as in uploading a tmsh script from a .txt file to the F5 using the same method as I was uploading the iRule.