Forum Discussion

VikashC's avatar
VikashC
Icon for Cirrus rankCirrus
Apr 20, 2020

Export all node list

I want to export all the node details with configuration? How can i do it?

  • You can try simple command..

    tmsh list ltm node one-line >>/var/tmp/nodelist.txt

  • You can try simple command..

    tmsh list ltm node one-line >>/var/tmp/nodelist.txt

  • It is not working for me. I am getting below error while executing command.

     

    01020036:3: The requested Node (/var/tmp/node-list1) was not found.

    • Samir's avatar
      Samir
      Icon for MVP rankMVP

      you are in bash then run above command and see result here.

      cat ​/var/tmp/nodelist.txt

      Looks like you have not added extension .txt here.​

      • VikashC's avatar
        VikashC
        Icon for Cirrus rankCirrus

        No I had added .txt extension. Let me try it again.

        Thank you.