WEP Setup via snmp

I am trying to manage WEP keys via SNMP on my Aironet1200-IOS based AP.
The cd11IfVlanEncryptKeyTable holds the WEP data configured via the WEB interface.
Using SNMP I can delete table rows and modify existing entries, but I cannot create new entries.
Anybody know what I am doing wrong?
Thanks
Ashleyb
(I have attached the script I used to try and update the keys)

Hi Ashleyb,
I've just came across your problem and I know
it's been loooong :) time you posted it but perhaps
that might be a kind of hlep for you.
I think what you are doing wrong is trying to create
a row in a table 'partially' whereas it should be
created 'at one go' using just single SNMP command like this one below;
# snmpset -mall -v1 -c Admin 10.0.0.197
.1.3.6.1.4.1.9.9.272.1.1.1.9.1.5.1.5.2 i 4 \
.1.3.6.1.4.1.9.9.272.1.1.1.9.1.3.1.5.2 u 13 \
.1.3.6.1.4.1.9.9.272.1.1.1.9.1.4.1.5.2 x 12345678901234567890123456 \ .1.3.6.1.4.1.9.9.272.1.1.1.9.1.6.1.5.2 i 2
Best Regards
Pawel Szczuka

Similar Messages

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

  • Password recovery via SNMP

    Hi
    Has anybody ever tried resetting a vty or the enable secret password via SNMP?  I've read that there is something you can do with pullling back the running-config and comparing it to startup-config....via snmp assuming you know the RW Community-string.
    But I was sure there was another method available whereby you could (if you knew snmp community-name) reset the passwords remotely using snmp?
    Regards
    Mary

    Hello Mary,
    This is the example I have for you:
    We need to make is to create a new ROW in the device within the ccCopyTable Mib, where all the values are going to be stored in order to replace the line we want in the configuration:
    The procedure to recover password via snmp only, instead of referencing a file with an entire configuration the contents of the file would be
    simply the password information that you want to change to.  It won't leave you with a one line config.  It will just overwrite the one line
    that is in your current running config.  The rest should stay the same.
    For example, create a .txt file with just these 2 lines in the TFTP boot directory of your TFTP application:
    enable password newpass
    end
    *** Note: the end statement is totally necessary.
    Step 1 (Creating the Row).
    ================================
    Please look into MIB ccCopyEntryRowStatus
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.14.222  i  5
    NOTE: var_type is "i" for Interger
    Value is 5 for createAndWait
    In the MIB the last .222 is the entry index in the table. If the row is occupied then please destroy it first and try to create it and wait again.
    Step 2 (Setting the protocol).
    ================================
    We are going to use TFTP to transfer the device configuration with the OID ccCopyProtocol.
    Please look into MIB ccCopyProtocol
    snmpset  -v  2c  -c  private  10.10.10.2 1.3.6.1.4.1.9.9.96.1.1.1.1.2.222  i  1
    NOTE: Value is 1 for tftp
    Step 3 (Specifying  the Source).
    ================================
    We are going to specify that what we want to copy is the file in your PC.
    Please look into MIB ccCopySourceFileType
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.3.222  i  1
    NOTE: Value is 1 for networkFile
    Step 4 (Specifying the Destination).
    ================================
    Once we have specified the Source, we need to tell what would be the destination to where
    we are copying the file.
    Please look into MIB ccCopyDestFileType
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.4.222  i  4
    NOTE: Value is 4 for runningConfig
    Step 5 (TFTP Server's Address).
    ================================
    Let's now setup the IP address of the server where the TFTP service is currently running and where the configuration is going to get copied.
    Please look into MIB ccCopyServerAddress
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.5.222  a
    NOTE: var_type is "a" for IP address
    Value is the TFTP server's IP address
    Step 6 (Specifying the File name in the TFTP Server).
    ================================
    Now, we need to tell the name of the file where the data is going to be sent to or stored (the one you create with the 2 lines).
    Please look into MIB ccCopyFileName
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.6.222  s
    NOTE: var_type is "s" for Display String. Sometimes the name could need " "
    Value is the file name in the TFTP boot previously created with full privileges
    Step 7 (Deploy the settings and run it).
    ================================
    Last thing is deploying the settings so the config archive takes place. Before activating the row 222,  we must double-check that the TFTP service is up and running.
    Is the service running?
    If yes, then activate the row with the following snmpset.
    Please look into MIB ccCopyEntryRowStatus
    snmpset  -v  2c  -c  private  10.10.10.2  1.3.6.1.4.1.9.9.96.1.1.1.1.14.222 i 1
    NOTE: Value is 1 for active.
    Step 8 (Check the results).
    ================================
    Check if the transfer was successful.
    do a snmpwalk to 1.3.6.1.4.1.9.9.96.1.1.1.1.10.222
    Results:
    1:waiting
    2:running
    3:successful
    4:failed
    Step 9.(Try to access the device).
    ================================
    This should be more than enough to change an specific line in the configuration using SNMP.
    I hope this answered your question.
    Best Regards,
    Angel V.

  • 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

  • Hi i would like to know how to extend the range of my time capsule wifi network(500G 802.11n) using an airport express. i have a double storey home and would like to extend range to my upstairs bedrooms.i have a time capsules network setup via a netgear a

    hi i would like to know how to extend the range of my time capsule wifi network(500G 802.11n) using an airport express. i have a double storey home and would like to extend range to my upstairs bedrooms.i have a time capsules network setup via a netgear adsl.i have a second imac upstairs which connects to time capsule wifi network (it is within range as it is directly abobe on 1st floor)
    could you tell me how best to set airport express up to extend my wifi range?

    Greetings,
    This is called an "Extended wireless network".
    Read this article for details and steps on how to extend your TimeCapsule's network:
    http://support.apple.com/kb/HT4259
    Cheers.

  • 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

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

  • Monitor the # of registered AP's on a 2504 via SNMP?

    Does anyone know the OID to determine the number of registered AP's on a WLC (specifically the AIR-CT2504).
    I've got both of the Airespace MIBs and have browsed through them but I can't seem to find the correct location.  I can find a list of all of the AP's registered but our monitoring software doesn't have the ability to 'count' that index.  As such, I'm looking for a count/summation of the total number of registered AP's via SNMP.
    Thanks!
    Brian

    It's an old post, but I had the same question. After some research I found a simple answer...
    Use this OID: .1.3.6.1.4.1.9.9.618.1.8.4.0
    If you want to also get the total number of Clients, use: .1.3.6.1.4.1.9.9.618.1.8.12.0
    It does not work on 7.0 - it does on 7.6 and 8.0.
    Best regards
    Christoph

  • Port counters via snmp on WRVS4400N

    Hi.
    I'm using SNMP to read the packet and byte counters on each port on my WRVS4400N. However, I just can't figure out what interface is what port. Also, can I see the total traffic on all ports together as well as the wireless traffic via snmp, which I can see in the web admin interface?
    An snmpwalk gives me the following interfaces:
    IF-MIB::ifDescr.1 lo
    IF-MIB::ifDescr.2 eth0
    IF-MIB::ifDescr.3 eth1
    IF-MIB::ifDescr.4 eth2
    IF-MIB::ifDescr.5 teql0
    IF-MIB::ifDescr.6 sit0
    IF-MIB::ifDescr.7 tunl0
    IF-MIB::ifDescr.8 gre0
    IF-MIB::ifDescr.9 ipsec0
    IF-MIB::ifDescr.10 ipsec1
    IF-MIB::ifDescr.11 ipsec2
    IF-MIB::ifDescr.12 ipsec3
    IF-MIB::ifDescr.13 br0
    I have equipment connected to LAN port 1, 2 and 4 as well as wifi clients. And on the WAN port of course. This is what I get in terms of traffic via snmp (only listing ifInOctets here)
    IF-MIB::ifInOctets.1 13454252
    IF-MIB::ifInOctets.2 1112133396
    IF-MIB::ifInOctets.3 1436498580
    IF-MIB::ifInOctets.4 11981231
    IF-MIB::ifInOctets.5 0
    IF-MIB::ifInOctets.6 0
    IF-MIB::ifInOctets.7 0
    IF-MIB::ifInOctets.8 0
    IF-MIB::ifInOctets.9 0
    IF-MIB::ifInOctets.10 0
    IF-MIB::ifInOctets.11 0
    IF-MIB::ifInOctets.12 0
    IF-MIB::ifInOctets.13 1080353959
    Any ideas here is appreciated. Thanks.
    /Thomas

    The RFC1213 Management Information Base for Network Management of TCP/IP-based internets: MIB-II describe the ifDescr value as:
    ifDescr OBJECT-TYPE
                  SYNTAX  DisplayString (SIZE (0..255))
                  ACCESS  read-only
                  STATUS  mandatory
                  DESCRIPTION
                          "A textual string containing information about the interface.  This string should include the name of the manufacturer, the product name and the version of the hardware interface."
    There is no standard values for the interface description and you will have to guess from the given name and device caractheristic.
    You can also check the OID .1.3.6.1.2.1.2.2.1.3 ifType that can give you a better idea about what it is.
    From what you sent we can guess that:
    eth0-2 are three Ethernet Interface. But where is the 4th Ethernet interface? Probably it has another name
    telq0 should be a load balancing or agregating virtual interface, I guess used for the QoS supported by the router
    ipsec0-3 maybe the virtual interface for the ipsec traffic
    tunl0 probably the VPN virtual interface
    For the reste... you will have to dig a little
     I hope this help
    Minds are like parachutes, they only function when they are open

  • Config copy via snmp - value out of range

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

Maybe you are looking for

  • G/L Account F4 Help Error

    Dear Gurus,                    I am working in Extended Classic Scenario and when creating the Shopping cart and assigning the Cost Assignment where in when i am clicking the Find for G/L, there is an error message displayed like "Display Not Possibl

  • AP that will work across subnets?

    Hello, We currently have a few 2106 wireless controllers and a dozen Aironet 1121 access points at our main location. We have radius authentication as well as certificates etc. This setup works great and has for years. We have a few satellite offices

  • P965 Platinum, Vista, and Raid

    I spent a good couple of hours skimming the boards yesterday trying to set up my two new 320 SATAII hard drives in a RAID array.  I ran into a ton of trouble, but then finally figured out part/all of my problem and got things working.  I figure this

  • Update some fields  in Internet

    Hi to all, customer having some fields display in his homepage(internet).. he wants to update somemore fields to that....so ill create a internal table with fields below what he wants.. ABLES: MARD, /UPM/GTB10. DATA: BEGIN OF ABCD OCCURS 0,       EXT

  • I need to uninstall a plug-in i shouldn't have installed

    Oops, I installed a plug-in that needed iPhoto 5 & I only have Iphoto 2 & now I can't export my photos - how can I get rid of the plug-in?