F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

antienho_01_141's avatar
antienho_01_141
Icon for Nimbostratus rankNimbostratus
Jan 10, 2014

TMSH VS create vs GUI VS create

Just try the VE 11.4.1, while in create a VS in tmsh CLI.. the default template give 2 standard lines as (in http_vs) translate-address disabled translate-port disabled Q1: how can I remove these 2 lines in CLI without delete the VS? Q2: these 2 lines does not not exists IF I use GUI interface. Why they (CLI and GUI creation) are different? (please comapre http_vs and test2_vs)..

 

Thannks

 

ltm virtual http_vs { description "F5 lab vs" destination 10.128.10.20:http ip-protocol tcp mask 255.255.255.255 pool http_pool profiles { tcp { } } source 0.0.0.0/0 translate-address disabled translate-port disabled vs-index 3 } ltm virtual test2-vs { destination 10.128.10.30:http ip-protocol tcp mask 255.255.255.255 pool http_pool profiles { tcp { } } source 0.0.0.0/0 source-address-translation { type automap } vs-index 4 }

 

1 Reply

  • BinaryCanary_19's avatar
    BinaryCanary_19
    Historic F5 Account

    First off, when you create a VS via CLI, those two options you have identified are usually "disabled", which is usually not what you want, so it is advisable to modify those back to "enabled". -- Perhaps this is a poor default behaviour that should be changed... if you feel like it's worth it, request an RFE via the normal channels.

     

    When you do create the VS via the GUI, those values are at their default value when undefined (which is "enabled"). That is why they are not present.

     

    If you toggle any one of them, they magically become part of your configuration.

     

    In summary, some configuration lines appear in your config files only after they have been modified from their defaults. Creating a VS via TMSH toggles "translate-address" and "translate-port" from their default values.

     

    Their presence should not bother you so much as whether or not they have the "correct" value.