2 Replies Latest reply on Sep 6, 2013 10:28 AM by levi

    How do I download or upload a config file using only the CLI?

    etdiego New Member


      I love the command line programing and it makes it easier to see the config at a glance but I cannot seem to figure out how to upload or download a config file from the CLI. Am I restricted to doing this from the GUI or am I missing the obvious like cutting and pasting from the command prompt. Any suggestions would be great. I would also like to be able to do firmware upgrades from CLI as well. Thanks.

        • Re: How do I download or upload a config file using only the CLI?
          natem New Member

          You can download and setup a tftp server on your computer then you can type the following to get a copy of the startup config:

          copy startup-config tftp

          it will as for the remote host. type in your ip: xxx.xxx.xxx.xxx

          next it asks for file name. Type in the filename: config.txt

           

          To upload firmware:

          copy tftp flash (enter cflash to upload to cflash)

          enter ip as in above example for remote host

          enter firmware filename

          press enter to just use the default filename


          An AOS reference guide will be handy for you:
          AOS Version R12.3 Command Reference Guide

          • Re: How do I download or upload a config file using only the CLI?
            levi Employee

            etdiego:

             

            I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post and unmark it and select another in its place with the applicable buttons.  If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.

            Thanks,

             

            Levi