How to monitor bandwidth on Catalyst via SNMP?

I've got c3750g with 12.2(55)SE.
When I try ifSpeed (1.3.6.1.2.1.2.2.1.5), i've got 1 peak 999999999 and then only 0. Polling is 1 second.
When I try ifHighSpeed (1.3.6.1.2.1.31.1.1.1.15), I've 0 also.
When I try ifInOctets from snmp-v2 MIB (1.3.6.1.2.1.2.2.1.10), I've got results, but since it summary - my software cannot do calculations and I cant get instant interface bandwidth.
Is there any solutions for catalyst?

Hi,
Are you saying ifSpeed. is changing value from one poll to the next? What kind of interface is it? Sounds like a bug, or an error in polling. Please post the snmpwalk of ifDescr, ifType, and ifSpeed.
For the ifHighSpeed issue, from the IF-MIB entry about that object: "For a sub-layer which has no concept of                bandwidth, this object should be zero." Are you polling ifHighSpeed on a sub-layer interface?
Bandwidth utilization is always calculated by taking multiple readings of in or out counters. There will not be a separate counter kept in our snmp agent, when separate values already exist and can be calculated. Thus, since you can use ifSpeed and poll ifInOctets to get the delta, and then calculate the result, our snmp agent will not contain the utilization number.
If you want a graph of bandwidth utilization over time, I would suggest obtaining MRTG. It is available free of charge over the web, just search for MRTG download.
Hope that helps,
Curtis

Similar Messages

  • Monitor the OSPF neighbors via snmp

    Hello,
    I monitor the OSPF neighbors via snmp. On the 3750 it works correctly.
    http://www.cisco.com/en/US/tech/tk869/tk769/technologies_white_paper09186a00801177ff.shtml
    On 3750X via snmp I do not see that OSPF neighbors in the VRF. How to see through snmp??
    I use the IOS C3750E-UNIVERSALK9-M 15.0(2)SE on 3750X
    best regard

    The solution is to update to 12.2(55)SE5

  • 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

  • Monitor pki certificate status via snmp

    I recently discovered that a number of our remote sites could not connect to each other via dmvpn due to various certificate problems.
    They could all connect to our hubs due to pre shared keys, so the problem was never discovered before a colleague discovered MM_KEY_EXCH states on some of the routers.
    I therefore want to monitor the state of the certificates, preferably via snmp.
    I found a nice looking mib,CISCO-PKI-PARTICIPATION-MIB, on http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.505
    but none of our routers seem to support it, and when you click on "view supporting images", it also specifies: "There is no supporting images available for
    CISCO-PKI-PARTICIPATION-MIB"
    Do you have any experience on how to monitor certificate status on your Cisco routers?

    No real solution. I found that they all needed to connect to one specific router, so I fire off "show crypto isakmp sa | inc MM_KEY_EXCH" on that specific router via our management platform, and receive a mail with the output on a daily basis.

  • ASA 5512 - monitor power supply status via snmp oid

    Device – ASA 5512 running 9.1(1).
    Show version:
    ASA-1# sh ver
    Cisco Adaptive Security Appliance Software Version 9.1(1)
    Device Manager Version 6.6(1)
    Compiled on Wed 28-Nov-12 11:15 PST by builders
    System image file is "disk0:/asa911-smp-k8.bin"
    Config file at boot was "startup-config"
    ASA-1 up 8 hours 38 mins
    Hardware:   ASA5512-K7, 4096 MB RAM, CPU Clarkdale 2792 MHz, 1 CPU (2 cores)
                ASA: 2048 MB RAM, 1 CPU (1 core)
    Internal ATA Compact Flash, 4096MB
    BIOS Flash MX25L6445E @ 0xffbb0000, 8192KB
    Issue: looking for a snmp OID to poll power supply status (Inbuilt Power Supply -  no redundant power supply in this scenario). Possibly what we see in show environment.
    CSE analysis:
    I tried using the OIDs belonging to CISCO-ENTITY-FRU-CONTROL-MIB , like cefcFRUPowerOperStatus and cefcFRUPowerAdminStatus but it didn’t return anything.
    NOTE: I have done all the snmp walks from the Linux server. Do I doubt it’s something to do from the snmp manager side.
    Couple of observations. The  CISCO-ENTITY-FRU-CONTROL-MIB talks about the field replaceable power supplies, so I doubt if it’s going to return the value for inbuilt power supply.
    Second, I noticed that there are snmp traps supported for power supply and threshold setting. See configuration below. Is it that only traps works for power supply and environment related details?
    Snmpwalk on cefcFRUPowerStatusEntry returns nothing:
    [root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1
    SNMPv2-SMI::enterprises.9.9.117.1.1.2.1 = No Such Object available on this agent at this OID
    Snmpwalk on cefcFRUPowerOperStatus returns nothing:
    [root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.2
    SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2 = No Such Instance currently exists at this OID
    Snmpwalk on cefcFRUPowerAdminStatus returns nothing:
    [root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.1
    SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1 = No Such Instance currently exists at this OID
    [root@tonbenso-eagle bin]#
    login as: root
    I tried polling the ciscoEntityFRUControlMIB to see what all values it return. It just returned enterprises.9.9.117.1.3.1.0 = INTEGER: 2. Meaning cefcMIBEnableStatusNotification is FALSE (value 2). Meaning cefcModuleStatusChange, cefcPowerStatusChange, cefcFRUInserted, cefcFRURemoved, cefcUnrecognizedFRU and cefcFanTrayStatusChange are prevented from being sent.
    Snmpwalk on ciscoEntityFRUControlMIB
    [1]+  Stopped                 ./snmpwalk -v2c -c public 172.16.169.29
    [root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117
    SNMPv2-SMI::enterprises.9.9.117.1.3.1.0 = INTEGER: 2
    Object
    cefcMIBEnableStatusNotification
    OID
    1.3.6.1.4.1.9.9.117.1.3.1
    Type
    TruthValue
    Permission
    read-write
    Status
    current
    MIB
    CISCO-ENTITY-FRU-CONTROL-MIB ;   -   View Supporting Images
    Description
    "This variable indicates whether the system
    produces the following notifications:
    cefcModuleStatusChange, cefcPowerStatusChange,
    cefcFRUInserted, cefcFRURemoved,
    cefcUnrecognizedFRU and cefcFanTrayStatusChange.
    A false value will prevent these notifications
    from being generated."
    Found couple of bugs:
    CSCty32558 – but then this is for 5585 and I see it is fixed in 8.4
    CSCul90037 – New state
    Show snmp-server oidlist:
    http://www-tac.cisco.com/Teams/ks/c3/getLargeFile.php?srId=632222409&fileName=20141030-013905_ASA-show-snmp-server-oidlist.txt
    Show tech:
    Sh run | in snmp:
    ASA-1# sh run | in snmp
    snmp-server host asa 172.18.123.228 community *****
    no snmp-server location
    no snmp-server contact
    snmp-server community *****
    snmp-server enable traps entity power-supply-presence power-supply-temperature  -----à I was talking about this trap above
    any help will be appreciated.

    Hi
    I've got an ASA with redundant power supplies. An ASA5585. So I have the need to monitor them. :-) So how can we do it?
    Also I've made a SNMP-Walk through the ASA v8.4(2)8 and it doesn't show up any ENV-MIB values. The
    1.3.6.1.4.1.9.9.13 tree is not available. Are you shure it's available on the ASA?
    Funny is also that the command "show snmp-server oidlist" from the 8.4 configuration guide is not available on the real CLI. I think the documentation guys were faster than the coders. ;-)
    Kind regards
    Roberto

  • How to monitor gbic SFPs metrics using SNMP?

    i have
    Vendor Name           :   CISCO-FINISAR
    Vendor Part Number    :   FTRJ1319P1BTL-C
    Vendor Revision       :   0x42 0x20 0x20 0x20
    and when i try to get info from telnet i get normal information
    #sho interfaces transceiver
    If device is externally calibrated, only calibrated values are printed.
    ++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.
    NA or N/A: not applicable, Tx: transmit, Rx: receive.
    mA: milliamperes, dBm: decibels (milliwatts).
                                               Optical   Optical
               Temperature  Voltage  Current   Tx Power  Rx Power
    Port       (Celsius)    (Volts)  (mA)      (dBm)     (dBm)
    Gi0/26       52.5       3.25      26.9      -5.7     -13.8
    but i couldnot get from snmp can someone tell me if is some configure in device or  oid .

    i have
    Vendor Name           :   CISCO-FINISAR
    Vendor Part Number    :   FTRJ1319P1BTL-C
    Vendor Revision       :   0x42 0x20 0x20 0x20
    and when i try to get info from telnet i get normal information
    #sho interfaces transceiver
    If device is externally calibrated, only calibrated values are printed.
    ++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.
    NA or N/A: not applicable, Tx: transmit, Rx: receive.
    mA: milliamperes, dBm: decibels (milliwatts).
                                               Optical   Optical
               Temperature  Voltage  Current   Tx Power  Rx Power
    Port       (Celsius)    (Volts)  (mA)      (dBm)     (dBm)
    Gi0/26       52.5       3.25      26.9      -5.7     -13.8
    but i couldnot get from snmp can someone tell me if is some configure in device or  oid .

  • How to monitor cpu frequency change via inotify?

    BIG EDIT:
    See, this works:
    shell 1:
    #touch /tmp/hello
    #inotifywait /tmp/hello
    Setting up watches.
    Watches established.
    Shell2:
    #echo hello >/tmp/hello
    Shell1:
    /tmp/hello MODIFY
    This does not!
    shell 1:
    # inotifywait /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
    Setting up watches.
    Watches established.
    Shell 2:
    # cpupower frequency-set -g powersave
    Setting cpu: 0
    Setting cpu: 1
    Gozer ~ # cpupower frequency-set -g performance
    Setting cpu: 0
    Setting cpu: 1
    Shell 1 is still waiting... WHY?
    Anybody could try to reproduce and or give me an hint?
    Last edited by kokoko3k (2013-10-09 09:44:57)

    Open the Terminal app and enter at the prompt:
    sysctl hw.cpufrequency

  • CSM-S, how to monitor by snmp.

    I'm using a CSM-S module on my 6513 chassis. How can I monitor it with NNM via snmp?
    Thanks.
    Andrea.

    Hi,
    See the following. They all can be entered into the global mode.
    snmp trap-type enterprise
    snmp auth-traps
    snmp trap-type generic
    snmp trap-type enterprise dos-illegal-attack trap-threshold 1000
    snmp trap-type enterprise dos-land-attack trap-threshold 1000
    snmp trap-type enterprise dos-smurf-attack trap-threshold 1000
    snmp trap-type enterprise chmgr-module-transition
    snmp trap-type enterprise chmgr-ps-transition
    snmp trap-type enterprise isc-lifetick-failure
    snmp trap-type enterprise login-failure
    snmp trap-type enterprise reload
    snmp trap-type enterprise redundancy-transition
    snmp community #@$@# read-only
    snmp community #@$@# read-write
    snmp trap-host XX.XX.XX.XX #$#$%#%
    snmp contact "ABC Company"
    snmp name "CSS-$#%$#%"
    snmp trap-type enterprise service-transition
    snmp location "Sydney L32 MK22"
    snmp trap-source specified XX.XX.XX.XX
    snmp trap-type enterprise dos-syn-attack trap-threshold 500
    thanks

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

  • Monitor SA520 via SNMP

    Hi
    I have a SA520 configured in load balancing. It is possible to monitor the WAN status via SNMP?
    Thanks
    Marco

    I noticed that Staffan gave a good answer over at Stackoverflow. I'm making a copy of it here if somebody else is searching the forum and would like to know.
    "The details are on [this webpage|http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html]. In short, what you have to do is:
    * Start with -Dcom.sun.management.snmp.port=portNum
    * Copy the ACL template file in JRE_HOME/lib/management/snmp.acl.template to JRE_HOME/lib/management/snmp.acl, and make it readable and writeable by only the owner."

  • 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

  • Bandwidth monitoring on a Catalyst 2960

    Hello all, I'm working with two Catalyst 2960 switches and I would like to know if there is a way to monitor bandwidth on individual ports. Ideally I would like to have one graph showing a bandwidth usage reading on each port. I tried using the Network Assistant to accomplish this, but I was only able to view one port at a time. I also tried using a traffic graphing program from Paessler, but a MIB file is needed to allow the program to connect to the switch. When I ran a search on the network management page the 2960 was not on the list for MIB supported products. Is this type of graph possible to do? Or is there a more effective way to accomplish what I would like to do. Any ideas or suggestions would be helpful.

    Hi, we have just swapped all our avaya switches with catalyst 2960 (12, 24 and 48 ports) and 3750 (48 ports with 10gig module).
    How do I find what port I should monitor for bandwith graphs?
    Target[10.0.0.22_loc1]: 1:@10.0.0.22:

  • N5K - monitor vPC status via SNMP

    Can I monitor a vPC via SNMP?
    I'm interested in "Peer status", "vPC keep-alive status", "Configuration consistency status" and "vPC role".
    N5K1(config-if)# show vpc
    Legend:
    (*) - local vPC is down, forwarding via vPC peer-link
    vPC domain id                   : 1
    Peer status                     : peer adjacency formed ok
    vPC keep-alive status           : peer is alive
    Configuration consistency status: success
    vPC role                        : primary

    Good question, I also want to know how we can do that.
    Sent from Cisco Technical Support iPad App

  • How do you switch output sounds   set to my external monitor that is connected via HDMI.

    How do you switch output sounds   set to my external monitor that is connected via HDMI. 

    Hello gail from Ajijic,
    If you'd like to change the audio output of your Mac, you can do so by accessing the Sound preferences in your System Preferences.
    Before you start, open the Output pane of Sound preferences (choose Apple menu > System Preferences, click Sound, then click Output).
    Choose a sound output device
    From the list of sound output devices, select the one you want to use. All sound output devices available to your Mac are listed, including the computer’s internal speakers, devices plugged into your computer’s sound port (), USB speakers, and AirPlay devices.
    For any device plugged into the computer’s sound port, choose Headphones.
    OS X Yosemite: Adjust your computer’s sound output settings
    Thanks for using the Apple Support Communities!
    Cheers,
    Alex H.

Maybe you are looking for