20-14
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter20 Managing Firmware and Configurations
Working with Configuration Files
Connected to 172.16.101.101
Loading 1112 byte file host1-confg:![OK]
ap#
%SYS-5-CONFIG: Configured from host1-config by ftp from 172.16.101.101
This example shows how to specify a remote username of netadmin1. The software copies the
configuration file host2-confg from the netadmin1 directory on the remote server with an IP address
of 172.16.101.101 to the access point startup configuration.
ap# configure terminal
ap(config)# ip ftp username netadmin1
ap(config)# ip ftp password mypass
ap(config)# end
ap# copy ftp: nvram:startup-config
Address of remote host [255.255.255.255]? 172.16.101.101
Name of configuration file[rtr2-confg]? host2-confg
Configure using host2-confg from 172.16.101.101?[confirm]
Connected to 172.16.101.101
Loading 1112 byte file host2-confg:![OK]
[OK]
ap#
%SYS-5-CONFIG_NV:Non-volatile store configured from host2-config by ftp from
172.16.101.101
Uploading a Configuration File by Using FTP
Beginning in privileged EXEC mode, follow these steps to upload a configuration file by using FTP:
This example shows how to copy the running configuration file named ap2-confg to the netadmin1
directory on the remote host with an IP address of 172.16.101.101:
ap# copy system:running-config ftp://netadmin1:mypass@172.16.101.101/ap2-confg
Write file ap2-confg on host 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.
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 system:running-config
ftp:[[[//[username[:password]@]location]/directory]
/filename]
or
copy nvram:startup-config
ftp:[[[//[username[:password]@]location]/directory]
/filename]
Using FTP, store the access point running or startup
configuration file to the specified location.