What tmsh command do I use to view pool members and their addresses

I have been using

tmsh list ltm pool

and using grep, awk, and sed but it is more tedious than I would like. Is there a more specific command?

If there is no command, is there a reference place I can look at to see the commands that do work? Like a man page for

tmsh list

I found this from an old post longtime ago.. Try and let me know

tmsh show ltm pool Pool_name members field-fmt |grep "ltm\ pool\|addr\|monitor-status"

Found it! Here is the post.

That was awesome. I just modified a bit to show the port no also for being more precise result.

basically we can dig this script as below steps. 1. tmsh show ltm pool pool_name 2. tmsh show ltm pool pool_name members 3. tmsh show ltm pool pool_name members field-fmt 4. tmsh show ltm pool pool_name members field-fmt|grep “ltm\ pool|addr|monitor-status”

run each commands one after another and you will understand the complete scenario.

I want to know the pool member priority how can I get it ?

try this

list ltm pool members | grep '^ltm\|:\|priority'

Thanks a lot.