06-Jun-2017 03:50
06-Jun-2017
04:13
- last edited on
05-Jun-2023
15:16
by
JimmyPackets
Hi,
You can try with:
tmsh show ltm node | grep ^Ltm:: -A5|grep -e '^Ltm::\|^\ \ Availability\|^\ \ State' | grep available -C 1
tmsh show ltm node | grep ^Ltm:: -A5|grep -e '^Ltm::\|^\ \ Availability\|^\ \ State' | grep offline -C 1
Use that command in bash mode.
About your second question, as I know there is no command to delete all offline nodes. But you can grep their names and use:
delete ltm node node1 node2 node3 ...
Regards
17-May-2020 03:36
No, it didn't work for me. I am getting unsupported version for this.