Forum Discussion
KT_271103
Nimbostratus
May 01, 2017Query Pool names
Hello,
I tried below command to get list of pool names using node IP. Able to retrieve corresponding pool names but additional few pool names are falling. Anyone explain why ? Any modification need for below command ?
list ltm pool | grep -B 20 x.x.x.x | grep ltm pool
- KT_271103
Nimbostratus
What do you mean Formatting issue ? I checked single IP address in only one corresponding F5 device.
What it means "-B 20" ?
- IainThomson85_1
Cumulonimbus
-B 20 = 20 Lines before the line you're looking for.
- Stanislas_Piro2
Cumulonimbus
Hi,
with
command, you can add thelist ltm pool
option to return each object in one line... (awk is not supported in TMSH, you must leave TMSH to execute this command)one-line
tmsh list ltm pool one-line | grep x.x.x.x | awk '{print $3}'
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects