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#
configure terminal
Switch(config)#
ip ftp username netadmin1
Switch(config)#
ip ftp password mypass
Switch(config)#
end
Switch#
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]
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:
•
copy system:running-config ftp:
[[[
//
[
username
[
:password
]
@
]
location
]
/directory
]
/filename
]
or
•
copy nvram:startup-config ftp:
[[[
//
[
username
[
:password
]
@
]
location
]
/directory
]
/filename
]
DETAILED STEPS
Purpose
Command or Action
Enter global configuration mode on the switch.
configure terminal
Step 1
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.
ip ftp username username
Step 2
(Optional) Change the default password.
ip ftp password password
Step 3
Return to privileged EXEC mode.
end
Step 4
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2054
Working with Configuration Files
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......