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

Similar Messages

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

  • Automatically shutdown wireless interface, out of office hours.

    Hi,
    I have a Cisco 870 Wireless-Router.
    I would like to turn the wireless interface off between 9pm and 8am when it's not being used.
    Is there a way this can be done automatically.
    i.e. shutdown 802.11 interface via a routine job (or maybe via .TCL script)
    Any help appreciated.
    Thanks
    Matt

    Hi All,
    I have the answer to my own question.
    (if anyone's interested)
    It can be done ! By disabling the radio interface via EEM configuration.
    thankfully I don't have to configure .tcl scripts.
    ......... here's my config .........
    event manager applet ENABLE-RADIO
    event timer cron name WeekdayStart cron-entry "00 8 * *"
    action 1.0 cli command "enable"
    action 1.1 cli command "configure term"
    action 1.2 cli command "interface Dot11Radio0"
    action 1.3 cli command "no shut"
    event manager applet DISABLE-RADIO
    event timer cron name WeekdayStart cron-entry "00 6 * *"
    action 1.0 cli command "enable"
    action 1.1 cli command "configure term"
    action 1.2 cli command "interface Dot11Radio0"
    action 1.3 cli command "shut"

  • Reporting bit/second sent and recieved on a switch interface via SNMP/SYSLOG

    Hi.
    In a Catalyst switch, under the command: show interface fast 1/0/1 (for example) there is a parameter "5 minute input rate YY bits/sec".
    Is it possible to send this value to a SNMP server or to a SYSLOG server? 
    Danny.

    here are 2 good basic documents on this topic:
    "How To Calculate Bandwidth Utilization Using SNMP"
    SNMP Counters: Frequently Asked Questions
    Basicly, what you have to do is, to poll the ifHCInOctets and ifHCOutOctets (from the IF-MIB (ifXTable) - e.g ifHCInOctets = .1.3.6.1.2.1.31.1.1.1.6.)
    and do some calculation to get bps. This thread gives a good example.
    there are 2 Mib objects, which gives directly what you want, but they are deprecated and have 32-bit counters, so they are not of practical use for highspeed (Gig) interfaces:
        locIfInBitsSec      1.3.6.1.4.1.9.2.2.1.1.6
        locIfOutBitsSec     1.3.6.1.4.1.9.2.2.1.1.8
    Typically you will poll these values with snmp instead of sending them; (for 64-bi counters (ifHCInOctets) you 'll have to use snmpv2c or snmpv3)

  • 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

  • Shutdown via SNMP

    Hi,
    I wanted to shutdown my Sun Solaris server by sending a SNMP-Set request to one of the Sun MIB variable. But there is not such variable. Therefore I was told that I have to write my own MIB and develop an agent supporting SNMPV2USEC.
    But I have no more information and I'm a beginner in Unix. Could anybody give me more information about this and about how I could do that ?
    Thanx
    Omid

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

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

  • MDS9216 & MDS9124 Fabric Switches interface stats. via SNMP

    Dear All,
    I am interested in monitoring the interface statistics (In/Out bytes) of MDS9216 & MDS9124 Fabric Switches via SNMP and have been researching on what OID (MIB) values shall i poll? Would anyone be able to help me please? I have looked at many places but the closest I could get is the IF-MIB MIB Interface which has ifTable giving ifInOctets and ifOutOctest per port !  I am not sure if this is what i am suppose to poll as the ifInOctets gives 'the total number of octets recieved on the interface' and not the traffic ? What i am interested in is knowing the traffic (rx / tx) on the port at the time of polling so i can poll them say every 5 min. and plot them via something like cacti.
    Please let me know if any one has got any suggestion as I am not getting anywhere on this.
    Thanks in advance.

    ifSpeed I see listed here :-
    http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/sw/rel_2_x/fabricware/mibs/reference/guide/mibiiobj.html#wp1044690
    not sure if that will give you what you need.  We use solarwinds to monitor our MDS's.

  • 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

  • Interface data rate readings fluctuate rapidly via SNMP

    Our cisco ASR 9000 router has been recently upgraded from 3.9.0 to 4.1.2, I'm monitoring the activity (traffic in/out)  of its interfaces via PRTG network monitor software, the readings I am getting now fluctuates alot and the utilization graph is showing high and low peaks, the graph is meaningless now and it's not smooth as it use to before, does anyone know the reason for this behavior ?

    Hi,
    I presume that this is the ACL rule that you have created
    object service http
    service tcp source eq www destination eq www
    access-list OUTSIDE_IN extended permit object http any object DEV_SERV
    And I presume that this is the Static PAT (Port Forward) configuration for the server you require access to.
    object network DEV_SERV
    host 192.168.2.32
    nat (data,outside) static xx.xx.xxx.xx service tcp www www
    While the NAT configuration seems fine if you want to do Static PAT and dont have a spare public IP address to do Static NAT, it does seem that your ACL rule is wrong.
    Notice that you define the service to be sourced from port TCP/80 and also destined to port TCP/80. The source port of a clients web server connection will probably never be TCP/80. It will be some random number above 1024 usually. You should only limit the connectivity on the basis of the destination port.
    So you could add this ACL configuration rather
    access-list OUTSIDE_IN permit tcp any object DEV_SERV eq www
    Let me know how it goes
    Hope this helps
    - Jouni

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

  • LMS 3.2 - snmp-write needed ?

    Hello,
    we are testing currently LMS 3.2 for a very large installation. In our network snmp-write access to devices is currently forbidden by a special company policy. The devices can only contacted via snmp-read and telnet/ssh.
    So my questions is:
    For which functions does LMS 3.2 realy need snmp-write access to the devices ? Or can I use telnet/ssh intead of snmp-write always ?
    Thx + Best regards
    Hendrik

    CiscoView also requires the SNMP read-write for most its configuration tasks (some can use telnet/SSH).  This is not nearly as show-stopping as IPM, though.  IPM is pretty much useless without SNMP read-write.  But note, that community string-based SNMP is no longer required in LMS.  You can move to SNMPv3, and be able to do SET operations in a more secure manner.

  • MIBS to Monitor Etherchannel and trunks via SNMP

    I would like to monitor the status of etherchannel and trunk configurations in 6500 Catalyst switches running both CATOS and IOS. I would like to understand the specific mibs/OIDS that should be monitored for etherchannels and trunks. I am trying to get a better handle on tracking the etherchannels and trunk dynamically and then understanding when the ports are having issues (up/down and errors). I need to understand how to differentiate these type of ports from regular access ports.
    Thanks,
    Tim

    Hi Tim,
    what exactly do you want to query via SNMP?
    For an (PAgP) Etherchannel, the member-interfaces might be interesting:
    https://supportforums.cisco.com/message/3957914#3957914
    For a trunk, you could start with the operational mode, depending on the platform you can use:
    vlanTrunkPortDynamicStatus (CISCO-VTP-MIB):
    vlanTrunkPortDynamicStatus.49 = notTrunking
    vlanTrunkPortDynamicStatus.50 = trunking
    vlanPortIslOperStatus (CISCO-STACK-MIB):
    vlanPortIslOperStatus.13.43 = notTrunking
    vlanPortIslOperStatus.13.44 = trunking
    Hope that helps
    Rolf

  • GSS monitor via snmp

    Hello,
    Is it possible to get the dns stat's of the GSS via snmp?
    On this moment we have found OID's of same basic stuf like memory; cpu load; interface stats
    memAvailReal 1.3.6.1.4.1.2021.4.6
    ssCpuRawIdle 1.3.6.1.4.1.2021.11.53
    ifInOctets 1.3.6.1.2.1.2.2.1.10
    Kind Regards,
    Gerrit Frans van pelt

    Good question. I would like this info too.

Maybe you are looking for