Write mem via SNMP?

Is there any way to perform a "write mem" or "copy run start" via SNMP (snmpget) on IOS, CatOS or PIX/ASA?

Thanks! I thought it wasn't possible, but I should've searched:
http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1dd9fd99/0#selected_message
In the above thread, Nadim gave an example in which ccCopyEntryRowStatus was set to "5:createAndWait", whereas in the URL you pointed out "createAndGo(4) : Create an entry" and "destroy(6) : Delete an entry" were suggested. Would you know what the differences are between 4 (createAndGo) and 5 (createAndWait), specifically which one would you choose to commit a "write mem"?
Secondly, how is the random number below generated? Is that my choice?
snmpset -v 1 -c private
.1.3.6.1.4.1.9.9.96.1.1.1.1.2. integer 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.3. integer 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.4. integer 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.5. ipaddress ""
.1.3.6.1.4.1.9.9.96.1.1.1.1.6. octetstring ""
.1.3.6.1.4.1.9.9.96.1.1.1.1.14. integer 4

Similar Messages

  • Shutdown wireless interface via SNMP Write?

    Hi
    We're working on writing a very simple web app to control a couple of access points via SNMP.  I'm trying to shutdown the Wireless interface via SNMP WRITE with the following oid;
    .1.3.6.1.2.1.2.2.1.7.1
    and
    .1.3.6.1.2.1.2.2.1.7.2
    But its saying the integer of '0' is invalid (badValue, wrong type or length).  I'm able to set other values like hostname, etc, so I know my string is correct...can anyone help?  THanks
    Jason

    Hi
    Just found my own answer...the value to shutdown the interface is not 0, it's 2.  durrr
    Thanks
    J

  • Failover exec active write mem

    Hi Everyone,
    I was doing config change on firewall  in multicontext mode.
    IT has 2 contexts  admin and X.
    I log into admin context via ASDM and switch to context X with the  ASDM as  need to make changes to context firewall X.
    When i config the changes via asdm and click on apply it show me message
    failover exec active write mem followed by ACL which i was going to apply.
    Need to confirm if above command is safe to run on production network without causing any issues?
    Finally i logged into Context X which was admin for that and made the chnages via CLI.

    hi mahesh,
    i'm suspecting you're making changes in context x from the standby unit. you could verify with show failover command.
    it's safe to assume to issue a failover exec active write mem since you're just saving the config for the active unit.
    you could alternatively use the write memory all command to save the system and all context config changes.

  • AP350 configuration via SNMP

    I'd like to configure my AP350 via SNMP. In particular I need to configure on the AP a RADIUS server for athentication.
    Does anyone know which are the MIBs to use to enable and disable the use of the RADIUS server?
    Thanks in advance for your time.

    Hi !
    in br340v8_80.mib wrote:
    cfgRegNvTabBkbnDst OBJECT-TYPE
    SYNTAX INTEGER {
    off(1),
    discard(2),
    forward(3)
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
    "If set to off, filtering/forwarding will be determined by
    the equivalent setting in the filter defaults. Otherwise
    the variable determines whether those packets from the
    backbone LAN, whose destination address this entry
    will be discarded or forwarded.
    On the 610 this is only valid for multicast entries. On a 620
    this is valid for all entries."
    ::= { cfgRegNvTableEntry 4 }
    cfgRegNvTabRadDst OBJECT-TYPE
    SYNTAX INTEGER {
    off(1),
    discard(2),
    forward(3)
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
    "If set to off, filtering/forwarding will be determined by
    the equivalent setting in the filter defaults. Otherwise
    the variable determines whether those packets from the
    radio, whose destination address matches this entry
    will be discarded or forwarded.
    On the 610 this is only valid for multicast entries. On a 620
    this is valid for all entries."
    ::= { cfgRegNvTableEntry 5 }
    therefore in particular filters can change via SNMP!

  • Interface errors (crc, in/output, collisions etc.) via snmp

    Hi,
    I'm trying to understand how to get interface errors via SNMP.  I do get stats via SNMP for ifInErrors / ifOutErrors etc, but I'm trying to get output via SNMP for the errors visible via the 'sh int x' command - CRC errors, input / output errors, collisions, runts. giants etc.).
    1) The SNMP ifInError / ifOutError seems to give an overall counter of all errors from the time the device has started - Am I correct about this?
    2) Is there any way I can get the interface-specific errors noted above via SNMP?
    Thanks,
    Mario

    Depends on the device and version of code, but most likely you will get what you want from the CISCO-IF-EXTENSION-MIB.  Look at objects like cieIfInRuntsErrs, cieIfInGiantsErrs, and cieIfInFramingErrs.  You will also get some ethernet-specific errors from the ETHERLIKE-MIB.

  • How do I get the Username of an AnyConnect VPN session via SNMP?

    I would like to monitor the usernames of my AnyConnect sessions via SNMP.  This will allow me to monitor, graph, report, and alert using Solarwinds Orion (or any other SNMP software).
    I would like to monitor this on my ASA 5520. I have run the show snmp-server oidlist command and I can see all of the OID's that I can poll. However, the OID I would like to poll crasUsername (1.3.6.1.4.1.9.9.392.1.3.21.1.1) is not working.
    Does anyone know how I can monitor the username of a AnyConnect session via SNMP?
    Below is a link to a great MIB reference for ASA Remote Access Monitor OID list.
    http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=CISCO-REMOTE-ACCESS-MONITOR-MIB&r=cisco&f=CISCO-REMOTE-ACCESS-MONITOR-MIB.my&v=v2&t=tree

    Hello PDX,
    Welcome to the HP Support Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    Regards,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How to check current input/output rate on router subintenterface via SNMP?

    How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
    I cant find OID to make this with snmpwalk.
    Or there is no way to check current load by this way? Only polling?
    P.S. Ethernet subinterface, of course.
    With great respect, S.A.

    Hi,
    Try to use:
    1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
    1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
    1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription

  • Error when doing a write mem on 3525 router

    When I change the config on our 3525 router and then do a write mem command I get the following.
    [OK]private-config file open failed (File table overflow)
    Any one seen this?
    Mike

    Sorry...I had the info just forgot to put it in the question...just grabbed it again.
    3825#show ver
    Cisco IOS Software, 3800 Software (C3825-ADVIPSERVICESK9-M), Version 12.4(20)T1, RELEASE SOFTWARE (fc3)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by Cisco Systems, Inc.
    Compiled Wed 24-Sep-08 18:40 by prod_rel_team
    ROM: System Bootstrap, Version 12.4(13r)T10, RELEASE SOFTWARE (fc1)
    PRS_3825 uptime is 9 weeks, 42 minutes
    System returned to ROM by power-on
    System restarted at 22:11:16 CET Tue Oct 28 2008
    System image file is "flash:c3825-advipservicesk9-mz.124-20.T1.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected]
    Cisco 3825 (revision 1.2) with 487423K/36864K bytes of memory.
    Processor board ID FCZ123772WN
    2 Gigabit Ethernet interfaces
    35 Serial interfaces
    3 Channelized/Clear E1/PRI ports
    1 Virtual Private Network (VPN) Module
    4 Voice FXO interfaces
    DRAM configuration is 64 bits wide with parity enabled.
    479K bytes of NVRAM.
    125440K bytes of ATA System CompactFlash (Read/Write)
    Configuration register is 0x2102

  • Monitor OSPFv3 via SNMP not working - Is OSPFv3 MIB supported?

    I need to be able to query the OSPFv3-MIB via SNMP to track the status of OSPFv3.
    I have setup a 3945 router in a test lab network and I have configured it in an Ipv6 network with OSPFv3.  The router has an active OSPFv3 neighbor and I can use that neighbor to send/receive data (the routing is working fine).  However, when I walk the SNMP MIBs I don't get a response for the OSPFv3-MIB.  According to the Cisco SNMP Object Navigator this MIB should be located at 1.3.6.1.3.102.*.  Below is an example trying to query a particular OID from the OSPFv3 MIB.
    C:\>snmpwalk -v 2c -c public 197.16.18.1 1.3.6.1.3.102.1.5.1.8
    SNMPv2-SMI::experimental.102.1.5.1.8 = No Such Object available on this agent at  this OID
    I can walk other parts of the MIB (For example the OSPFv2 MIB) and get responses, so I know the router has SNMP turned on.
    Looking at the Cisco IOS Mib Locator tool (http://tools.cisco.com/ITDIT/MIBS/MainServlet?IMAGE_NAME=c3900-universalk9-mz.SPA.152-4.M3.bin) for the current software version I am running (c3900-universalk9-mz.SPA.152-4.M3.bin) on a 3945 router it claims that the OSPFv3 MIB is supported in this image.  
    Maybe I need to configure something else?  Maybe my SW doesn't really support this MIB?  Could it be that I have to query the router over Ipv6 to get the OSPFv3-MIB (I have only been trying Ipv4)?

    Hi ,
    As Vinod suggested , you need to configure the "SNMP CONTEXT"
    Configure:
    ==========
    Basic configuration consists of 4 steps:
    Configure mapping between VRF name and SNMP context :
    snmp-server vrf <vrf_1> context <context_1>
    Create community string corresponding to the VRF :
    snmp-server community <vrf_1> RW
    Define context string
    snmp-server context <context_1>
    Configure mapping between context and community:
    snmp-server community-map <vrf_1> context <context_1>
    (optional) Configure snmp server traps for this VRF community
    snmp-server host <IP> traps version 2c <vrf_1>
    For e.g:
    snmp-server vrf miki
    context miki_bgp
    snmp-server community miki RW
    snmp-server context miki_bgp
    snmp-server community-map miki context miki_bgp
    Hope it will help
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ***

  • How to restart base station via SNMP ?

    How to restart airport extreme via SNMP, with snmpwalk for example ? I can get a lot of information from base station with snmpwalk and airport-mib but still mystery what to poke when I want reboot base station over network.

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

  • Weird error when doing "write mem"

    Whenever I performed "write mem", I am
    getting this error:
    NYC#wr
    Building configuration...
    % Configuration buffer full, can't add command: line vty 0
    %Aborting Save. Compress the config.[OK]
    NYC#
    NYC#wr
    Building configuration...
    % Configuration buffer full, can't add command: line vty 0
    %Aborting Save. Compress the config.[OK]
    NYC#
    Basically, I can not save my config into
    the flash. How can I fix this? Thanks.
    David
    NYC#sh ver
    Cisco Internetwork Operating System Software
    IOS (tm) C2600 Software (C2600-IK9O3S3-M), Version 12.3(12), RELEASE SOFTWARE (fc3)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2004 by cisco Systems, Inc.
    Compiled Mon 29-Nov-04 15:40 by kellythw
    Image text-base: 0x80008098, data-base: 0x819F9E70
    ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
    ROM: C2600 Software (C2600-IK9O3S3-M), Version 12.3(12), RELEASE SOFTWARE (fc3)
    NYC uptime is 2 days, 8 hours, 38 minutes
    System returned to ROM by power-on
    System restarted at 03:21:09 UTC Wed Feb 21 2007
    System image file is "flash:c2600-ik9o3s3-mz.123-12.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    cisco 2621 (MPC860) processor (revision 0x102) with 59392K/6144K bytes of memory.
    Processor board ID xxxxxxx (xxxxxxx)
    M860 processor: part number 0, mask 49
    Bridging software.
    X.25 software, Version 3.0.0.
    3 FastEthernet/IEEE 802.3 interface(s)
    32K bytes of non-volatile configuration memory.
    16384K bytes of processor board System flash (Read/Write)
    Configuration register is 0x2102
    NYC#

    i got the same error..
    Richardson-CE1(config)#wr        do wr
    Building configuration...
    % Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.
    Continue? [no]:
    % Configuration buffer full, can't add command:  description ALLOW-GRE-IPSEC-PREFIXES-FROM-MIXME-ROUTER
    %Aborting Save. Compress the config, Save it to flash or Free up space on device[OK]
    Richardson-CE1(config)#
    i did service compress-config but the router is very slow right now.. any thoughts what might be causing the slow response of the device?

  • No ifIndex table when querying via SNMP

    Hello, looking for suggestions before opening up a TAC case.
    Just received a Nexus 3000 with NX-OS 6.0(2)U2(1) and when I attempt to walk the ifTable via SNMP the ifIndex table is not present. Walking the ifIndex table itself results in  "IF-MIB::ifIndex = No Such Instance currently exists at this OID". show interface snmp-ifindex is fine and the rest of the ifTable displays properly.
    My switch config is just a basic RO community with no ACL's or anything yet. A pair of the same switches with NX-OS 5.0(3)U5(1a) display the table no problem.
    Any suggestions, or has anyone else seen this?

    Did you navigate the FireFox plugin to the DB file that is in the Simulator app bundle:
    /Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATED_NAME/YOURAPP.app
    or
    /Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATEDNAME/Documents
    Message was edited by: xnav

  • Incorrect bandwidth values via snmp?

    I have two cat 2900 16 port switches, for some reason when i read the bandwidth utiliz. values via snmp (PRTG, and MRTG give same results) i only show a steady 1-1.5 kbps up and down flow with occasianal spikes of the upstream to 2 or 3kbps..this is the same across all ports, now if i send something across the switch, nothing changes, nor is any other traffic i throw at the switch reflected... the peculiar thing is if i access the switch's web interface while conducting a 10.5 mbit transfer across the switch, i will see a spike of correct values (as i read on the hosts machines) reported by the snmp agents but only for 2 or 3 reads across 5 second periods..then its back to what i described again.. I've done factory resets on both and both of these snmp agents correctly read the bandwidht values from my dell and intel switches so i've ruled the agents out..
    any ideas?
    thanks, joe

    Thanks for the quick reply but thats not the problem. its not a units issue as i see somekind of traffic but when i'm maxing out the 100mbps port i see no change in the snmp reported graphs..but like i said i will see the actual values if i'm reloading or access the switches web interface.
    this is such a weird issue..and its affecting two swithces that are the same model but from different places.
    any ideas?

  • TCL or EEM scripts to do TDR testing via SNMP?

    Does anyone know of any EEM or TCL scripts to do TDR testing via SNMP?  Is it even possible?

    I do not, and I didn't see anything obvious on Cisco Beyond.  There is a CISCO-CABLE-DIAG-MIB which could be used to start tests, and get their results.  This MIB is supported on a few different device types, and could be used in conjunction with EEM to start and monitor TDR tests.

  • How to reset Dot11Radio interface via SNMP

    Hi guys,
    Please tell me how i RESET my AP's radio interface via SNMP? It's mean down and up right behind sb.
    I'm using several SNMP commands for manage to our Cisco's. But I'm unsuccessful at this.. Please help me. Thakns.

    Isn't there any response? isn't there any Cisco Specialist at there???

Maybe you are looking for

  • Reading values from txt file

    Hi, I was hoping someone could help me. I am trying to read these values 3.182, 0.02734, 1126.0, 4.998E-4, 0.01581, 11.0, -150.3, 10.46, 3.735, 0.8474, -0.4854, 0.7866, 1.475, 0.9439, 0.769, 0.1846, 0.07678, -0.9491, -1.236, -0.9908, 0.5265, -0.27, 0

  • Excel from alv

    hi i use class CL_SALV_TABLE to show alv, when i transfer it to excel to answer look in this format: USD 01.01.2001 28.52 USD 01.01.2001 25.34 i want that the fromat look like: USD        01.01.2001     28.52 USD        01.01.2001     25.34 how can i

  • Can't access Solaris 10 after install Essbase 11.1.1.3 32/64-bit clients

    We try to install Oracle Essbase 11.1.1.3 Client 11.1.1.3 32 and 64 bit in separated folders on Sun Solaris 10. Installation performed by root. 1. 32-bit Essbase 11.1.1.3 Client was installed and cofigured in ../ESS11113_32 folder with Oracle install

  • Screen navigation between two components

    Hi, I have created 2 web dynpro component 1 and component 2. Component 1 has 1 view for ex: ABC and Component 2 has 2 views(XYZ1 and XYZ2, XYZ1 being the main view.) We have a requirement where we need to navigate from Component A iview ABC to compon

  • Work with calculation forms on ipad?

    Hello, is it possible to work on the cases with calculation forms as http://individuelle-mitgliedschaft.aktivtreff.de/templates/injoy/images/vitalis. pdf The form was created with Adobe Lifecycle designer. With Acrobat Reader, I can open it, but the