cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1440
Views
4
Helpful
3
Replies

Help! SNMP Trap - Power violation threshold

katari.tvt1
Level 1
Level 1

I'm writing an SNMP Manager Application with C#. But first I want to try to retreive some Trap notifications about Optical power from my Cisco3400 ME.

I applied these command to the CLI :


snmp-server community nm54MANE RW
snmp-server community public RO
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps entity
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config
snmp-server enable traps syslog
snmp-server enable traps alarms informational
snmp-server host 172.16.253.10 version 2c public

After that, i ran my application (just to catch the trap messages). It was able to receive every trap messages such as :config, link up/down... but not somethings like optical transceiver, entity...

I tried to loose the fiber cables to make optical power violate the threshold. And then in CLI, I got it:

Nothing like this in my Application. Did i forget somethings?

3 Replies 3

Arjun Sarkar
Cisco Employee
Cisco Employee

Hello ,

 I just want to  understand the issue. Are you concerned about Threshold violation messges? These messges are informstional and doesn't have any impact on switching performance. 

BEst Regards
Arjun

Hello,

Thanks for your reply... So it still unavailable if i do "no switch-port" and give it an IP, doesn't it? I don't think so? Because i can get the current Optical Power of SFP port by make SNMP GET request manually, I just used it as a router with nothing like switching performance!

I was only supplied this kind of Cisco devices to study, i think use it as a router also be ok.

Can you share me some experiences working with "Threshold Violation Messages".

Are there any others solution to get Optical Power Status automatically?

In fact, I want to draw a realtime chart on a web site with JQuery,  which shows Power status of a specific SFP Interface (of course i must save the status values on a SQL server). I used to think about making SNMP GET requests periodically, but it seem to be bad for traffic and causes"crossing prolems", server permission... (because we must imagine that we don't have only one node)!

It's my final thesis. i'm very close... Give me some suggestions, please!!

Grateful,

VinhThuy

Hello ,

 These messges usually comes up if you have bad SFPs / Fiber. As per the troueblshooing steps we sugegst to  reseat SFP / Fiber or someimes reseat of SFP solves theses alarmas to go off.

Hope this helps..