Forum Discussion

Mattews's avatar
Mattews
Icon for Cirrus rankCirrus
Jan 07, 2019

How to configure Standard network service via TMSH for a specific VS

I need to configure via TMSH the Standard mode for a VS now configured in Performance Layer 4.

 

  • Do you want to convert Performance Layer4 VS to Standard VS using TMSH ?

     

  • you may use this command:

    modify ltm virtual Myvirtual profiles replace-all-with {tcp-wan-optimized {clientside}  tcp-wan-optimized {serverside} }
    

    there is no information about performance L4 / Standard mode... only differences in profiles (fastL4 for Performance L4, tcp for Standard).

  • Matteo,

    The VS 'type' setting in the GUI is more like a template configuration. It doesn't change any property on the object itself but it does provide specific settings for commonly used VS configurations. If you want to change a Performance L4 VS into a standard VS, simply remove all of the profiles specific to Performance L4 and add the desired profiles in. Here is a command that will change the VS specified into a standard VS with a TCP and HTTP profile with SNAT Automap enabled.

    modify ltm virtual vs_example profiles replace-all-with { tcp http } source-address-translation { type automap }
    

    If you have any more questions, I am sure I can help.

  • TYPE field in GUI is friendly name .Assigning profile will automatically change the type field.

     

    Explained in below thread change virtual server type with TMSH command?