Forum Discussion
1 Reply
Sort By
- Simon_BlakelyEmployee
grep is a valid filter within tmsh
(tmos) list ltm node one-line | grep "1.2.3.4"
cut will not work, however.
I need to display the name of a node whose IP address is known, as the node name could be either an IP address or a hostname.
I know I can do this from the shell: tmsh list ltm node one-line | grep "1.2.3.4" | cut -d" " -f3
Is there a way to do the same thing within tmsh?
Thanks
grep is a valid filter within tmsh
(tmos) list ltm node one-line | grep "1.2.3.4"
cut will not work, however.