This is a step by step Cisco switch command line procedure to enable a FTP user account and copy files to a FTP server or receive files from a FTP server. This method is very simple and may be used to quickly transfer Switch image files , backup configurations etc
Enable FTP user account and password. Note that this account will be used by default for all FTP operations.
Switch1(config)#
Switch1(config)#ip
ftp username backup
Switch1(config)#ip
ftp password backup123
Switch1(config)#
Switch1#copy
running-config ftp:
Address
or name of remote host []? 192.168.1.100
Destination
filename [switch1-confg]?
Writing
switch1-confg !
2511
bytes copied in 2.156 secs (1165 bytes/sec)
For receiving a file from FTP server
Switch1#copy
ftp:vlan.dat flash:/vlan.dat
Address
or name of remote host []? 192.168.1.100
Destination
filename [vlan.dat]?
Accessing
ftp://192.168.1.100/vlan.dat...
Loading
vlan.dat !
[OK
- 2511/4096 bytes]
2511
bytes copied in 0.092 secs (27293 bytes/sec)
Hope this helps to some beginners.