Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMP-Cisco 3560

I have this of my snmp.exe crashing down.I found the problem root coming from core switch Cisco 3560.I tried to remove the core switch configuration from my SNMP configuration and things started to work, I also tried leaving the running the original configuration with the core switch configuration and power down the core switch and things work.With this scenario, what really is causing my snmp.exe to crash?

Please advise.

3 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: SNMP-Cisco 3560

What is different about this other, working switch?

The configuration from this device is fine. I am not familiar with Ovation, but it if I read this config correctly, it looks like you're just polling ifOperStatus from all of the interfaces, and looking to see if any are down (value == 2). This doesn't raise any red flags per se.

I would highly urge you to pursue this problem with the Ovation vendor to see if they can provide more details about why their daemon is crashing. But if you want to dig into what SNMP packets are causing the problem, you will need a good sniffer application. I recommend Wireshark (freely downloadable from http://www.wireshark.org) as it is very powerful, and includes Windows binaries.

The idea is you will need to filter on udp/161 traffic between your Ovation manager and this switch. When the snmp2ovation.exe crashes, compare the time stamp of the crash to the captured packets. To do this, start a trace using Wireshark with a capture filter of:

host cs1 and udp port 161

Then have snmp2ovation.exe start polling the device. When it crashes, stop the trace, and do the above mentioned analysis.

Cisco Employee

Re: SNMP-Cisco 3560

Wireshark must be running on the Ovation server as that is where the SNMP traffic flow is occurring. You will need to use the capture filter I provided previously to capture the packets between the manager and the cs1 switch. It would also be useful to see the flow between the working, cs2 switch.

I didn't not notice any relevant configuration differences between these two switches, but configuration is only a small part. What software is the backup switch running? Please also provide an snmpwalk of the ifTable from both switches.

Cisco Employee

Re: SNMP-Cisco 3560

The problem here is that the manager is requesting ifOperStatus.2, but this instance does not exist on this switch. Since both switches reply with the same noSuchName error, I cannot say why cs1 causes the manager to crash while cs2 does not. That is a question for the Ovation vendor.

What I can tell you is that you will need that snmpwalk of the ifTable to know exactly which ifIndex instances should be polled from these switches. Hopefully, when you poll the correct indexes, the crash will go away.

18 REPLIES
Bronze

Re: SNMP-Cisco 3560

What software are you using?

New Member

Re: SNMP-Cisco 3560

It's a proprietary software used in DCS(Distributed Control System)called snmp2ovation.exe that talks to another proprietary software called Ovation.The other switches Cisco 2950 are working and I could see them updating if Cisco 3560 is switched off.

What do you think could be the problem?

Thanks,

June

Cisco Employee

Re: SNMP-Cisco 3560

What SNMP configuration do you have on the 3560? what version of IOS is it running? what is snmp.exe actually polling that causes it to crash? This latter item could be obtained by running a sniffer trace of the SNMP traffic to the switch, and correlating the the packets in the trace to the time the process crashes. Alternatively, a "debug snmp packet" on the switch may be used in the same way.

You may also check to see if there are any logs on the manager side that could reveal what was being polled when the process crashed.

New Member

Re: SNMP-Cisco 3560

Thanks for your reply...

Attached are the snmp_config file and the switch 3560 configuration for your reference.C3560-ipservices-mz.122-25.SED1.bin is the IOS version.

For your info, there's another Cisco 3560 switch being used as a backup but not causing the snmp2ovation.exe to crash.

I am just new with SNMP and have never used the tools that you had suggested.Is there a literature from Cisco or software that I could download?

Please advise.

Cisco Employee

Re: SNMP-Cisco 3560

What is different about this other, working switch?

The configuration from this device is fine. I am not familiar with Ovation, but it if I read this config correctly, it looks like you're just polling ifOperStatus from all of the interfaces, and looking to see if any are down (value == 2). This doesn't raise any red flags per se.

I would highly urge you to pursue this problem with the Ovation vendor to see if they can provide more details about why their daemon is crashing. But if you want to dig into what SNMP packets are causing the problem, you will need a good sniffer application. I recommend Wireshark (freely downloadable from http://www.wireshark.org) as it is very powerful, and includes Windows binaries.

The idea is you will need to filter on udp/161 traffic between your Ovation manager and this switch. When the snmp2ovation.exe crashes, compare the time stamp of the crash to the captured packets. To do this, start a trace using Wireshark with a capture filter of:

host cs1 and udp port 161

Then have snmp2ovation.exe start polling the device. When it crashes, stop the trace, and do the above mentioned analysis.

New Member

Re: SNMP-Cisco 3560

The other switches are cisco 2950.

I'll try your advice and let you know of the result later.

Thank you very much for your help.

Cisco Employee

Re: SNMP-Cisco 3560

You mentioned you had another 3560 that was not causing this process to crash. I was more interested in what was different about that switch vs. the one that is causing the process to crash.

New Member

Re: SNMP-Cisco 3560

Attached is the configuration of the backup Cisco 3560. I tried the wireshark but did not have success.Can you give me some short procedure to configure wireshark on capturing the SNMP packets between ovation manager and cs1?Do I need to have the wireshark running at ovation manager or I could have that running on my laptop?

Please advise.

Thanks again...

Cisco Employee

Re: SNMP-Cisco 3560

Wireshark must be running on the Ovation server as that is where the SNMP traffic flow is occurring. You will need to use the capture filter I provided previously to capture the packets between the manager and the cs1 switch. It would also be useful to see the flow between the working, cs2 switch.

I didn't not notice any relevant configuration differences between these two switches, but configuration is only a small part. What software is the backup switch running? Please also provide an snmpwalk of the ifTable from both switches.

New Member

Re: SNMP-Cisco 3560

C3560-ipservices-mz.122-25.SED1.bin is the IOS version. I am not familiar with snmpwalk.Can you email me a short procedure how to use it?One thing I noticed is that I can't ping or telnet cs2 when cs1 is down...Is this behavior have any relevance to my SNMP issue?

Please advice.

Thanks...

Cisco Employee

Re: SNMP-Cisco 3560

See http://net-snmp.sourceforge.net for a good SNMP toolkit as well as some useful SNMP tutorials. Without knowing more about what this SNMP manager is doing, I cannot say for certain if this is relevant. The sniffer trace showing the actual SNMP data responsible for the crash is the most useful thing to see at this point. From that, it should be easy to determine if the crash is an SNMP issue on the switch, or a problem with Ovation.

New Member

Re: SNMP-Cisco 3560

Thanks a lot for your help.I will continue with this troubleshooting tomorrow and try to get the information that you need.I'll let you know of my findings tomorrow as I have to leave the customer site due to some work schedule restriction.

Thanks again...

New Member

Re: SNMP-Cisco 3560

I was able to get some information before I get done for the day using the wireshark.I am jsut nor really sure if I did it right.Anyway,attached I got from wireshark and will appreicate very much if you could still take a look on it.I tried to run the snmp program and in both case it crash.I also tried to run it with cs1 powered down but I did not get any result.I'll try snmpwalk tomorrow and will send you the information that I'll get.

Thanks again for all your help.Have a good evening.

Cisco Employee

Re: SNMP-Cisco 3560

The problem here is that the manager is requesting ifOperStatus.2, but this instance does not exist on this switch. Since both switches reply with the same noSuchName error, I cannot say why cs1 causes the manager to crash while cs2 does not. That is a question for the Ovation vendor.

What I can tell you is that you will need that snmpwalk of the ifTable to know exactly which ifIndex instances should be polled from these switches. Hopefully, when you poll the correct indexes, the crash will go away.

New Member

Re: SNMP-Cisco 3560

Thank you very much for your help.I found now the problem that I really had overlooked to check.The cross-over cable between the two switches was terminated at port 2 and that's causing the snmp to crash but after moving it to port 1 everything works.Thanks for the new stuff that I learned and leading me to that direction to fix this problem.Just one last question, why the snmp would crash if the cross-over cable was terminated at port 2 of both switches?

Thanks again.

Cisco Employee

Re: SNMP-Cisco 3560

This is a question best left to the Ovation vendor. Since I have no idea how the code was written, I cannot say why it would crash in this scenario.

New Member

Hi,I just started working

Hi,

I just started working with SNMP in Ovation and found quite a bit documentation in their manuals. can you please let me know how I can use SNMP data points in HMI screens?

I'm following this settings in snmp_config file:

Device1.Variable2.Name:interfaces.ifTable.ifEntry.ifOperStatus.2
Device1.Variable2.Frequency: 4
Device1.Variable2.PointName: ES1PORTS1_16 
Device1.Variable2.BitNumber: 1
Device1.Variable2.Test: ValueEQConfiguredValue
Device1.Variable2.ConfiguredValue: 2

but how should the points to be used like to show the values or the time stamp?

New Member

Re: SNMP-Cisco 3560

Here's the last attachment...

Thanks again...

863
Views
0
Helpful
18
Replies
CreatePlease to create content