1- At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

2- Configure the FTP username and password.
R#config terminal
R(config)#ip ftp username test
R(config)#ip ftp password test
R(config)#end
R#

3- Copy the configuration to the FTP server.
R#copy running-config ftp:
Address or name of remote host []? N.N.N.N
Destination filename [R-confg]? backup
Writing backup !
1030 bytes copied in 3.341 secs (308 bytes/sec)
R#