SNMP OID on Catalyst 3750G & 3650G

Hallo guys,
we have a couple of 3750Gs and sveral 3650Gs in my company lan, and I'm looking for the SNMP OIDs supported with which the very basic status of these switches can be retrieved. I mean generic status like the switch is being active, or experiencing technical error etc...
I was advised to take 1.3.6.1.2.1.4.1.0 (IPForwarding), but I'm not sure if it is the right one. I'd appreciate if someone can give me a hint..
Thank you!
Li Lu

Your request is pretty generic.  There are a lot of OIDs which can provide device health.  You might want to start with ifInOctets, ifOutOctets, ifInErrors, and ifOutErrors.  Those will give you per-port byte and error counts in both the ingress and egress directions.
As for whole-device help, take a look at the moduleTable from the CISCO-STACK-MIB.  The object moduleStatus will tell you the status of the fixed switch itself.

Similar Messages

  • I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.

    I am trying to build a basic TCL skeleton script that reads a remote SNMP OID and displays the value on the screen.
    I don't want it to be an EEM Event, I just want to run it from the (tcl)# prompt.
    So I guess I'm asking if you can use cli_exec and other commands in the "namespace import ::cisco::eem::*" in a normal non-EEM script - can I do that?
    This is the error I get:
    OTN.159(tcl)#source flash:TCL_SNMP_Remote_Read.tcl
    invalid command name "::cisco::eem::event_register_none"             ^
    % Invalid input detected at '^' marker.
    What am I missing?
    =================  TCL_SNMP_Remote_Read.tcl  ==============================
    ::cisco::eem::event_register_none
    namespace import ::cisco::eem::*
    namespace import ::cisco::lib::*
    if [catch {cli_open} RESULT]
        { error $RESULT $errorInfo }
        else { array set cli1 $RESULT }
    if [catch {cli_exec $cli1(fd) "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0" } RESULT]
           { error $RESULT $errorInfo  }
           else { set SnmpSysDesc $RESULT }
    if [catch {cli_close $cli1(fd) $cli1(tty_id)} RESULT] {
                error $RESULT $errorInfo
    puts $SnmpSysDesc
    =========================================================================
    In the sho-run config I have:
    event manager directory user policy "flash:/"
    event manager session cli username "cisco"
    Any help to get me started would be greatly appreciated!
    Tim

    If you don't want an EEM policy, then don't use any of the EEM constructs.  Instead, all you need is this:
    set output [exec "snmp get v2c 192.168.1.100 public timeout 1 oid 1.3.6.1.2.1.1.1.0"]puts $output

  • The cisco snmp oids do not work, I can't get cpu or memory data.

    Hello. I want to monitor the cpu and memory usages on my cisco devices using snmp. I found the snmp oids related to cpu in the following page :
    http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a94.shtml
    I just copy the table here:
    But the oids in the table do not work on my devices. For example, I have a cisco 3550 switch with the ip 192.168.1.211, version 12.2(25)when I want to get the informations about the oids up in the table, I got these results:
    It shows that the oids cisco given up in the table are not existed in my 3550 switch's MIB. More weird is that when i add a number "1" to
    the end of the oid cisco given, I can get some meaningless data for some unkonwn item names like "entreprises.x.x".
    For most mib items, the snmp oids work well on my switch. For example, the following graph shows the interface out rate of the swtich:
    I think the essence is when I executed the following command:
    in all the output results, there's not any item relevant with "cpu" or "memory", but most other items are ok, such as interfaces, as shown below:
    IF-MIB::ifDescr.47 = STRING: FastEthernet0/39
    IF-MIB::ifDescr.48 = STRING: FastEthernet0/40
    IF-MIB::ifDescr.49 = STRING: GigabitEthernet0/1
    IF-MIB::ifDescr.50 = STRING: GigabitEthernet0/2
    IF-MIB::ifDescr.51 = STRING: Null0
    IF-MIB::ifDescr.52 = STRING: Vlan1
    IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
    So why the cisco given oids won't work on my cisco switch, and how can I get the datas I want? Anyone has some advices? Thanks in advance!
    In case the pictures I inserted missing, I attach my problem in the doc.

    Have you looked at this previous discussion:
    Can't Activate FaceTime

  • How I can force to Catalyst 3750G to work like SLAVE

    Hi,
    Help me, how I can force to Catalyst 3750G to work like SLAVE, I can't find the command..

    Hello Friend
    You have to set the slave switch's priority to be lower than the master switch.
    3750-Stk>show switch
    Current
    Switch# Role Mac Address Priority State
    1 Slave 0016.4748.dc80 1 Ready
    *2 Master 0016.9d59.db00 5 Ready
    This following link is a good read
    http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a00807811ad.shtml#pval
    Thanks
    Suresh

  • Snmp oids for the command "show counters interface intx/y delta"

    Hello,
    I have a question about SNMP OIDs for the command "show counters interface intx/y delta" on Catalyst6500. The customer wants to create graphs for the following values:Overruns, qos0Outlost, InErrors, OutErrors, InDiscards, OutDiscards etc..
    Is possible to get these values using SNMP??
    Thank you
    Roman

    Thank you, Dan. These OIDs are for the output from the command "show interface int x/y". But I think, that these OIDs are not for the command "show interface int x/y delta".
    Roman

  • SNMP OIDs for solaris 8

    Hello
    Someone could tell me where to find a list of SNMP OIDs for solaris 8
    thank you for your cooperation

    Thank you, Dan. These OIDs are for the output from the command "show interface int x/y". But I think, that these OIDs are not for the command "show interface int x/y delta".
    Roman

  • Vpdn: searching for snmp oid to log out vpdn session

    Hello colleagues,
    Cisco 7204 works as vpdn server.
    There are two problems:
    1) I'm searching for snmp oid to log out , terminate vpdn session
    2) radius server does not receives snmp statistics of incoming traffic of vpdn users.
    Please is anyone able to assist me?
    aaa new-model
    aaa authentication login default local
    aaa authentication ppp default group radius local
    aaa authentication ppp VPDN local group radius
    aaa authorization network default local group radius
    aaa accounting delay-start
    aaa accounting update periodic 3
    aaa accounting exec default start-stop group radius
    aaa accounting network default start-stop group radius
    aaa session-id common
    vpdn enable
    vpdn-group 1
    ! Default PPTP VPDN group
    description HOMENET
    accept-dialin
    protocol pptp
    virtual-template 3
    interface Virtual-Template3
    ip unnumbered Loopback1
    peer default ip address pool vpdn-pool
    no keepalive
    ppp authentication chap VPDN
    snmp-server community xxxxxxx RW
    snmp-server chassis-id 0x0E
    snmp-server enable traps tty
    radius-server host x.x.x.x auth-port 1812 acct-port 1813
    radius-server timeout 60
    radius-server key 7
    radius-server authorization permit missing Service-Type
    Best regards, Petr Akimov

    Hello –
    I received a reply from the developer of the script, and listed below is the new code that was suggested:
    #!/bin/bash
    value=`snmpwalk $1 -v1 -c $2 .1.3.6.1.2.1.25.1.5.0 | cut -d " " -f4`
    if [[ value -gt  $3 ]]
    then
    echo " $value Users Online, Critical!"
    retval=2;
    else
         if [[ $value -gt $4 ]]
               then
               echo " $value users online, Warning!"
               retval=1;
               else
               echo " $value Users online, fine."
               retval=0;
               fi
    fi
    exit $retval;
    I checked the server in question, and there were two, 2, user logins active on the system. I ran the snmpwalk command, and the output was the following:
    HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 15
    I then modified the script to include the above text, and ran it again. The output was the following:
    15 users on line, Normal.
    For some reason, the value of 12 appears to be that for no users logged into the system. I am not sure why that is the case.
    If nothing else, progress has been made with the modification of the script.  The snmp service that I have installed on the server is that which came bundled as a
    feature with the server. The only thing that was not installed was the SNMP WMI Provider option.

  • SG-500 - SNMP OID for CPU Load?

    Hello,
    i have several SG500 (Standalone and stacked). How can i get the CPU Load via SNMP? Who knows the correct SNMP OID for CPU Load?
    In the MIB which are provided as download a wasn't able to find the correct OID.

    Hello,
    There are three OIDs available for CPU usage:
    CPU utilization for 5 seconds
    .1.3.6.1.4.1.9.6.1.101.1.7.0
    CPU utilization for 1 minutes
    .1.3.6.1.4.1.9.6.1.101.1.8.0
    CPU utilization for 5 minutes
    .1.3.6.1.4.1.9.6.1.101.1.9.0
    This came from a scrap note I had in an e-mail, so I am not exactly sure where this information is originally.
    Let me know if that works for you,
    Christopher Ebert - Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • Does Catalyst 3750G have IPv4-IPv6 translation feature ?

    we developed an application with IPv4 and it is being put on IPv6 based network to talk to the client application.  We have Catalyst 3750G and want to enable IPv4-IPv6 translation.  Does 3750G have such feature ?  If yes, how can we use it ?

    I think not. Routers have that capability
    When enabling communications between IPv4 <-> IPv6 you need v4-v6 Tunnels and/or translations(NAT) w/c can only be done in routers

  • EEM detector SNMP OID does not work

    i want to use EEM to detector policy-map class traffic rate, if class traffic is more than a number, trigger syslog message.
    below is my EEm script  on ASR1002 ( asr1000rp1-adventerprisek9.02.04.02.122-33.XND2.bin)
    event manager applet Rate-limit
     event snmp oid ".1.3.6.1.4.1.9.9.166.1.15.1.1.10.50.196608" get-type exact entry-op gt entry-val "100" poll-interval 10
     action 1.0 syslog msg "policy Rate-limit"
    but i did not see anything showing on syslog. from debug, i got below error msg :
    Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_async
    Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_poll_timer: re=0x3D144824, timer_type=POLL
    Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_poll_timer: OID unavailable, value check skipped
    Jun  1 02:21:49.160 GMT: fh_fd_snmp_start_poll_timer: start_t=10000
    but i could get number from snmpwalk command :
    xchen-mac:~ xchen$ snmpwalk -v 2c -c <string> -m ALL stde1002a .1.3.6.1.4.1.9.9.166.1.15.1.1.10.50.196608
    SNMPv2-SMI::enterprises.9.9.166.1.15.1.1.10.50.196608 = Counter64: 112938
    please help me where is wrong ?

    Duplicate post. 
    Go here:  https://supportforums.cisco.com/discussion/12219976/eem-detect-snmp-event-not-working

  • Cisco Catalyst 3750G

    What is different between Cisco Catalyst 3750G-24-TS-S 1U and Cisco Catalyst 3750G-24-TS-S 1.5 U, Other than Size( Any other technical difference)

    Hi Kali ,
    Size only matters when compare both the switches.
    Cisco Catalyst 3750G-24TS
    24 Ethernet 10/100/1000 ports and 4 SFP ports; 1.5RU
    Cisco Catalyst 3750G-24TS-1U
    24 Ethernet 10/100/1000 ports and 4 SFP ports; 1 RU
    Thanks,
    satish

  • Cisco ASA SNMP OIDs (show name, show vpn-sessiondb l2l)

    Hi all,
    I am trying to figure out the SNMP OIDs that is equivalent to the following ASA commands:
    show name
    show vpn-sessiondb l2l
    Thanks!

    im looking for the solution ? did u ever find out if this was possible?

  • EEM Scripts on a Catalyst 3750G

    Does anyone know if I can run EEM scripts on a Catalyst 3750G switch? If so, what version of IOS do I need to make it work?
    Thanks!    

    Joseph,
    I want to create a simple EEM script on a Catalyst 3750G running ipservices IOS on it. All I want to do is monitor interfaces GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4. If either of these interfaces go down, I wan the EEM script to shutdown interface GigabitEthernet 1/0/26. Here is what I put together so far. I haven't tried it yet, but do you think this will work?
    Thanks!
    event manager session cli username "root"
    event manager applet Stop_Announcing_BGP
    event syslog pattern "Interface GigabitEthernet1/0/3, changed state to down"
    event syslog pattern "Interface GigabitEthernet1/0/4, changed state to down"
    action 1.0 cli command "enable"
    action 1.1 cli command "configure terminal"
    action 1.2 cli command "interface gig1/0/26"
    action 1.3 cli command "shut"

  • What snmp OID to use to monitor control-plane of router

    Hi there!
    I've applied policy-maps on control-plane, based on cisco recomandation.
    Now i need to know, what snmp OID i've to use to monitor them (i'm using zabbix)
    Let me know.
    Regards!

    If you are using IOS which uses a policy-map to configure Control Plane Policing then you are asking in the wrong place as this forum is for IOS-XR not IOS but you can poll objects in the CISCO-CLASS-BASED-QOS-MIB::cbQosPoliceStatsTable (for example cbQosCMDropByte64, cbQosPoliceExceededByte64, cbQosPoliceConformedByte64).
    If you mean you have changed the LPTS policers to help protect the control-plane in IOS-XR then I believe there is currently no support for polling the counters via SNMP. See the section on monitoring in Xander's document https://supportforums.cisco.com/document/93456/asr9000xr-local-packet-transport-services-lpts-copp

  • Upgrade of Cisco Catalyst 3750G 24T

    Hi, 
    I want to upgarde a Cisco Catalyst 3750G 24T because I can't see the web interface.
    I checked the documentation and see a lot of videos on the net.
    I downloaded the new firmware c3750-ipbasek9-mz.122-55.SE9.bin
    I downloaded a tftp software and putted my ip adress on it.
    I connected the Cisco by console and launched Putty by serial.
    I sended en for grant my right access.
    I sended my password
    and tapped :
    copy tftp: flash:
    it asks TFTP Ip, i gave it
    10.0.0.45
    file name
    i gave it 
    c3750-ipbasek9-mz.122-55.SE9.bin
    and after It sended me when it must put it and i sended the same name.
    c3750-ipbasek9-mz.122-55.SE9.bin
    And then It works few seconds and the cisco says error ... time out.
    I've tested with W8, W7 and a lot of tftp server. I disabled my firewall.
    The password is the default password. It is a problem ?
    Can you help me ?
    Thanks
    Nicolas

    Copying only the BIN files into the appliance will NOT help.  You still won't be able to use the web interface.  
    You need to download the full IOS, the filename ends with TAR.   To unpack the file into your appliance you use the command "archive download-sw tftp://<TFTP IP address>/filename.tar".

Maybe you are looking for

  • How to create a folder with java application?

    Hi expert I would like to read some tutorial or manual to understand the logic behind the management of the folder and document from a java application in KM. Anyone could help me? thank you Andrea

  • 'Format Payment Instructions with Text Output' program ending in error

    Hi All, 'Format Payment Instructions with Text Output' program of the payment cycle is completing in to error. error is: length of the output - baos::4914 After formatting, periodicSeq is null or empty.{} length of the output - baos::4914 Exit: iby.s

  • Query ESSBASE and Oracle in one query

    What is the best way to query in the same time an ESSBASE database and an Oracle Database.I need to retrieve ESSBASE data with information stored in Oracle Database (supplement data).Thanks

  • PS CS5 Action will not stop for interactive dialogue

    I've written an action for CS5 that worked just fine in CS2...but doesn't work now. I want the action to stop so that I can adjust layer opacity manually, but it just runs right on by that part of the process with the values I wrote the first time. I

  • How to fix tables created with wrong initial extents

    1.We have many tables which are created with very large intial extents. Is there a way to reduce or resize initial extent? 2.When I export the *.dmp is about 200MG, but the tablespace is more than a gig full. Why is that? 3.I have a table with about