Is there a way to get the TMSH configuration for a specific virtual server in one command? So all the node, pool, monitor statements included as well. The idea is to be able to quickly ‘clone’ a vs config this way for use in our testing environment.
The way I do it now is saving an SCF file, copy/pasting the required config elements to a text file, making the required modifications for testing purposes, and then uploading that configuration to the LTM. Because this starts with a full config file, this is not hard, but as these bits are all over the config file there’s a good chance of missing things.
I think there is no single cmd, but I guess you can build a sequence a tmsh cmds which can be executed sequentially and repeatedly. Not sure if it’s better than your current option of loading the full config
Update on this: I talked to our F5 rep about this, and there is currently no easy way of doing it, other than through a selective copy/paste of the main config.