How to save running-config to a text file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 10:28 AM - edited 03-06-2019 03:45 AM
Hello,
I manage lot of router and switch my problem is before I do any changes to configuration file I want to save a copy of it
if I do sh run using putty it just displays one page worth of information and I have to do copy paste one page at a time
is there any easier method to copy paste entire running config to a text file ?
Thanks
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2015 07:22 AM
Hi,
I am looking for an equivalent command to "show running | file $fn" in XML on IOS XR routers.
The command or steps I am looking for will help me save a running config in xml format to a file
on the router.
thanks
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2017 01:14 AM
Where Does Putty Save The File?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2017 08:49 AM - edited 10-27-2017 08:53 AM
Hello
You have a few options:
1) You can save the running config from a terminal enumerator such as putty as already suggested
2) tftp/ftp/scp to a file share - As already suggested
3) You can save the running-config to flash and then if need be restore it from flash
copy running-config flash:STAN.tst
configure replace flash:STAN.tst
4) enable archive and rollback which will rollback the old configuration if not confirmed (Just like in Junos)
config
archive
path flash:STAN
exit
configure replace flash:STAN-0 time 10
res
Paul
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 12:21 AM
Make sure the USB formatted as FAT32
then from enable mode....
# copy running-config usb:<filename.txt>
Hope this tip is useful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 03:54 AM - edited 05-13-2024 03:56 AM
There are two ways, one though putty and other through telnet :
go to logging and select printable output
click on browse and choose the destination you want your output
now select session again select console and run the below commands
Switch# terminal length 0
Switch# show running-configuration
this way your backup will be available on the destination you have choosen.
---------------------------------------------
other way is TFTP server, suppose your tftp server is 192.168.1.100
Switch# copy running-configuration TFTP:
Switch# tftp server IP address : 12.168.1.100
done...

- « Previous
-
- 1
- 2
- Next »