Forum Discussion
How to get the pool member IP in GTM with Cli
Pool member IP addresses do not appear in the BIG-IP GTM 11.x output for this command. They were shown in v10.x and do appear once again in 12.x. SOL12373 has been updated (not published yet as of May 2016) with this information.
(1) To view the pool member IP addresses in v11.x you can display a server object's (shown in the wideip output) summary using the following syntax:tmsh show gtm server detail
or...
(2) Use this one-liner which shows the wideip and then pulls the server names from the output to use them as arguments for the show server command:
tmsh show gtm wideip detail;tmsh show gtm wideip detail | grep Member | awk '{print $5}' | cut -d':' -f2 | xargs tmsh show gtm server detail
- Ahmed_Mostafa_2Mar 21, 2017Nimbostratus
I try the following command (show gtm wideip A all detail | grep 'WideIp|Destination')
- Ahmed_Mostafa_2Mar 25, 2017Nimbostratus
sorry the command (show gtm wideip A all detail | grep 'WideIp|Destination')
- Ahmed_Mostafa_2Mar 25, 2017Nimbostratus
sorry Back Slash not appear from comments and Back Slash between WideIp and Destination as the following: WideIp(Back Slash)|Destination
- adb_11155Mar 27, 2017Historic F5 Account
The original question asked how to get pool member IPs associated with a wideip in the CLI of v11.x since they do not appear in the wideip command output. So my suggestions above are specific to v11.x. In v12.x, the IPs are shown with the wideip command so, as you found, you don't need to use the one-liner I posted.
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