Forum Discussion
Disable specific interface via iControl?
Hi
Can we disable specific interface via iControl?
ie when F5 failover. (status change from Active to standby , ) I want monitoring tool to send icontrol command to disable some interface on F5 standby unit. we have problem with BGP peering which router still peer with standby unit so I need to disable that Interface.
Kridsana
- iaineNacreous
Hi
Yes, details for this can be found here -> https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_net_interface.html
So to enable 1.1 you would send something like
curl -k -u admin:<password> https:/-X PATCH -H "Content-Type: application/json" https://<bigip>/mgmt/tm/net/interface/1.1 -d '{ "enabled":true }'
...and to disable 1.1...
curl -k -u admin:<password> -X PATCH -H "Content-Type: application/json" https://<bigip>/mgmt/tm/net/interface/1.1 -d '{ "disabled":true }'
Recent Discussions
Related Content
* 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