cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
418
Views
0
Helpful
2
Replies

How to prevent an snmp message from being generated

mr73
Level 1
Level 1

Hi,

this syslog entry is generated when a port monitor policy is activated/ deactivated:

%PMON-SLOT1-2-PMON_CRIT_INFO: Port Monitor Critical Information: Policy (slowdrain) deactivation is successfull
This entry generates a snmp-trap too. 
Is it possible to disable the creation of snmp-traps for policy activations/deactivations only?

 

Thank you for the replies!

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

what device is this, what code running ?

 

can you post your snmp config snippet here ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

mr73
Level 1
Level 1

yeah, oc

MDS9148S,  sv 8.4(2c)

and the shortened config:
snmp-server enable traps switchfabric fabric-crc
no snmp-server enable traps link cieLinkDown
no snmp-server enable traps link cieLinkUp
snmp-server enable traps callhome event-notify
snmp-server enable traps callhome smtp-send-fail
snmp-server enable traps cfs state-change-notif
snmp-server enable traps cfs merge-failure
snmp-server enable traps fcdomain dmNewPrincipalSwitchNotify
snmp-server enable traps fcdomain dmDomainIdNotAssignedNotify
snmp-server enable traps fcdomain dmFabricChangeNotify
snmp-server enable traps aaa server-state-change
snmp-server enable traps scsi scsi-lunDiscovery-complete
snmp-server enable traps fcns reject-reg-req
snmp-server enable traps fcns db-full
snmp-server enable traps rscn rscnElsRejectReqNotify
snmp-server enable traps rscn rscnIlsRejectReqNotify
snmp-server enable traps rscn rscnElsRxRejectReqNotify
snmp-server enable traps rscn rscnIlsRxRejectReqNotify
snmp-server enable traps fcs request-reject
snmp-server enable traps fcs discovery-complete
snmp-server enable traps fctrace route-test-complete
snmp-server enable traps zone request-reject1
snmp-server enable traps zone merge-success
snmp-server enable traps zone merge-failure
snmp-server enable traps zone default-zone-behavior-change
snmp-server enable traps zone unsupp-mem
snmp-server enable traps vsan vsanStatusChange
snmp-server enable traps vsan vsanPortMembershipChange
snmp-server enable traps fspf fspfNbrStateChangeNotify
snmp-server enable traps feature-control FeatureOpStatusChange
snmp-server enable traps vrrp cVrrpNotificationNewMaster
snmp-server enable traps fdmi cfdmiRejectRegNotify
snmp-server enable traps sysmgr cseFailSwCoreNotifyExtended
snmp-server enable traps config ccmCLIRunningConfigChanged
snmp-server enable traps link cisco-xcvr-mon-status-chg
snmp-server enable traps zone enhanced-zone-db-change
snmp-server enable traps system Clock-change-notification
snmp-server enable traps feature-control ciscoFeatOpStatusChange
snmp-server enable traps syslog message-generated

 

and output of sh snmp trap
--------------------------------------------------------------------------------
Trap type Description Enabled
--------------------------------------------------------------------------------
entity : entity_mib_change Yes
entity : entity_module_status_change Yes
entity : entity_power_status_change Yes
entity : entity_module_inserted Yes
entity : entity_module_removed Yes
entity : entity_unrecognised_module Yes
entity : entity_fan_status_change Yes
entity : entity_power_out_change Yes
link : linkDown Yes
link : linkUp Yes
link : extended-linkDown Yes
link : extended-linkUp Yes
link : cieLinkDown No
link : cieLinkUp No
link : connUnitPortStatusChange Yes
link : fcTrunkIfUpNotify Yes
link : fcTrunkIfDownNotify Yes
link : delayed-link-state-change Yes
link : fcot-inserted Yes
link : fcot-removed Yes
callhome : event-notify Yes
callhome : smtp-send-fail Yes
cfs : state-change-notif Yes
cfs : merge-failure Yes
fcdomain : dmNewPrincipalSwitchNotify Yes
fcdomain : dmDomainIdNotAssignedNotify Yes
fcdomain : dmFabricChangeNotify Yes
rf : redundancy_framework Yes
aaa : server-state-change Yes
license : notify-license-expiry Yes
license : notify-no-license-for-feature Yes
license : notify-licensefile-missing Yes
license : notify-license-expiry-warning Yes
scsi : scsi-lunDiscovery-complete Yes
fcns : reject-reg-req Yes
fcns : local-entry-change No
fcns : db-full Yes
fcns : remote-entry-change No
rscn : rscnElsRejectReqNotify Yes
rscn : rscnIlsRejectReqNotify Yes
rscn : rscnElsRxRejectReqNotify Yes
rscn : rscnIlsRxRejectReqNotify Yes
fcs : request-reject Yes
fcs : discovery-complete Yes
fctrace : route-test-complete Yes
zone : request-reject1 Yes
zone : merge-success Yes
zone : merge-failure Yes
zone : default-zone-behavior-change Yes
zone : unsupp-mem Yes
vni : virtual-interface-created No
vni : virtual-interface-removed No
vsan : vsanStatusChange Yes
vsan : vsanPortMembershipChange Yes
fspf : fspfNbrStateChangeNotify Yes
upgrade : UpgradeOpNotifyOnCompletion Yes
upgrade : UpgradeJobStatusNotify Yes
feature-control : FeatureOpStatusChange Yes
vrrp : cVrrpNotificationNewMaster Yes
fdmi : cfdmiRejectRegNotify Yes
sysmgr : cseFailSwCoreNotifyExtended Yes
rmon : risingAlarm Yes
rmon : fallingAlarm Yes
rmon : hcRisingAlarm Yes
rmon : hcFallingAlarm Yes
config : ccmCLIRunningConfigChanged Yes
snmp : authentication No
link : cisco-xcvr-mon-status-chg Yes
zone : enhanced-zone-db-change Yes
entity : entity_sensor Yes
entity : cefcMIBEnableStatusNotification Yes
system : Clock-change-notification Yes
generic : coldStart Yes
generic : warmStart Yes
feature-control : ciscoFeatOpStatusChange Yes
syslog : message-generated Yes
entity : cefcEnablePSOutputChangeNotif Yes
switchfabric : fabric-crc Yes

Review Cisco Networking for a $25 gift card