Forum Discussion
Amine_Kadimi
Feb 03, 2023MVP
Hi, tweaking your command a little bit:
tmsh list ltm virtual /\*/* one-line | grep -v 'sip\|auth' | cut -d' ' -f 3
This is using the unix grep command to do a reverse lookup (ie. exluding lines including) sip or auth on the output of the list ltm command.
grep and cut are standard unix commands, you can find plenty of help resources or read their man page. list is a tmsh command and here is the quick reference for tmsh: https://clouddocs.f5.com/cli/tmsh-reference/latest/general/tmsh.html