Chapter 4
| System Management Commands
File Management
– 106 –
Write to FLASH Programming.
Success.
Console#
This example shows how to copy a file to an FTP server.
Console#copy ftp file
FTP server IP address: 169.254.1.11
User[anonymous]: admin
Password[]: *****
Choose file type:
1. config: 2. opcode: 2
Source file name: BLANC.BIX
Destination file name: BLANC.BIX
Console#
This example shows how to copy a file from an SFTP server. Note that the public key
offered by the server is not found on the local system, but is saved locally after the
user selects to continue the copy operation.
Console#copy sftp file
SFTP server IP address: 192.168.0.110
Choose file type:
1. config: 2. opcode: 1
Source file name: startup2.cfg
Destination file name: startup2.cfg
Login User Name: admin
Login User Password:
Press 'y' to allow connect to new sftp server,
and 'N' to deny connect to new sftp server: y
Success.
Console#
delete
This command deletes a file or image.
Syntax
delete
{
file
name
filename |
https-certificate
|
public-key
username [
dsa
|
rsa
]}
file
- Keyword that allows you to delete a file.
name
- Keyword indicating a file.
filename - Name of configuration file or code image.
https-certificate
- Keyword that allows you to delete the HTTPS secure site
certificate. You must reboot the switch to load the default certificate.