Snmp to tftp config files

I am trying to setup snmp to tftp the run/start config files.
My test setup is using a 3745 with 12.4(25d)
snmpset v1.01 from snmpsoft
I think I am close but continue to get an error
Here is the command I am using (line broken for clarity)
snmpset -r:10.0.0.2 -v:2c
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.2.114 -val:1 -tp:int
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.3.114 -val:4 -tp:int
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.4.114 -val:1 -tp:int
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.5.114 -val:192.168.1.38 -tp:ip
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.6.114 -val:"jjstest1" -tp:str
-o:.1.3.6.1.4.1.9.9.96.1.1.1.1.14.114 -val:4 -tp:int
Its the last line that is giving me trouble.  If I issue a create&wait, I get an OK.
a cli to tftp files from 10.0.02 to 192.168.1.38 does work

Try this:
conf t
archive
!           “$h” means the appliance’s hostname will be the filename.  The filename format is hostname-month-day-hour-minute-seconds-timezone-version, like “Hostname-Apr-23-10-51-13-AEST-0”.
!           Make sure you put a “-“ at the end of the “$h”.  Compare the two and you’ll see.  J
!           If you are using Windows to store these files, DO NOT USE “$t” because it won’t work.  Cisco will store the timestamps as “:” and Windows don’t like it. 
!           You can use TFTP, FTP, SCP and some more stuffs. 
  path tftp:///Subdirectory/$h-
!           The next two lines means that this command will run when someone saves the configuration and/or at a certain time, like 24 hours or weekly. 
  time-period
  write-memory
end

Similar Messages

  • TFTP 'configuration update' from 5508 WLC fails stating reason as '%Error: Config file transfer failed – Unknown error –refer to log'

    Dear Experts,
    I have two WLCs and other management devices as part of same subnet. I am able to upload ‘configs’ from all the devices on to my TFTP server. However when I am attempting to do the same from one of my WLC, it is failing consistently stating error message as:
    ‘%Error: Config file transfer failed – Unknown error –refer to log
    Has anyone else too faced the same issue and how would we overcome this? Any specific debug that could help get more details on it?
    Though the error message says, refer to log but still I don’t see anything that gets reflected in ‘Monitor logs’ which is related to ‘configuration file’ upload failure.
    WLC code: 7.4.100.0
    PFA as the error snippet.
    Thanks and Regards,
    Adnan

    Hi Kaneswaran,
    Just a soft reboot helped me solved the problem :). Still I am on 7.4 and facing no issues after this. 
    Apologies for coming too late to respond. Getting a down time window was not that easy and so was much delayed to try soft reload. I am still on 7.4 and facing no issue. 
    Glad that in your case it starting working all of a sudden. Could you please verify from 'show tech-support' to confirm if by chance your WLC had undergone any crash that could have caused the WLC to reload and thus accidently fixing the issue :)
    Best Regards,
    Muhammed Adnan 

  • Config file from tftp at startup (6509 with Sup720)

    Hi together
    I will download the config file for my 6509 with Sup720 from a TFTP Server.
    I have configerd the GigabitEthernet 5/2, so I can ping the tftp-server. Also I'm able to down&upload files to the tftp-server.
    The configuration looks like:
    hostname Testrouter
    boot host tftp run 192.168.88.250
    boot network tftp run 192.168.88.250
    interface GigabitEthernet5/2
    switchport
    no ip address
    media-type rj45
    interface Vlan1
    ip address 192.168.88.9 255.255.255.0
    The service config command is also set!
    The big problem is, the router comes up normaly and do not access the tftp-server in any way :-(
    Have anyone a idea?
    Thanks a lot in advance
    Cheers Ralph

    I have done it now in this way, but without any improvement! :-(
    Here is my config:
    (I found the ip tftp ? command!)
    hostname Router
    boot host tftp://192.168.88.250/run
    boot network tftp://192.168.88.250/run
    no aaa new-model
    ip subnet-zero
    ip tftp source-interface GigabitEthernet5/2
    ip tftp boot-interface GigabitEthernet5/2
    interface GigabitEthernet5/2
    ip address 192.168.88.9 255.255.255.0
    media-type rj45
    ip default-gateway 192.168.88.250
    I'm able to ping the TFTP Server...
    Router#ping 192.168.88.250
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.88.250, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
    Router#
    Have anyone any idea??
    Cheers Ralph

  • WCS WLC Config Files

    I am finding it difficult to locate the backup config files for my controllers on the WCS server.  Can someone tell me the file extension and the file folder where these files are saved so I can verify they are getting saved?  This seems to be more complicated to find than it needs to be.                  

    When WCS was installed it asked you for a folder name where to store these files. Go to Admin--Settings--Server Settings and you will see the drive and folder name. Look in these .. Should be under TFTP folder
    "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
    ‎"I'm in a serious relationship with my Wi-Fi. You could say we have a connection."

  • VSH may not load properly - Error message in config file

    Hi again,
    I use the following eem script to copy the running config to a tftp-server:
    event manager applet SAVE_CONFIG_TFTP  event cli match "copy running-config startup-config"  action 1.0 cli copy running-config tftp://1.2.3.4/SWITCHNAME-eem.cfg vrf management  action 2.0 event-default
    When I open the config file on the tftp-server with an editior I see the following error message on top of the configuration:
    SH may not load properly. (Not enough memory resource)Please check rlimit of your process.Errno: 1; Error string: Operation not permittedTYPE : 3new softlimit bf8c45e8 hardlimit bf8c45ecold softlimit f4240 hardlimit f4240!Command: show running-config!Time: Fri Apr 26 11:21:12 2013version 6.1(3)feature-set fexfeature-set mpls[...]
    Besides this message I have not yet seen any negative impact. I googled for the error message and found a Cisco bug CSCsr06310 which should have been fixed in NX-OS 4.0(4)
    Anyone an idea what this is about? Is there anything I can do about it?
    Regards
    Pille

    Hi Joseph,
    to be honest the negative impact of this error is not big enough to justifiy the effort of opening a TAC case. Thanks for your answer anyway.
    Regards Pille

  • 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

  • Newbie Help with Restoring SPA504G config file

    I know just enough to be dangerous, but not enough to be completely effective.  Any help is much appreciated.
    I have a standalone SPA504G for which I have customized the configuration.  Frequently, several times a day, the phone resets and returns to the default configuration, erasing all my efforts.  As a result, I have two intertwined problems: 
    1 -- is there a way to prevent the resets?  I am tethered to RingCentral for my VOIP service, if that is relevant.
    2 -- if I cannot prevent the resets, how do I restore my configuration?  I have reviewed this helpful post and have downloaded the spacfg.xml file.  I have also installed Solarwinds TFTP Server for use in restoring the config file.  My problem is that I am completely unfamiliar with TFTP and have been unable to locate instructions as to how to upload, download and restore the spacfg.xml file.  Step-by-step "TFTP for Dummies" instructions would be greatly appreciated.
    Thanks for your help.
    Merk

    item 1,
    is your phone provisioned?  if Ring Central is provisioning it, they may be overwriting your changes.
    you can check by going into the provisioning tab on the phone web gui.
    click admin login --> advanced --> voice  -->provisioning
    look for profile rule. if it has anything but SPA$psn.cfg  it is probably provisioned.  (especially if it says something like http://provisioning.ringcentral.com  )
    the profile rule will download a new config file from the server every "resynch periodic" time (3600 sec by default), then if it is different from the current config it will implement and reboot.
    So to prevent this, remove the profile rule or set resynch periodic to 0.
    or have ringcentral put your changes into the provisioning file. 
    Most providers have a web 'dashboard' to make changes to the phones they manage.
    2 - to reload a config using tftp
    set up your tftp, put the file in the tftp root, and set the windows firewall to allow incoming connections to the app (solarwinds, tftpd32, etc), or port 69 UDP
    then in the gui of the phone use the resync url to load the config to the phone.
    http://ip.of.phone/admin/resync?tftp:////
    Note, if your config is in the tftproot, you should not need the /  part.
    hope it helps,
    dlm...

  • CatOS 7.1(x) code - failed TFTP config push issues

    All,
      I have found that CatOS 7.1(1) & 7.1(2) running on multiple platforms (tested on WS-C4006 and WS-C6509 so far) does not properly work when trying to push a configuration change up to the device from a TFTP server.  Our scripts (and I also executed each snmpset manually from the CLI to make sure it wasn't a script issue) can successfully push and pull configs on other CatOS versions on both 4000 and 6000 devices but so far has failed on every attempt for 7.1(1) & 7.1(2) code on multiple platforms.  I can't find anything on CCO or the internet where someone has run into this before.
    Anyone seen anything similar?
      We do large scales changes on many networks during maintainence windows and not having these devices work via SNMP and forcing us to use the CLI is a big time factor that is hindering our productivity.  Would like to know why these fail and if there is a workaround/solution?  Or do they not support SNMP/TFTP config change methods for whatever reason?
      When pushing a config change up to one of these devcie usign the 7.1.x code the status MIB will report back a 2 which means it was successful.  But the change never shows up in the config.  I'm simply trying to change the system contact in the config during my proof of concept until I found out what this issue is.
    Thanks in advance for any and all help/sugeestions,
    Steve 

    Joe,
      First off thanks for any and all help that you can provide.  Here are the OIDs that I hit to push a cfg from the TFTP server to the remote CatOS switch.  I am successful in pushing changes to a 6509 running 6.5 code and 7.6(8) code but have failed to push to multiple models of CatOS devices running 7.1(1) or 7.1(2) code to date.  I can pull the cfg from these 7.1(x) boxes without a problem.  But for test purposes we have tried jsut simply changing the system contact to see if this works or not and like I said so far its has not yeilded any successful results for 7.1(x) code.
    snmpwalk -c .1.3.6.1.4.1.9.5.1.3.1.1.17      <<<< se what slot the SUP module is located first
    snmpwalk -c .1.3.6.1.4.1.9.5.1.5
    snmpset -c .1.3.6.1.4.1.9.5.1.5.1.0 string
    snmpset -c .1.3.6.1.4.1.9.5.1.5.2.0 string textfile.txt
    snmpset -c .1.3.6.1.4.1.9.5.1.5.3.0 i 1
    snmpset -c .1.3.6.1.4.1.9.5.1.5.4.0 i 2
    snmpwalk -c .1.3.6.1.4.1.9.5.1.5.5
    When we originally discovered this it was run through a script.  but through testing out using the manaual process via CLI even manaually running the snmpsets and walks fail also.
    Thanks in advance,
    Steve

  • Cisco spa502g incorrect config file provisioned

    Hi Guys,
    Apologies if this is not in the right location for this question. But i have several phones which have not been rmeoved from the portal correctly or have been used as test phones on site. Now i have been able to get them removed from portal so that i can use them again however the issue i face is i cant reset the physical phones, they currently have a config file which if you log into the phone is asking for username and password so i cant check the URL for the provisioning file. I have no idea what this username and password would be and i have also tried doing it through the phone to no avail. I have read about how it may be possible to force a config file on using a tftp server, so have downloaded Solar winds but will be honest i have no idea how to do it. Nor have i got a config file to put on the phone.
    I am in a business enviroment so have got a POE switch and plugged laptop directly in and a SPA502G plugged in next to it. I have left the device all weekend to see if it would pick up a new config file after it cant find one as this was advised to me by BT wholesale. This has not worked either.
    Could somebody please asssit me with either explaining how i can get a config file on using solar winds tftp or if somebody knows another process on how i can reset these phones to ensure they have got the right provision file.
    Look forward to your response.
    Thank you 

    Wrong forum, post in "small business - SPA phones": You can move your posting with the Actions panel on the right.

  • Phone Config Files Missing/Corrupt?

    We just had an issue with a customer where all of their phones went down at once... when they rebooted the phones all got stuck at "Configuring IP Address".
    I logged into the system to take a look, all the phones were unregistered.
    When I did a debug on tftp events -- they were all trying to pull their config. (though it seems only the "Default" configs were going through successfully)
    I did a "no create cnf-files" then "create cnf-files" in telephony-service.... this IMMEDIATELY fixed the problem -- all the phones were re-registered within seconds.
    Has anyone seen this before? Any suggestions on what the cause could be?
    It seems to be a 2-fold issue, 1. All the phones rebooted at the same time, 2. The config files were seemingly gone, corrupt, or inaccessible in some way.
    For Cisco employees, SR #622640237 (UC520 - TAC)

    Hi Daniel,
    I have seen this before a few times, only ever though on a UC-520 and once only on a 540 but never on a UC-560... I don't know why each system exhibits different results/symptoms.
    Something goes feral with the CNF files and in particular to SPA phones and older 7960/40 series (Never for the 7965 or 7975 phones), the only way to resolve it was to do what you did and replace the CNF's with new ones by running the "NO" command and reinstating it again.
    This also mainly happens when it is a bad shutdown, moreso when it is a SAG or a Brownout and then complete powerdump, it is one of the first things to get effected by this.
    Cheers,
    David Trad.

  • CUCM Node FQDN in phone config file

    Hi,
    I am running in to an issue: the CUCM node names a phone receives are not the FQDN, but only the host name. This ofcourse is the case because they are configured like that in System -> Servers. Most phones do get from DHCP the correct domain name, so they look up the hostnames without a problem.
    However, now I have a phone in another site, which from DHCP gets a different domain name. This phone is now looking for hosts in a subdomain where it cannot find them, and thus cannot register with those CUCM nodes.
    I also figured out that if a phone can't resolve those hosts, it tries to register with the node at the TFTP server IP instead. However, when that node is not in the CUCM Group for that phone, it will get rejected.
    Is there a way to make CUCM push out FQDN node names in the phone config files?
    Kind regards,
    Tom

    Just change the names in System -> Servers to FQDN ;-)
    But....I'd strongly suggest you do one server at a time, and give time between each server name change. If you don't, the phones won't recognise the security certificates from CUCM, will fail to register, and you'll have to delete the TLS file from every phone. (Either manually or use a third party tool)
    Also, be *VERY* careful as you type in the new FQDN. If you mis-type it and hit "Save", you risk breaking your cluster. (Been there, done that, got the scars to prove it) If you're running on VMWare, a cluster-wide snapshot could be your friend here (regardless of whether Cisco support them or not)
    Oh, and before you start, make sure your DHCP servers are dishing out DNS Server IP addresses BEFORE you make any changes.
    GTG

  • PXE boot stuck at "downloading config file cmds\z_maint.cmd

    Hi.
    Since I applied NW6.5sp8 to our ZDM7SP1_HP2 server (January Driver Updates were in
    place before), the PXE boot gets stuck at
    downloading config file cmds\z_maint.cmd
    I had this very same issue before, there I missed to drop the correct version of
    sys:\tftp\boot\settings.txt, after doing so, PXE boot was working fine again.
    I doublechecked, that the right copies of the files initrd, linux and root are to be
    found in sys:tftp and ./boot.
    I *CAN* sucessfully download the z_maint.cmd file through
    tftp -i 10.27.1.8 get cmds/z_maint.cmd
    There is a very similar thread:
    news://forums.novell.com/dlee.3shxji...ums.novell.com
    The server in that thread is running on W2k3, not NW, as we use. So I suspect, that
    it might be a simple "wrong files issue", even though I really checked initrd, ...
    several times.
    What's my mistake?
    Regards, Rudi.

    Hi.
    I just want to add this information:
    *ALL* the different client PCs we run get stuck at the very same point of th PXE
    boot process.
    downloading config file cmds\z_maint.cmd
    the cursor is blinking next line and doesn't take any keystrokes.
    Regards, Rudi.

  • "Unable to open config file" Error when starting tomcat

    hi all,
    Here is the output from two of the log files when I start tomcat4 on my linux box. I have configured the mod_jk on the tomcat side.
    From the output of the second log file, it seems that the ajp13 worker I defined was started successfully. What I don't understand is the following:
    1) In catalina.out, where des the line 'Unable to open config file' come from? Which config file?
    2) Tomcat4 is supposed to generate a mod_jk.conf automatically, but I don't see any file generated in 'conf/auto/'.
    Content of 'catalina.out'
    Unable to open config file
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.4
    Unable to open config file
    Starting service Tomcat-Apache
    Apache Tomcat/4.0.4content of 'catalina_log.2002-08-16.txt'
    2002-08-16 01:05:22 HttpConnector Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][0] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][1] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][2] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][3] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][4] Starting background thread

    I have all those files too.
    I think the 'config file' mentioned in the error log is the mod_jk.conf.
    On Jason Hunter's tomcat4 guide, it says don't use the tomcat4 RPM to installed. What is the difference bettween the RPM version and the tar.gz version? The only difference I can think of is that in the RPM version, the conf directory is in the 'etc/tomcat4/conf'. Could it be the reason that tomcat4 cannot read the config file? But it has no problem reading the server.xml though.

  • Jabber for windows 9.2.1 - InitialPhoneSelection doesn't work if configuration is in custom config file

    Hi,
    my customer wanted set InitialPhoneSelection to deskphone mode, when users firs run Jabber for Windows (ver. 9.2.1).
    I created custom config (configurationfile=jabber-config-deskphone.xml) but it doesn't work.
    Policies>
         <InitialPhoneSelection>deskphone</InitialPhoneSelection>
    </Policies>
    I tested it couple times and at the end I tried put configuration to default jabber-config.xml and ... this functionality start working...
    Could you check guys if you have same problem with custom config file? I think that it is bug. Maybe other option don't work in custom config file.
    Thanks a lot
    Pavel

    Hi Pavel,
    This setting is only when the client is installed and started by the user for the first time. After that the client will save the user preference (what was the phone selection when the user exited the client)  and use it in subsequent logins.
    Having said that, can you please specify in details how exactly you did your tests or maybe test again taking the above into consideration ?
    Thanks,
    Christos

  • SQL Agent Job failing - not using credentials in the config file for Data source

    Hi
    We have an SSIS pkg, that is secheduled as SQL Agent job using proxy account. The pkg contanins data source for connecting different SQL servers and the proxy account do not have access to the external DBs. The data source credentials are stored in the Config
    file.
    Why the job is not using the credentials in the config file and try to use the proxy account and failing.
    Do the proxy account need access to all the external dbs in the pkg, and then what is the purpose of the config file.
    I am sorry, i am not SSIS person trying to understand. If any one can explain tha will be great!!
    Thank you!
    VR

    Please take a look at these URLs:
    Schedule a Package by using SQL Server Agent
    SSIS package does not run when called from a SQL Server Agent job step
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

Maybe you are looking for

  • I can't activate my iPhone

    Greetings, my name is CookieXtreme, I'm having some big problems with my iPhone 4 32GB, iOS 7. So, I had this problem since saturday, to be honest. I've had iOS 7 Beta, I bought it around 3 months ago in america. (I'm from the Luxembourg) Let me expl

  • Unzip a folder using pl/sql

    Hi All, I am creating zip folder using oracle pl/sql. Now i want to unzip the same folder for taking out the compressed file. Is it possible to unzip the folder in oracle pl/sql. Thanks in Advance. Cheers, Shan

  • Conditions we go for a particular dimension as high cardinlity?

    Hello SAP Gurus, Under which conditions we go for a particular dimension as high cardinlity? Any pratical scenairos you have faced in the project?

  • JMS Cache Sync Problems

    All, We're running into some strange problems synchronizing Toplink caches via JMS. In our environment, we have two different applications running under the same app server - different code in general, but they use the same Toplink mapping and mapped

  • Ipad suddenly not connecting

    Last night, I was using safari on my iPad, and a notification that told me that there was no connection. I checked and indeed there was no connection. I renewed the lease, forgot the network, reset the network settings, restarted the router, and stil