Forum Discussion

2 Replies

  • You could use

    tmsh list ltm virtual one-line | grep SSL_PROFILE_NAME
    . It's not the prettiest response, but it does the trick. Then you can just grab the name of the virtual from each response line

  • You could also try:

    tmsh list ltm virtual | awk '/(ltm virtual|)/' | grep -B1 ""

    **If you want to make it look alittle cleaner a sed one-liner at the end may help:

    tmsh list ltm virtual | awk '/(ltm virtual|)/' | grep -B1 "" | sed -e 's/{//g;s/--//g'