Question: how to use tmsh in f5?
Answer:  Enter tmsh shell if you are not already in it from the F5 Advanced Shell. ... 
 Enter the CLI Script mode, type cli script then press enter. ... 
 Create your new application and enter the editor, type edit where filename is the name of the program you are creating or importing. ... 
 Cut & paste code.