Forum Discussion
Shawn_Higgin_84
Nimbostratus
Dec 28, 2005How to disable all traffic on bigip
Hi,
I have been asked to come up with a way from command line to disable all load balanced traffic on a bigip for an emergency "restart" of the site. Is there a way via icontrol to disable ALL VIPs with one command? Of course this user would need admin access.
Any information/suggestions would be greatly appreciated.
Thanks,
Shawn
- Not quite one command, but you could do it with two method calls.
string [] vs_list = LocalLB::VirtualServer::get_list(); EnabledState [] state_list = new EnabledState[vs_list.Length]; for(int i=0; i{ state_list[ i ] = "STATE_DISABLED"; } LocalLB::VirtualServer::set_enabled_state(vs_list, state_list);
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