How to Save Switch Configuration to Disk

Posted on 2005-05-16
Last Modified: 2011-03-07
I have a Cisco 6509, 2948G, and 2924XL.  I would like to have someone present to me how I can first save the current configuration to disk and then reload the configuration back from that disk file.  

The purpose for this is so I can keep backups of the switch images and also be able to tinker with my spare switches while being able to quickly put them back into commission when needed.  

Question by:deshi777
    LVL 43

    Accepted Solution

    First off, you need to have a TFTP server running on a PC reachable from the devices in question.  Once you have the TFTP server running, use the "write network" or "copy start tftp" command and specify the IP address of the TFTP server along with whatever name you want to give the file.  The startup configuration will then be copied to the hard drive of the TFTP server into whichever folder is specified as the TFTP-root.  You can use the "copy tftp start" command to copy the configuration back to the switch.  After copying, reload the switch and it will boot up with the configuration you copied.
    LVL 13

    Assisted Solution

    On some of the newer IOS versions you can also use the command "copy ftp: startup-config" instead, but if your IOS only supports TFTP you will have to use "copy tftp: startup-config". Now if you have a CAT OS on the 6509, very likly if it's an older 6509, you will have to use the command "write network all" to copy the config to a TFTP server.
    LVL 12

    Assisted Solution

    a bit detailed guide can be found
    You can get the TFTP server (Free) from solarwinds...
    For recovey its just the vice versa procedure...
    Hope this helps...
    LVL 4

    Assisted Solution

    Just a simple way, type

    sho run

    then copy all to clipboard, open any word processor and paste to it. Save as file.

    The same way back, copy content of file and paste it to the cisco.

    !!!NOTE!!! Be carefull with access lists, as it could kick you off while pasting.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Title # Comments Views Activity
    Cisco help 4 34
    BGP cluster ID 1 43
    Spanning-tree port fast 7 54
    Show ip route - definition 1 46
    I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
    Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now