07-30-2009 06:46 AM
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"?
Solved! Go to Solution.
07-31-2009 10:16 AM
Ah rats, I stand corrected.
07-30-2009 07:02 AM
Since it's from CISCO-ENTITY-FRU-CONTROL-MIB, it can probably be disabled by "no snmp-server enable traps fru-ctrl"
07-30-2009 07:16 AM
thanks but in the alert
oid = 1.3.6.1.2.1.47.1.1.1.1.7.3019
is not listed at:
http://www.oidview.com/mibs/9/CISCO-ENTITY-FRU-CONTROL-MIB.html
07-30-2009 07:37 AM
3019 is a dynmaically generated index number identifying the unique object.
07-30-2009 07:38 AM
thanks a lot!
for CATOS, which command can disable this trap?
07-30-2009 07:44 AM
The config you posted above is from IOS.
For CatOS: "clear snmp trap enable entityfru"
07-30-2009 07:50 AM
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?
07-30-2009 07:55 AM
What's the "show version" on it?
07-30-2009 08:01 AM
WS-C6509-E Software, Version NmpSW: 8.4(2a)
Copyright (c) 1995-2005 by Cisco Systems
NMP S/W compiled on Mar 29 2005, 17:20:54
System Bootstrap Version: 12.2
System Boot Image File is 'bootdisk:cat6000-sup32pfc3k9.8-4-2a.bin'
thank!
07-30-2009 09:43 AM
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".
07-30-2009 09:50 AM
thanks but I don't see this command "clear snmp trap entityfru" is available in CatOS
CATos-SW1> (enable) clear snmp trap ?
all Clear all SNMP trap receivers
index Clears only specified SNMP trap receiver
07-30-2009 10:09 AM
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.
07-31-2009 09:43 AM
ok. bloody CatOS
it is "set snmp trap disable entity"
07-31-2009 10:16 AM
Ah rats, I stand corrected.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide