Table Of Contents
Managing Files
Saving a File
Downloading a File from a Website or FTP Site
Managing Files
This chapter includes the following information:
•
Saving a File
•
Downloading a File from a Website or FTP Site
Saving a File
A file comprising the configuration changes for a device can be saved to a script. The changes will occur when the script is run. Enter the following command to save a file:
[NET:/network] # show interfaces | save /server/interfacelist.txt
The file will be saved to the /server directory.
Note
Scripts cannot be saved to the / directory of the server file system, or to the network file system.
Downloading a File from a Website or FTP Site
Cisco E-DI enables users to directly download IOS images, IDS signatures or any other files from a website or FTP site directly onto the Cisco E-DI server.
Download a file from a website or FTP site:
Step 1
Login to the Cisco E-DI server with administrative privileges.
Step 2
If the website or FTP site requires user authentication, set up the login and password:
a.
To set up FTP authentication, enter the following commands:
[SVR:/server]# terminal ftp-auth username {username}
b.
To configure the HTTP authentication, enter the following commands:
[SVR:/server]# terminal http-auth username {username}
Note
To clear the FTP or HTTP credentials, enter the command [SVR:/server]# terminal no ftp-auth or [SVR:/server]# terminal no http-auth.
Step 3
Open a new Cisco E-DI session, and log in as the ftp-auth or http_auth user.
Step 4
Enter the following command to download the file from a specified URL and save into a specified destination file:
[SVR:/server]# download URL destination -file
Note
The URL must start either with http:// or ftp: //
The destination file must be under the /server directory.