F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Khaled_HA's avatar
Khaled_HA
Icon for Altocumulus rankAltocumulus
Aug 18, 2023
Solved

How to get Virtual servers associated with a specific SNAT pool

Hi Everyone, I need your help as I am trying to get the VSs that are associated with a specific SNAT pool from the command line.   Thanks!
  • JRahm's avatar
    JRahm
    Aug 21, 2023

    Hi Khaled_HA, you can use awk to print only the virtual name, so to expand on what was provided earlier:

    tmsh list ltm virtual one-line | grep "pool SNAT_POOL_NAME" | awk '{print $3}'