Copy Cisco Router Config to Text File
How to Copy Your Cisco Router Configuration to a Text File
You normally telnet into your router by using the command:
telnet 192.168.1.1 (where 192.168.1.1 is the IP of your router)
Use this command intead:
telnet -f c:logfile.txt 192.168.1.1
This will save the output of your telnet session to the log file that you specify.
Log into your router and run this command:
show running
press enter as needed until you reach the end of the config. Then check the text file and it will contain the configuration data.