Forum Discussion
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.
4 Replies
- John_Buchanan
Nimbostratus
What version are you running? I'd start with the TMSH reference guide, here's the link for 11.6.0, https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-tmsh-reference-11-6-0.pdf - eben_240222
Nimbostratus
Sure you can copy and paste configs to the CLI. you have to be in tmsh mode to do that.
- itchmyhead_2560
Nimbostratus
It appears that I am in TMSH mode. Are there any specific examples of how you write the configurations up?
- Michael_Jenkins
Cirrostratus
You can use the
command withinload sys config from-terminal merge verify
and then paste the new/updated config and then hittmsh
to execute. That command will verify the changes.Ctrl + DThen you can use the
command and paste the config andload sys config from-terminal merge
to actually update the config.Ctrl + DNote: 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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