30.06.2015 Views

8.28 MB - Edge-Core

8.28 MB - Edge-Core

8.28 MB - Edge-Core

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Flash/File Commands<br />

4<br />

The following example shows how to download a configuration file:<br />

Console#copy tftp startup-config<br />

TFTP server ip address: 10.1.0.99<br />

Source configuration file name: startup.01<br />

Startup configuration file name [startup]:<br />

Write to FLASH Programming.<br />

\Write to FLASH finish.<br />

Success.<br />

Console#<br />

This example shows how to copy a secure-site certificate from an TFTP server. It<br />

then reboots the switch to activate the certificate:<br />

Console#copy tftp https-certificate<br />

TFTP server ip address: 10.1.0.19<br />

Source certificate file name: SS-certificate<br />

Source private file name: SS-private<br />

Private password: ********<br />

Success.<br />

Console#reload<br />

System will be restarted, continue ? y<br />

This example shows how to copy a public-key used by SSH from an TFTP server.<br />

Note that public key authentication via SSH is only supported for users configured<br />

locally on the switch:<br />

Console#copy tftp public-key<br />

TFTP server IP address: 192.168.1.19<br />

Choose public key type:<br />

1. RSA: 2. DSA: : 1<br />

Source file name: steve.pub<br />

Username: steve<br />

TFTP Download<br />

Success.<br />

Write to FLASH Programming.<br />

Success.<br />

Console#<br />

delete<br />

This command deletes a file or image.<br />

Syntax<br />

delete filename<br />

filename - Name of configuration file or code image.<br />

Default Setting<br />

None<br />

Command Mode<br />

Privileged Exec<br />

4-65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!