Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

I would like to know command for check GTM Wide IPs, Pool, Server for compare status

T-Trust
MVP
MVP

Hi i have plan upgrade version f5 gtm and it has many wide ips, pool and server , I would like to know command for check GTM Wide IPs, Pool, Server for compare status

4 REPLIES 4

f51
Cirrostratus
Cirrostratus

To check the status of GTM Wide IPs, Pools, and Servers on an F5 device, you can use the following tmsh (Traffic Management Shell) commands:
1. To check the status of Wide IPs:
`tmsh show gtm wideip`
2. To check the status of Pools:
`tmsh show gtm pool`
3. To check the status of Servers:
`tmsh show gtm server`

You just need to take the output of those and compare it with new config.

Thank you so much

Hi T-Trust,

 

 

In bash mode I use this command most frequestly:

tmsh show gtm wideip a all detail | grep 'WideIp\|Destination'

and copy and paste the output of the above coomand from f5 CLI to Notepad++ or any other similar notepad type application and then pull/paste the output in MS Office Excel sheet and then use DATA  TAB, and there is one option for converting text to columns 

F5_Design_Engineer_0-1696827362612.png

And use  Delimited radio button and run the Wizard to convert F5 Command output text command output to mulitple colums for easy readability. you can check an article in Google for Excel how to convert TEXT TO COLUMS

F5_Design_Engineer_1-1696827362654.png

 The following command will find pools with a return to DNS option and print the name of the pools.

tmsh -c 'cd /; list gtm pool recursive all-properties one-line' | awk '/return-to-dns/{print $4}'

My Other GTM master Commands which i use frequently and keep customizing them based on the requirement

My Other GTM master Commands you can try to get more results of your choice

bash mode

netstat -na |grep 4353

tmsh list /gtm server all

tmsh list gtm wideip a one-line
tmsh list gtm wideip aaaa one-line
tmsh show gtm wideip a detail
tmsh show gtm wideip a pools
tmsh show gtm wideip a all

tmsh show gtm listener
tmsh show gtm listener all-properties

tmsh show gtm pool a detail
tmsh show gtm pool a detail field-fmt
tmsh show gtm pool a members detail
tmsh show gtm pool a members fireld-fmt
show gtm pool a members field-fmt server

tmsh show gtm server all detail
tmsh show gtm server detail virtual-servers
tmsh show gtm server detail virtual-servers field-fmt
tmsh list gtm server addresses virtual-servers

tmsh show gtm server detail
tmsh show gtm server detail all

tmsh list net self all-properties
tmsh list gtm listener all-properties
tmsh list gtm listener vlans

tmsh show sys ip-address all-properties

tmsh show gtm wideip A all detail | grep 'WideIp\|Destination'

tmsh show gtm all detail | grep -e -i Gtm::Server -e "Server"

tmsh show gtm wideip a all detail | grep -e -i -n NAME_OF_YOUR_GTM_SERVE

tmsh show gtm wideip a all detail | grep -i -e Gtm::Pool::A grep -i -e 'Pool\|Destination'

tmsh show gtm wideip a all detail | grep -i -e Gtm::Pool::A grep 'Pool\|Destination'

tmsh show gtm wideip a all detail | grep -i -e Gtm::Pool::A | grep -i -e 'Pool\|Destination' grep -i -e 'Pool\|Destination'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e Gtm::Pool::A grep -i -e 'Pool\|Destination'

only one pipe

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e Gtm::Pool::A grep -i -e 'Pool\|Destination'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -i -e NAME_OF_YOUR_GTM_SERVER

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -i -e NAME_OF_YOUR_GTM_SERVER

tmsh show gtm wideip a all detail | grep -i -e '^gtm' grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -i -e 'NAME_OF_YOUR_GTM_SERVER$'

tmsh show gtm wideip a all detail | grep -i -e '^gtm' grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' | grep -i -e '^NAME_OF_YOUR_GTM_SERVER$' = No results

tmsh show gtm wideip a all detail | grep -i -e '^gtm' grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -i -e '\^NAME_OF_YOUR_GTM_SERVER$'

tmsh show gtm wideip a all detail | grep -i -e '^gtm' grep -i -e 'wideip\|Destination' grep -i -e '\^NAME_OF_YOUR_GTM_SERVER$'

tmsh show gtm wideip a all detail | grep -i -e '^gtm' grep -i -e '^NAME_OF_YOUR_GTM_SERVER$'

tmsh show gtm wideip a all detail | grep -i -e '^NAME_OF_YOUR_GTM_SERVER$'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -i -e '\NAME_OF_YOUR_GTM_SERVER'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -e -i Gtm::Server -e "Server" grep -i -e '\NAME_OF_YOUR_GTM_SERVER'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -e -i Gtm::Server -e "Server"

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -e -i Gtm::Server -e "Server" grep -i -e '$NAME_OF_YOUR_GTM_SERVER'

tmsh show gtm wideip a all detail | grep -i -e 'wideip\|Destination' grep -i -e 'Pool\|Destination' grep -e -i Gtm::Server -e "Server" grep -i -e '$*NAME_OF_YOUR_GTM_SERVER' -C 2

tmsh show gtm wideip a all detail | grep -i -e '$*NAME_OF_YOUR_GTM_SERVER' -C 1

tmsh show gtm wideip a all detail | grep -i -e '$*15*' -C 1

tmsh show gtm wideip a all detail | grep -i -e '$*gtm*' -C 3 grep -i -e '$*NAME_OF_YOUR_GTM_SERVER'


tmsh show gtm wideip a all detail | grep -i -e '$*gtm*' grep -e -i NAME_OF_YOUR_GTM_SERVER

 

gtm pool a (f5.com)

 

HTH

F5 Design Engineer  

F5_Design_Engineer_2-1696827361808.png

 

🙏

HaveahappydayYayGIF (2).gif

Hi

Thank you for information