20-11
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-29225-01
Chapter20 Managing Firmware and Configurations
Working with Configuration Files
The configuration file downloads, and the commands are executed as the file is parsed line-by-line.
This example shows how to configure the software from the file tokyo-confg at IP address172.16.2.155:
ap# copy tftp://172.16.2.155/tokyo-confg system:running-config
Configure using tokyo-confg from 172.16.2.155? [confirm] y
Booting tokyo-confg from 172.16.2.155:!!! [OK - 874/16000 bytes]

Uploading the Configuration File by Using TFTP

To upload a configuration file from an access point to a TFTP server for storage, follow these steps:
Step1 Verify that the TFTP server is properly configured by referring to the “Preparing to Download or Upload
a Configuration File by Using TFTP” section on page20-10.
Step2 Log into the access point through a Telnet session.
Step3 Upload the access point configuration to the TFTP server. Specify the IP address or host name of the
TFTP server and the destination filename.
Use one of these privileged EXEC commands:
copy system:running-config tftp:[[[//location]/directory]/filename]
copy nvram:startup-config tftp:[[[//location]/directory]/filename]
The file is uploaded to the TFTP server.
This example shows how to upload a configuration file from an access point to a TFTP server:
ap# copy system:running-config tftp://172.16.2.155/tokyo-confg
Write file tokyo-confg on host 172.16.2.155? [confirm] y
#
Writing tokyo-confg!!! [OK]
Copying Configuration Files by Using FTP
You can copy configuration files to or from an FTP server.
The FTP protocol requires a client to send a remote username and password on each FTP request to a
server. When you copy a configuration file from the access point to a server by using FTP, the Cisco IOS
software sends the first valid username in this list:
The username specified in the copy command if a username is specified.
The username set by the ip ftp username username global configuration command if the command
is configured.
Anonymous.
The access point sends the first valid password in this list:
The password specified in the copy command if a password is specified.
The password set by the ip ftp password password global configuration command if the command
is configured.