Forum Discussion
Thiyagu
Cirrus
Aug 25, 2019LTM command to get the list of VIPs and it is associated SSL profile from all partition
Hello All,
I'm looking for a LTM command which would help to get the list of VIPs and it is associated SSL profile from all partition.
Could you please suggest me on this?
Regards,
Thiyagu
Hi Thiyagu,
I tried to filter it with grep:
tmsh cd .. list ltm virtual recursive | grep -B 1 -E "ltm virtual|context clientside|context serverside"
If you want to see all-properties:
tmsh cd .. list ltm virtual recursive one-line | grep -E "context clientside|context serverside"
- Dario_Garrido
Noctilucent
You can use this
tmsh list auth partition | grep auth | awk '{print $3}' | xargs -I [] tmsh list ltm virtual /[]/* profiles { $(tmsh list ltm profile client-ssl | grep profile | awk '{ print $4}' | tr '\n' ' ') $(tmsh list ltm profile server-ssl | grep profile | awk '{ print $4}' | tr '\n' ' ') }
KR,
Dario.
- Dario_Garrido
Noctilucent
Or even better
tmsh -q -c "cd / ; list ltm virtual recursive profiles { $(tmsh -q -c "cd / ; list ltm profile recursive client-ssl" | grep profile | awk '{ print $4}' | tr '\n' ' ') $(tmsh -q -c "cd / ; list ltm profile recursive server-ssl" | grep profile | awk '{ print $4}' | tr '\n' ' ') }"
KR,
Dario.
- Thiyagu
Cirrus
Thanks a lot Dario and eaa.
Regards,
Thiyagu
- Dario_Garrido
Noctilucent
You are welcome Thiyagu!
Please, don't forget to rate our responses 😉
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