how to disable snmp trap:snmp trap cefcPowerStatusChange

Answered Question

on our C6500 (IOS) switches, each time an IP phone connected or disconnected will result to a trap like this:

Message:

snmp trap cefcPowerStatusChange

Event details:

cefcFRUPowerAdminStatus = 3

cefcFRUPowerAdminStatus.3019 = 3

cefcFRUPowerOperStatus = 2

cefcFRUPowerOperStatus.3019 = 2

entPhysicalDescr = 10/100/1000BaseT

entPhysicalDescr.3019 = 10/100/1000BaseT

entPhysicalName = Gi2/8

entPhysicalName.3019 = Gi2/8

monitor = localhost

oid = 1.3.6.1.2.1.47.1.1.1.1.7.3019

in the config, we have:

snmp-server enable traps snmp linkdown linkup coldstart warmstart

snmp-server enable traps chassis

snmp-server enable traps module

snmp-server enable traps bridge newroot topologychange

snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency

snmp-server enable traps fru-ctrl

snmp-server enable traps entity

snmp-server enable traps vtp

snmp-server enable traps vlancreate

snmp-server enable traps vlandelete

snmp-server enable traps flash insertion removal

snmp-server enable traps c6kxbar intbus-crcexcd intbus-crcrcvrd

snmp-server enable traps envmon fan shutdown supply temperature status

snmp-server enable traps vlan-mac-limit

IS there anyway to disable trap for "power status change"?

I have this problem too.
0 votes
Correct Answer by yjdabear about 7 years 4 months ago

Ah rats, I stand corrected.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
yjdabear Thu, 07/30/2009 - 07:02

Since it's from CISCO-ENTITY-FRU-CONTROL-MIB, it can probably be disabled by "no snmp-server enable traps fru-ctrl"

yjdabear Thu, 07/30/2009 - 07:37

3019 is a dynmaically generated index number identifying the unique object.

yjdabear Thu, 07/30/2009 - 07:44

The config you posted above is from IOS.

For CatOS: "clear snmp trap enable entityfru"

here is output from CatOS C6500

Traps Enabled: autoshutdown,callhomesmtp,chassis,entity,envfan,envpower,

envshutdown,envstate,envtemp,flashinsert,flashremove,inconsistency,l2tunnel,

linkerrhigh,linkerrlow,loopinconsistency,macmove,macnotification,macthreshold,

module,newroot,port,redundancy,rootinconsistency,sysinfolog,system,topochange,

vlancreate,vlandelete,vmps,vtp

Port Traps Enabled: 5/1-9,6/1-9

Module inlinepower traps enabled: 1-4,8

I don't see entityfru, just "entity"

do I need to clear anything?

yjdabear Thu, 07/30/2009 - 09:43

Apparently I missed the fact 1.3.6.1.2.1.47.1.1.1.1.7.#### is an ENTITY-MIB trap, in which case you would want to "clear snmp trap entity" to stop it.

Erratum to one of the earlier posts: It should've been "clear snmp trap entityfru"--no "enable" when "clear".

yjdabear Thu, 07/30/2009 - 10:09

Note it's "entity" in my first paragraph: You want to use "clear snmp trap entity" to stop the 1.3.6.1.2.1.47.1.1.1.1.7 traps on your CatOS.

Actions

This Discussion