20-13
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter20 Managing Firmware and Configurations
Working with Configuration Files
Preparing to Download or Upload a Configuration File by Using FTP
Before you begin downloading or uploading a configuration file by using FTP, perform these tasks:
Ensure that the access point has a route to the FTP server. The access point and the FTP server must
be in the same subnetwork if you do not have a router to route traffic between subnets. Check
connectivity to the FTP server by using the ping command.
If you are accessing the access point through a Telnet session and you do not have a valid username,
make sure that the current FTP username is the one that you want to use for the FTP download. You
can enter the show users privileged EXEC command to view the valid username. If you do not want
to use this username, create a new FTP username by using the ip ftp username username global
configuration command during all copy operations. The new username is stored in NVRAM. If you
are accessing the access point through a Telnet session and you have a valid username, this username
is used, and you do not need to set the FTP username. Include the username in the copy command
if you want to specify a username for only that copy operation.
When you upload a configuration file to the FTP server, it must be properly configured to accept the
write request from the user on the access point.
For more information, refer to the documentation for your FTP server.
Downloading a Configuration File by Using FTP
Beginning in privileged EXEC mode, follow these steps to download a configuration file by using FTP:
This example shows how to copy a configuration file named host1-confg from the netadmin1 directory
on the remote server with an IP address of 172.16.101.101 and to load and run those commands on the
access point:
ap# copy ftp://netadmin1:mypass@172.16.101.101/host1-confg system:running-config
Configure using host1-confg from 172.16.101.101? [confirm]
Command Purpose
Step1 Verify that the FTP server is properly configured by referring
to the “Preparing to Download or Upload a Configuration
File by Using FTP” section on page20-13.
Step2 Log into the access point through a Telnet session.
Step3 configure terminal Enter global configuration mode on the access point.
This step is required only if you override the default remote
username or password (continue with Step4 to Step 6).
Step4 ip ftp username username (Optional) Change the default remote username.
Step5 ip ftp password password (Optional) Change the default password.
Step6 end Return to privileged EXEC mode.
Step7 copy
ftp:[[[//[username[:password]@]location]/directory]
/filename] system:running-config
or
copy
ftp:[[[//[username[:password]@]location]/directory]
/filename] nvram:startup-config
Using FTP, copy the configuration file from a network server
to the running configuration or to the startup configuration
file.