Command Line Help

Please excuse me if this question has been answered. I am rather new with using the F5 product and would love some direction. I want to be able to do most of my work through the command line and am running into a road block. Is it possible to cut and paste config into the command line that I need? I need to be able to create a Pool, Virtual Server, and Monitor with just a cut and paste from a text file. Any direction would be much appreciated.

What version are you running? I’d start with the TMSH reference guide, here’s the link for 11.6.0, 404 Page not found | BIG-IP Documentation

Sure you can copy and paste configs to the CLI. you have to be in tmsh mode to do that.

It appears that I am in TMSH mode. Are there any specific examples of how you write the configurations up?

You can use the

load sys config from-terminal merge verify

command within

tmsh

and then paste the new/updated config and then hit

Ctrl + D

to execute. That command will verify the changes.

Then you can use the

load sys config from-terminal merge

command and paste the config and

Ctrl + D

to actually update the config.

Note: You don’t have to do the verify before the merge, but it makes me feel safer knowing there’s not conflicts or syntax errors in the config