Forum Discussion
Nick_T_68319
Oct 19, 2011Nimbostratus
Syntax for disabling a GTM Virtual Server
I am just trying to write a script that will go through and disable a bunch of GTM virtual servers, but I can't quite figure out the syntax. I don't want to disable the GTM server, but the virtual servers under it.
I tried modify gtm server my_server virtual-servers modify { 192.168.1.10:http } disabled
but this command just disabled the whole GTM. How do i just disable 192.168.1.10:http? I am a bit new to tmsh
- JRahmAdminYou're disabling my_server, not the whole GTM. A slight change in bracket location will help:
- Nick_T_68319NimbostratusWhen i run that command I get Syntax Error: properties must be enclosed in braces
- JRahmAdminsorry, forgot the inside backet there:
- Nick_T_68319NimbostratusBingo! Thanks Jason.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects