cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Jump to solution


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.

Tags (4)
0 Kudos
2 Solutions

Accepted Solutions
natem
New Contributor III

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

Jump to solution

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:

View solution in original post

Anonymous
Not applicable

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

Jump to solution

:

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

View solution in original post

0 Kudos
2 Replies
natem
New Contributor III

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

Jump to solution

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:

Anonymous
Not applicable

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

Jump to solution

:

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

0 Kudos