Thiyagu
Apr 26, 2021Cirrus
F5 LTM command options to get the name of pool from the name of the host
Hello All,
Hope you all doing good. I'm working on a search options to get the pool name from the provided host name from all partition.
From the below command I'm finding the pool name but along with the pool name I'm finding other configuration as-well and I need only the pool name.
list ltm pool one-line recursive | grep "HOST_SERVER1"
Outputout as below
<SNIP>
ltm pool TESTING/pool-TEST
</SNIP>
Expected output:
pool-TEST
Could you please help is there any other possible ways wherein I can get only the pool name of the associated host?
Regards,
Thiyagu