Forum Discussion
4 Replies
Sort By
- BigD_300005Cirrostratus
Log into the F5 via SSH to tmos. Go into the ltm process by typing "ltm" and enter. Then type: list pool load-balancing-mode
- Jeff_Witkowski_Altostratus
Thanks. I thought there might be a Big-IQ way because we've got hundreds of LTMs. And they're all in Big-IQ.
- BigD_300005Cirrostratus
If we had BIG-IQ I'd take a look. You may want to alter your question as you didn't mention anything about Big-IQ there. So you're not going to get any answers involving Big-IQ.
- Satoshi_Toyosa1Employee
If you need to get the
output from multiple hosts in one shot, you can use iControl REST. The following bash script gets the load-balancing-mode information from two hosts: 172.16.1.133 and 172.16.1.155. Assumed that the admin password was common for both boxes: i.e.,tmsh list pool load-balancing-mode
for i in 133 155; do echo -n $i curl -sku admin: https://172.16.1.$i/mgmt/tm/ltm/pool?\$select=loadBalancingMode \| python -m json.tool | fgrep '"loadBalancingMode"' done
For more information on iControl REST, visit iControl REST Home.