Uploading A Configuration File By Using Ftp - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Working with Configuration Files
Loading 1112 byte file host1-confg:![OK]
Switch#
%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 switch startup configuration.
Switch#
Switch(config)#
Switch(config)#
Switch(config)#
Switch#
Address of remote host [255.255.255.255]?
Name of configuration file[rtr2-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]
Switch#
%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:
SUMMARY STEPS
1. configure terminal
2. ip ftp username username
3. ip ftp password password
4. end
5. Do one of the following:
DETAILED STEPS
Command or Action
Step 1
configure terminal
Step 2
ip ftp username username
Step 3
ip ftp password password
Step 4
end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2054
configure terminal
ip ftp username netadmin1
ip ftp password mypass
end
copy ftp: nvram:startup-config
• copy system:running-config ftp: [[[//[username [:password ]@]location]/directory ]/filename ]
or
• copy nvram:startup-config ftp: [[[//[username [:password ]@]location]/directory ]/filename ]
172.16.101.101
host2-confg
Purpose
Enter global configuration mode on the switch.
This step is required only if you override the default remote
username or password (see Steps 2, 3, and 4).
(Optional) Change the default remote username.
(Optional) Change the default password.
Return to privileged EXEC mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents