Forum Discussion
cgwin12
Feb 03, 2023Altostratus
list command in cli for all vips with a sip profile and an authentication profile
I am looking for a list command that displays all vips, across all partitions, that have a sip or an authentication profile. I used a similar command that displays all vips, across all partitions, t...
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
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