Erase startup config

   all I would like to do is to erase the startup config file, but when I do a "erase" the only option I have is to erase disk0 or flash. If I do a "write erase" it doesnt give any other options. If I choose either command will it automatically erase what is in ram or will it erase ALL in flash? I do not want to erase the ios version, just the startup config so I can copy a new one in (via notepad copy\paste).     

hi,
yes, the write erase command will delete the startup-config and not the IOS image.
do a reload command or reboot the device afterwards.

Similar Messages

  • Erasing a config and vlan.dat file in Catalyst 4507R Switch

    Hi,
    I am unable to erase the configuration from Catalyst 4507R Switch.When i do "write erase" and reload the switch,the configuration still remains on the switch.
    Switch1#write erase
    Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
    [OK]
    Erase of nvram: complete
    mp024-dc-nr00#sh start
    startup-config is not present
    After this i did reload and configuration still didn't get removed.
    I  tried
    erase /all nvram:
    reload
    This also didn't help.
    I also tried:
    erase /all non-default
    reload
    This also didn't help.
    Can anyone suggest how to erase the config on Catalyst 4507R Switch.
    Thanks,

    Hi Saroj,
    do you see the below symtoms:
    Cat4500# write erase
    Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK]
    Erase of nvram: complete
    Cat4500# reload
    System configuration has been modified. Save? [yes/no]: n   
    !--- Do not save the configuration at this prompt. Otherwise, the switch
    !--- reloads with the current running configuration and does not reset to default.
    Proceed with reload? [confirm]y                             
    2w0d: %SYS-5-RELOAD: Reload requested
    To erase the vlan.dat file on the 6500/6000 switches, issue the erase const_nvram: command. On the 4500/4000 switches, issue the erase cat4000_flash: command. On the fixed configuration switches, issue the delete flash:vlan.dat command.
    HTH
    Regards
    Inayath

  • How to wipe startup-config and hard disks on Cache 505

    Have serveral CE505 that i need to elminate. Need to wipe the hard drives, all data. Does 'disk erase-all-partitions' absolutely erase all data? How do I erase the NVRAM where the startup config is store. Basically I want to wipe the device clean except for the IOS stored in flash

    "disk manufacture" <- Reformat all partitions/volumes on a disk
    you can use the following command to reset configuration and data on the device to factory
    default:
    CE#restore factory-default
    Syed

  • FTP client and startup-config backup on SCE

    Hi,
    Does anybody know why I'm not able to upload startup-config from SCE device to FTP server ?
    I use command:
    copy startup-config ftp://anonymous:[email protected]/startup-config.txt
    but everytime I see error message:
    Error - Failed to open destination file.
    What's wrong with it ? Another client from my PC is able to connect to this FTP server

    Hi,
    Does anybody know why I'm not able to upload startup-config from SCE device to FTP server ?
    I use command:
    copy startup-config ftp://anonymous:[email protected]/startup-config.txt
    but everytime I see error message:
    Error - Failed to open destination file.
    What's wrong with it ? Another client from my PC is able to connect to this FTP server

  • Authentication failed on device 3 times. Failed to detect SSH version running on the device. PRIMARY-STARTUP config Fetch Operation failed for TFTP

    I have devices loaded but new devices keep getting this error "Authentication failed on device 3 times. Failed to detect SSH version running on the device. PRIMARY-STARTUP config Fetch Operation failed for TFTP" - which trying to get configurations. I am using LMS 3.0.1
    I tried to TELNET on devices via Putty port 22 no good. Please help?
    Name Version License Status Size CiscoWorks  Common Services 3.1.1 Licensed Not applicable  Campus  Manager 5.0.3 Purchased 1500  CiscoView 6.1.7 Licensed Not applicable  CiscoWorks  Assistant 1.0.1 Licensed Not applicable  Device  Fault Manager 3.0.3 Purchased 1500  Internetwork  Performance Monitor 4.0.1 Purchased 1500  Integration  Utility 1.7.1 Licensed Not applicable  LMS  Portal 1.0.1 Licensed Not applicable  Resource  Manager Essentials 4.1.1 Purchased 1500

    Showing 1-1 of 1 records
    Go to page:
    of 1 pages
    Device Name
    SysObjectID
    Model
    Device Status
    Inventory Status
    Inventory Last Updated Time
    Config Status
    Config Last Updated Time
    1.
    R2020012_01
    .1.3.6.1.4.1.9.1.576
    Cisco 2811 Integrated Services Router
    Normal
    Success
    Jan 13 2011 10:43:49 EST
    Failed
    Jan 13 2011 10:37:24 EST
      Rows per page:
    20 50 100 500
    Go to page:
    of 1 pages

  • Copying startup-config file

    Hi,
    I have one armed mode CSS11503. I can't sync. both Load balancers.
    Is it possible to copt master's startup-config file via ftp and modify than paste in slave one?

    you can copy the config from one css to a ftp server.
    First create an FTP record in config.
    Then use the command 'copy startup-config ftp '
    Edit the file and adjust circuit ip addresses and app settings.
    Then copy it into the standby CSS with the command
    copy ftp startup-config
    Gilles.

  • Startup config error after upgrading to ASA from PIX

    Hey guys.  I get the following startup-config errors when reloading our ASA.  A pix->asa conversion was just done on it.  The ASA is currently running 8.2(5), and I am trying to get ready to update it to the most stable release, and wanted to make sure all my ducks are in a row.  What is going on with the "will be identity translated for outbound"? This is part of the VPN configuration, and I understand nat0 is saying to not nat it.  Is this something that I should be worried about?  The ASA is not in production currently.
    Let me know if you need further information
    Thanks,
    .........nat 0 10.37.0.116 will be identity translated for outbound
    *** Output from config line 406, "nat (inside) 0 10.37.0.1..."
    nat 0 xx.xx.xx.xx (PUBLIC IP) will be identity translated for outbound
    *** Output from config line 431, "nat (inside) 0 xx.xx.xx..."
    Line 406
    nat (inside) 0 10.37.0.116 255.255.255.255
    Line 431
    nat (inside) 0 xx.xx.xx.xx (PUBLIC IP) 255.255.255.255
    Corresponding global
    nat (outside) 0 access-list outside_inbound_nat0_acl outside
    nat (inside) 0 access-list inside_outbound_nat0_acl
    ACL
    access-list outside_inbound_nat0_acl extended permit ip 172.16.16.0 255.255.255.0 any
    access-list inside_outbound_nat0_acl extended permit ip any 172.16.16.0 255.255.255.0
    access-list inside_outbound_nat0_acl extended permit ip 10.37.0.0 255.255.0.0 172.16.16.0 255.255.255.0
    access-list inside_outbound_nat0_acl extended permit ip 172.31.0.0 255.255.0.0 172.16.16.0 255.255.255.0

    Hi,
    I would imagine that there is no problem as the firewall has not given any kind of error message.
    I do personally wonder sometimes why is it so (atleast in the 8.2 softares etc) that the firewall shows a message on the CLI when you are for example configuring a "global" / "nat" command pair.
    I wonder if this falls into the same category.
    The configuration format for NAT has stayed pretty same leading to the 8.2 softwares. I'm not totally sure what software you are going to go for but you seem to have the latest 8.2 series software so next steps are already 8.3 / 8.4 / 9.0 / 9.1
    ALL of the above mentioned softwares introduce a completely new NAT configuration format to the ASA. While the ASA automatically converts the configurations its not always 100% process not to mention that the NAT configuration probably is far from optimal.
    - Jouni

  • Help: startup-config file open failed (Not enough space)

    Who can help me ? I've an uc500 and he stil running. Now i want to change something and want to save the configuration first. But the following message appears : startup-config file open failed (Not enough space)
    this is the output from a dir flash:
    Directory of nvram:/
      227  -rw-       25897                    <no date>  startup-config
      228  ----        1933                    <no date>  private-config
      229  -rw-       25897                    <no date>  underlying-config
        1  ----          83                    <no date>  persistent-data
        2  -rw-           0                    <no date>  ifIndex-table
        3  -rw-         577                    <no date>  IOS-Self-Sig#1.cer
        4  -rw-         615                    <no date>  IOS-Self-Sig#2.cer
        5  -rw-         660                    <no date>  vlan.dat
        6  -rw-         107                    <no date>  cca.xml
        7  -rw-         586                    <no date>  IOS-Self-Sig#3.cer
    262144 bytes total (227094 bytes free)

    OK.
    Try this:
    conf t
    service compress-config
    And see if that helps. 
    If not, see if you can tftp the running config off the router and TFTP it back to startup-config:
    copy run tftp
    copy tftp start
    Then you can try a reload and see if it is cured.
    I googled and found a few cases where alot of ACLs or NAT rules could cause MALOC errors (you would see those in your logs) when implemented and could manifest itself in this condition, which could be cured after the next reload, which is why I suggested that.
    Of course, dont be remote when you do this and only do it during a maintenance window.
    Steve

  • Won't load startup config

    I've got a strange problem where the router won't boot with the startup config. When I type 'sho start' I see my config displayed but when I type 'sho run' it shows the generic config with none of the changes I made. Also, every time I power cycle the router it comes up with the following:
    Would you like to enter the initial configuration dialog? [yes/no]:
    When I type 'copy start run' and then 'sho run' I see my configuration changes in the running config. However when I power cycle the router it comes back up wit the initial configuration dialog and none of my configuration changes are in the running config????
    I tried going through the initial configuration dialog, choosing the basic setup and assigning just a hostname and ip address to e0/0 but when I power cycle the router it still comes back up with the initial configuration dialog and doesn't have any of my changes in the running config.
    What the heck is going on here?

    Hi,
    Issue the show version command and check the last line where it says config register.
    If it is not set to (config-register 0x2102) then your router will not load startup-configuration file.
    To resolve this go to configuration mode and change the value to be config-register 0x2102.
    then copy startup-config to running-config and
    then write memory (or copy running-configuration to startup-configuration) and reload the router.
    your router should now load the startup-configuration.
    Hope This Helps
    Regards
    Shaheen

  • %Error opening nvram:/startup-config (Permission denied)

    I'm getting an odd error, permission denied trying to issue "show config" at user level.  We use this throughout the environment with no issues.
    IOS: System image file is "flash0:c2900-universalk9-mz.SPA.152-3.T.bin"
    R1#sh run | i aaa
    aaa new-model
    aaa authentication login default group tacacs+ local
    aaa authorization exec default group tacacs+ if-authenticated
    aaa authorization commands 1 default group tacacs+ if-authenticated
    aaa authorization commands 15 default group tacacs+ if-authenticated
    aaa accounting commands 15 default stop-only group tacacs+
    aaa session-id common
    R1#sh run | i priv
    privilege exec level 1 traceroute
    privilege exec level 1 ping
    privilege exec level 1 show logging
    privilege exec level 1 show configuration
    privilege exec level 1 show privilege
    privilege exec level 1 show
    R1#disable
    R1>show config
    Using 11855 out of 262136 bytes
    %Error opening nvram:/startup-config (Permission denied)

    You are indeed allowed to run the command (as evidenced by the fact that the command did run).
    show config is effectively an alias for the command more nvram:startup-config
    As a result, the issue is the permission on the file, not the command itself.
    Unfortunately, the file systems do not explicitly support permissions.  This used to be implicitly supported through permissions on show config.
    Perhaps this is a bug.  I'd open a case on this if you need really need this feature.

  • Startup config missing in MDS9020 switch

    I get failure message when copying running config to startup config.
    In bootflash://
    I see only running-config and startup-config is missing. is it possible to create startup-config? how do I fix this issue?

    Can you post your telnet session when you copy running-config startup-config and the subsequent error message?

  • ASA5510: where is the startup-config stored?

    Hi,
    i'm new to cisco's asa and trying to get used to it. it's not a real problem i have, which detains me from productive work but i'm just snoopy about this. on my cisco 871, when i do a
    dir nvram:
    i see a file called startup-config. but i can not find it on my asa 5510. i have a disk0-1:, flash: and system: but nowhere a startup-config. but it must be somewehre because a
    copy tftp startup-config
    is working somehow and does what i expect. furthermore, where are the cryptographic keys stored. the same issue. i can not find them. maybe someone of you is able to point me to this. thanks.
    ct,

    The startup configuration for single mode or for the system in multiple context mode is a hidden file in flash memory. From within a context, the location of the startup configuration is specified by the config-url command. For example, if you specify an HTTP server for the config-url command and then enter the copy startup-config running-config command, the security appliance copies the startup configuration from the HTTP server using the admin context interface.
    Also check the details about the commands "copy" and "configure-url" in the links below: 1)COPY--http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/c4.html#wp2104587
    2)CONFIGURE-URL----http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/c4.html#wp2100481

  • Cisco 3750X Switch, Observing change in Running & Startup Config

    Hi, 
    I have a cisco catalyst 3750X switch running with c3750e-universalk9-mz.152-1.E1.bin, where I'm able to see the running configuration & Startup configuration on the device is not in Sync even after saving configuration to the NVRAM.
    Startup Configuration is the one which is required for my network to work properly, but as I'm able to see running configuration is adding some of the configuration which is not actually required in the template. Can anyone help me to get this issue addressed.
    Configuration attached.

    Can you try this command:
    Switch#copy startup-config running-config
    And then check if you are still face the same issue?
    HTH
    Regards
    Inayath

  • The system has unsaved changes - WLC Startup-config

    Hi guys,
    Is there a command to see the startup-config?
    Or a command to see "what exactly" am I going to save when receiving the below message:     
    The system has unsaved changes.
    Would you like to save them now? (y/N)
    I tried show run-config vs uploaded configuration file, but the format is different so I cannot compare...

    Hi
    With Areonet OS (5508,2504,etc) you do not have this freedom
    If it is IOS you can do this using a single command "show archive config differences nvram:startup-config system:running-config" So with 5760/3850 you can do this.
    http://mrncciew.com/2012/11/08/show-archive-config-differences-is-your-friend/
    With Areonet 5508,2504 if you need to know what commands your configuration will adds to your config, you can do some sort of workaround (though it is not clean,still you can see what lines adding to WLC config)
    Do  "debug aaa tacacs enable" on your WLC CLI & then make a change using WLC GUI, you will see on your CLI what commands it will add to your config.
    So you have to make your changes one by one to learn all the CLI config addition to your configuration.
    HTH
    Rasika
    **** Pls rate all useful responses ****

  • Enabling ssh with a startup config or similar?

    Hello,
    Im am currently testing the new features of IOS 12.2 55 SE1 called "Smart Install".
    I got it working even though it still has many issues but that's probably because it is a very new functionality.
    Anyways, we are using it currently in a lab-environment to test the "zero-touch" replacement of defective Switches. In that case the Director of the SI Network knows what config the defective Switch has saved last.
    It then uses that exact config to deploy to the replaced switch as a startup config.
    For Security Reasons we have the command "transport input ssh" on all lines enabled. (Makes sense if you want to shut out telnet).
    Now, when the new Switch receives the IOS Update (which is also delievered in Smart Install) and therefore reboots, it now uses our startup config.
    With the above mentioned command "transport input ssh" on the lines, we have no way of connecting to the newly replaced switch.
    "Crypto keys cannot be generated on startup" is the message I see on the Serial-Console output.
    Has anyone got an idea how we could work around this?
    Is there a way to tell a switch he has to generate an rsa certificate to enable ssh without "touching" it?
    I know that with the command "transport input all" this issue would not be an issue, but that is not an option for a possible productive Release. Since we are using a config of a switch that was running productively, the running config cannot allow telnet to be used..
    I have asked Google, used this forum's search functionality and found nothing. I am absolutely sure though, that this is an issue many Cisco Users have to work with, so I was suprised not to find anything.
    Details of our lab:
    Director Switch: C3560 with IOS 12.2 55 SE1
    Client Switch (to be replaced): C2960 IOS 12.2 55 SE1
    Both have the crypto-image installed.

    Hello Richard,
    Thanks for your answer.
    Smart Install gets the config to the new switch by telnet. Since a factory-new Switch can do telnet, the initial config comes from the director. It connects to the switch over a non-standard telnet port and issues the copy command to get the startup config from the tftp server. After that it does the same with the IOS. We can't really do anything because every interaction with the new switch stops the smartinstall process.
    In your desscribed solution (I will test it later this week) it could be a working solution for deploying new switches.
    In my Scenario however there currently seems to be no way to enable ssh when the startup config is the last known configuration from the switch that died, beacuse this startup config we cannot manually edit (it would defeat the purpose of this feature), since it is backed up by the director and the logic of deciding wheter or not this config is to be used runs on the director.
    I am in contact with "our guys" from cisco, and they are trying to get feedback from the developer team of this feature. I will keep testing new releases for this issue and will report any progress.

Maybe you are looking for