Forum Discussion
CLI Command to Identify Wide IPs Using L4 vs L7 Monitors
- Jun 17, 2025
Hi Nizar
Try below script:
echo "=== Wide IPs using L4 Monitored Pools (tcp, tcp-half-open) ==="
for pool in $(tmsh list gtm pool one-line | grep -E 'monitor (tcp|tcp-half-open)' | awk '{print $3}'); do
echo "Pool: $pool"
tmsh list gtm wideip one-line | grep "pool $pool"
done
echo
echo "=== Wide IPs using L7 Monitored Pools (http, https) ==="
for pool in $(tmsh list gtm pool one-line | grep -E 'monitor (http|https)' | awk '{print $3}'); do
echo "Pool: $pool"
tmsh list gtm wideip one-line | grep "pool $pool"
done
Reference: K000149309: How to display a list of wide IPs with corresponding pools and pool member IP addresses?
Hi Nizar
Try below script:
echo "=== Wide IPs using L4 Monitored Pools (tcp, tcp-half-open) ==="
for pool in $(tmsh list gtm pool one-line | grep -E 'monitor (tcp|tcp-half-open)' | awk '{print $3}'); do
echo "Pool: $pool"
tmsh list gtm wideip one-line | grep "pool $pool"
done
echo
echo "=== Wide IPs using L7 Monitored Pools (http, https) ==="
for pool in $(tmsh list gtm pool one-line | grep -E 'monitor (http|https)' | awk '{print $3}'); do
echo "Pool: $pool"
tmsh list gtm wideip one-line | grep "pool $pool"
done
Reference: K000149309: How to display a list of wide IPs with corresponding pools and pool member IP addresses?
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