Copy tftp: nvram:startup-config

for 4503-E series and 4506-E series
I want to prepare the configuration offline.
When I tftp the configuration to nvram:
No SSH keys generated
VTP mode and domain not configured
While it gives no error at startup?
Is this not possible?

I'll try it today.
Problem is that the blades are not in there. So it will give errors on the interface configuration.
Possibly when I'll do a write I'll loose these configuration. That's the reason for the copy tftp
It's as preparation for a migration where the chassis and sup will be upgraded while the existing blades will be kept.

Similar Messages

  • %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.

  • Copy startup-config running-config

    I am replacing a css-11150 switch. I received as version 4.01; therefore I upgraded it to version 6.10-405. The upgrade went fine.
    Then I ftp the config file to the css box and copy it to startup-config. It worked ok also.
    The problem started here -> when I copy startup-config to running-config, it appeared copied ok (no error message), but when I did a "sh run", the running config is empty, (no statements at all). My startup config has about 100 lines of coding. I hate to type in every single line.
    Do any one running into this kind of strange problem?
    thanks.

    I upgraded from Ver 4 to ver 6.10 using the upgrade script.
    upgrade
    To upload the startup-config
    copy ftp
    Below is the "sh start", "sh run" "sh ver",
    as you can see, when I did a sh run, it returns nothing. (i deleted some lines on sh start here since it is too big to post)
    CSS11150# sh startup-config
    !*************************** GLOBAL ***************************
    sntp server 168.38.250.142 version 1
    snmp location "701 West 51 st, Austin, TX 78751 "
    snmp community Shirt1 read-only
    snmp contact "Network Engineer, NGIT, (512)377-2222"
    ip route 0.0.0.0 0.0.0.0 168.38.131.1 1
    !************************* INTERFACE *************************
    interface e1
    bridge vlan 12
    phy 100Mbits-FD
    interface e2
    bridge vlan 12
    phy 100Mbits-FD
    interface e3
    bridge vlan 12
    phy 100Mbits-FD
    interface e4
    bridge vlan 12
    phy 100Mbits-FD
    interface e5
    bridge vlan 12
    phy 100Mbits-FD
    interface e6
    bridge vlan 12
    phy 100Mbits-FD
    interface e7
    bridge vlan 12
    phy 100Mbits-FD
    interface e8
    bridge vlan 12
    phy 100Mbits-FD
    interface e9
    bridge vlan 12
    phy 100Mbits-FD
    interface e10
    --Cancelled---
    CSS11150# sh run
    CSS11150# copy startup-config running-config
    Copying(\)
    CSS11150# sh run
    CSS11150# sh start
    ^
    %% Invalid input detected at '^' marker.
    CSS11150# sh startup-config
    !*************************** GLOBAL ***************************
    sntp server 168.38.250.142 version 1
    snmp location "701 West 51 st, Austin, TX 78751 "
    snmp community Shirt1 read-only
    snmp contact "Network Engineer, NGIT, (512)377-2222"
    ip route 0.0.0.0 0.0.0.0 168.38.x.x
    !************************* INTERFACE *************************
    interface e1
    bridge vlan 12
    phy 100Mbits-FD
    interface e2
    bridge vlan 12
    phy 100Mbits-FD
    interface e3
    bridge vlan 12
    phy 100Mbits-FD
    interface e4
    bridge vlan 12
    phy 100Mbits-FD
    interface e5
    bridge vlan 12
    phy 100Mbits-FD
    interface e6
    bridge vlan 12
    phy 100Mbits-FD
    interface e7
    bridge vlan 12
    phy 100Mbits-FD
    interface e8
    bridge vlan 12
    phy 100Mbits-FD
    interface e9
    bridge vlan 12
    phy 100Mbits-FD
    interface e10
    bridge vlan 12
    phy 100Mbits-FD
    interface e11
    bridge vlan 12
    phy 100Mbits-FD
    interface e12
    bridge vlan 12
    phy 100Mbits-FD
    interface e15
    bridge vlan 12
    phy 100Mbits-FD
    description "Link to PRSSWINTERS1-7/21"
    interface e16
    phy 100Mbits-FD
    description "Link to PRSSWINTERS1-7/1"
    !************************** CIRCUIT **************************
    circuit VLAN1
    ip address 168.38.x.x 255.255.255.128
    circuit VLAN12
    ip address 168.38.x.y 255.255.255.128
    !************************** SERVICE **************************
    service Web29-tare.dfps.state.tx.us
    ip address 168.38.49.122
    protocol tcp
    port 8010
    keepalive type tcp
    service Web29-tarefile.dfps.state.tx.us
    ip address 168.38x.x
    protocol tcp
    keepalive type tcp
    port 8010
    service iws-86
    protocol tcp
    ip address 168.38.x.x
    keepalive port 80
    keepalive type tcp
    active
    content www.txabusehotline.org
    add service www.txabusehotline.org-113
    vip address 168.38.x.x
    protocol tcp
    advanced-balance sticky-srcip
    active
    CSS11150#
    CSS11150# sh run
    CSS11150# sh version
    Version: ap0610405 (6.10 Build 405)
    Flash (Locked): 4.01 Build 32
    Flash (Operational): 6.10 Build 405
    Type: PRIMARY
    Licensed Cmd Set(s): Standard Feature Set
    CSS11150#
    CSS11150#

  • 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 ****

  • Copy startup-config tftp + %Error opening tftp://192.168.0.12/router-confg (Socket error)

    Please advise me on the below error;; I am using tftpd for tft
    Router#copy startup-config tftp
    Address or name of remote host []? 192.168.0.12
    Destination filename [router-confg]?
    %Error opening tftp://192.168.0.12/router-confg (Socket error)

    This was the right answer.. Solved
    https://learningnetwork.cisco.com/thread/56041
    im surprised you can ping without attaching a crossover cable.
    because if your only using your console port to connect your pc...then you dont have ip connectivity
    i think the cable your using to connect your pc to your router fa port is a straight through ethernet cable....
    you see it attaches to a switch port in the back of your home router(not cisco router)
    not a router port.
    so you need a different cable depending on how you want to connect to your router.
    you can check to see if it is a crossover cable
    just peer down the end of the cable you can see the colours...
    if they are in the same order on each end...then it is a straight through cable
    if they have a different order...then it is a crossover cable
    if your connecting to your pc via your home router.
    then yes.....you need to plug a straight through cable into your cisco router from your home router
    and it will work
    if your connecting your pc directly to your router
    then you need to use  a crossover cable from the back of your pc...to your cisco router.
    and it will work

  • Copy startup-config tftp

    Is there any way to disable the confirmation when you copy a file from the router to a tftp server? I need to disable it because I'm doing a web application that manages the routers through commands with rsh. Thanks!

    if its a script, which is putting the command, then you can add like
    suppose for "copy running to startup"
    In the script line go like this
    copy running startup
    y
    y
    The two characters "y" will do the consirmation.

  • 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.

  • 3560 Can't run "copy startup-config running-config" ?? !! ??

    after input the "copy start run", it said no NV config is available.
    Strange.
    Switch3560#copy startup-config running-config
    %% Non-volatile configuration memory invalid or not present
    Do you know this problem?
    THX

    I have seen symptoms like this when a router had booted from scratch (no existing startup-config), had been configured, but had not saved the runnig-config to startup-config. I suggest that you do a copy running-config startup-config (or copy start run or write mem) and then attempt a copy start run.
    HTH
    Rick

  • 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

  • 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

  • Backup aborted - Unable to receive file 'startup-config'

    I'm seeing this on some 2950s and an old 2924 that I have.  Is this issue related to the age of the switches?  It's picking up drivers and successfully testing credentials.  So I'm just checking.

    It doesn't appear to be the lack of a startup-config file.  I checked the 3 affected devices.  The issue is possible destinations.  There is no option in the IOS running on these devices to set the destination as "http:"  See the output below for copy startup-config ?
    flash:          Copy to flash: file system
    ftp:            Copy to ftp: file system
    null:           Copy to null: file system
    nvram:          Copy to nvram: file system
    rcp:            Copy to rcp: file system
    running-config  Update (merge with) current system configuration
    startup-config  Copy to startup configuration
    system:         Copy to system: file system
    tftp:           Copy to tftp: file system
    As much as I would say this wouldn't be a Cisco OnPlus priority, one possible coding workaround might be a lightweight tftp server running on the OnPlus device and a modification of the code to attempt http: first and on failure to startup the tftp server and attempt to use that method and then shut the tftp server back down, for security reasons.  Just a thought.

  • 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

  • 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.

  • 2610 Factory Reset and Startup Config Files

    Hi all;
    I have a used 2610 which I did a factory reset on. I am able to get into the IOS and edit/change the config.
    However after editing and trying to save using the command:
    copy run start
    I get prompted to save the config to a file name/location which ultimately fails. Then on reboot it goes into the "basic setup" sequence again never saving to the config I'm trying to save.
    The IOS ver. is 12.0(3)T and I do have the latest ver. and an TFTP program to upgrade, but I would like to create a config and save it first.
    Any help would be appreciated.
    Thanks in advance. Steve

    Edison;
    Thanks for the reply. Yes my register was 0x2142 but I did the "config-register 0x2102" and then was able to copy the running config to the startup config.
    I do have another ?. I did type in a time offset command for my timezone but after reboot it keeps defaulting back to year 1993.
    Here's my sh ver:
    Cisco Internetwork Operating System Software
    IOS (tm) C2600 Software (C2600-I-M), Version 12.0(3)T, RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-1999 by cisco Systems, Inc.
    Compiled Mon 22-Feb-99 20:00 by ccai
    Image text-base: 0x80008088, data-base: 0x8069353C
    ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
    uptime is 14 minutes
    System restarted by reload
    System image file is "flash:c2600-i-mz.120-3.T"
    cisco 2610 (MPC860) processor (revision 0x202) with 18432K/6144K bytes of memory
    Processor board ID JAB03090910 (856765012)
    M860 processor: part number 0, mask 49
    Bridging software.
    X.25 software, Version 3.0.0.
    1 Ethernet/IEEE 802.3 interface(s)
    2 Serial network interface(s)
    32K bytes of non-volatile configuration memory.
    8192K bytes of processor board System flash (Read/Write)
    Configuration register is 0x2102
    Thanks, Steve

Maybe you are looking for