For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Lapsio's avatar
Lapsio
Icon for Altostratus rankAltostratus
Nov 21, 2018

Remove vs type field (eg. ip-forward or l2-forward) using TMSH?

I'm trying to get around tmsh config editing. I made following standard test vs:

destination 192.168.2.0:any
mask 255.255.255.0
profiles replace-all-with {
    ipother{}
}
source 0.0.0.0/0
translate-address disabled
translate-port disabled

Then I modified vs using tmsh by adding

l2-forward
field:

destination 192.168.2.0:any
l2-forward
mask 255.255.255.0
profiles replace-all-with {
    ipother{}
}
source 0.0.0.0/0
translate-address disabled
translate-port disabled

And now I'm unable to remove this field. When I use

edit
command, remove this line and save - nothing happens. I can't seem to use
delete
command on this field (
delete ltm virtual test l2-forwarding
) either because it says that
l2-forward
is read only property. So how can I remove this field from vs using tmsh? GUI allows to change vs type to standard and such operation removes this line from config but I don't know how to achieve this using tmsh

1 Reply

  • It appears (in v13.1.0.7) that once you pick a specific type of virtual server, you cannot convert that virtual server to a standard virtual server via TMSH. You can change it from one specific type to another (e.g. l2-forward can be changed to ip-forward), but there is no obvious way to change back to a standard virtual server.