Forum Discussion
How to get Virtual servers associated with a specific SNAT pool
Here is another way of getting information for specific Snat Pool looking through multiple partitions.
To get a list of all your snat pools -> tmsh list /ltm snatpool
To get a detail list of all vips using a specific snat pool
tmsh -c "cd /;list ltm virtual one-line recursive" | grep "Snat_Pool_Name"
To get a smaller list with hostname and VIP use the below command.
tmsh -c "cd /;list ltm virtual one-line recursive" | grep "Snat_Pool_Name" |grep -oe "destination \S\+" | cut -d: -f1
You will end up with destination hostname/vip address that contains Snat Pool called Snat_Pool_Name.
hope this helps someone.
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