Comware Based
1753325 Members
5277 Online
108792 Solutions
New Discussion

5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

 
SOLVED
Go to solution
phil_k
Visitor

5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi,

 

we have 5900 switch connected to a proprietary element management system and it is permanently spamming alarms with major severity releatated to hh3cPeriodicalTrap

 

Finding from related MIB (hh3c-trap.mib):

-- Describe objects for SNMP periodical trap
    hh3cPeriodicalTrapObjects OBJECT IDENTIFIER
        ::= { hh3cPeriodicalTrapGroup 1 }

    hh3cPeriodicalTrapInterval OBJECT-TYPE
        SYNTAX Integer32 (0|10..3600)
        UNITS "seconds"
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION
            "Definition of the periodical interval.
            If no trap occurs during the certain interval, an hh3cPeriodicalTrap
            will be generated.
            If the interval is set to 0, no hh3cPeriodicalTrap will be generated."
        DEFVAL { 60 }
        ::= { hh3cPeriodicalTrapObjects 1 }

 

How can we either configure the mentioned interval (to 0) or disable these traps by any other means?

 

We already tried to exclude the MIB subtree from used mib-view, but w/o success:

[sw1]snmp-agent mib-view excluded ViewDefault hh3cPeriodicalTrapInterval

 

 

More details about that switch:

<sw1>display version

HP Comware Software, Version 7.1.035, Release 2208P01

Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.

HP 5900AF-48G-4XG-2QSFP+ Switch uptime is 34 weeks, 3 days, 0 hours, 8 minutes

Last reboot reason : Power on

 

Boot image: flash:/5900_5920-cmw710-boot-r2208p01.bin

Boot image version: 7.1.035P05, Release 2208P01

System image: flash:/5900_5920-cmw710-system-r2208p01.bin

System image version: 7.1.035, Release 2208P01

 

Slot 1

HP 5900AF-48G-4XG-2QSFP+ Switch with 2 Processors

Last reboot reason : Power on

2048M   bytes SDRAM

4M      bytes Nor Flash Memory

512M    bytes Nand Flash Memory

Config Register points to Nand Flash

 

Hardware Version is Ver.A

CPLD Version is 001

BootRom Version is 124

[SubSlot 0] 48GE+4SFP Plus+2QSFP Plus Hardware Version is Ver.A

 

Thanks & Regards,

Phillip

6 REPLIES 6
sdide
Respected Contributor

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi Phil

 

I can't seem to find a CLI -command that can change this value. Which seems strange.

 

Have you tried setting the OID to 0 using a snmp-set command?

 

Btw R2208 is old and I've experienced several bugs with that. You might want to upgrade if thats an option.

 

Regards

Søren Dideriksen, Network Administrator
Region Midtjylland
phil_k
Visitor

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi Søren

 

thanks for your reply.

 

We managed to change that via snmp-set (from external linux host) and it seems to be working:

#/usr/bin/snmpwalk -v 2c -O fn -c public 192.168.1.1 1.3.6.1.4.1.25506.2.38.1.6

.1.3.6.1.4.1.25506.2.38.1.6.1.1.0 = INTEGER: 60

.1.3.6.1.4.1.25506.2.38.1.6.1.2.0 = INTEGER: 1

# /usr/bin/snmpset -v 2c -c public 192.168.1.1 1.3.6.1.4.1.25506.2.38.1.6.1.1.0 i 0

SNMPv2-SMI::enterprises.25506.2.38.1.6.1.1.0 = INTEGER: 0

# /usr/bin/snmpwalk -v 2c -O fn -c public 192.168.1.1 1.3.6.4.1.25506.2.38.1.6

.1.3.6.1.4.1.25506.2.38.1.6.1.1.0 = INTEGER: 0

.1.3.6.1.4.1.25506.2.38.1.6.1.2.0 = INTEGER: 2

 

But after rebooting the switch, the changes are gone again :-(

 

Do you have any idea how to make that change persistant?

 

We have also already considered FW update, which should be quite promising in that context (our lab switch with 2308P01 answers snmpwalk with "No Such Object available on this agent at this OID").
But problematic switches are running in productive environment of our customer and it is hard to argument a FW upgrade simply for alarm supression :-|

 

Thanks & Regards

Phil

40Gbit-Pat
Occasional Collector
Solution

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi phil_k,

I have the same issue with 5900´s to my HP IMC Software.

Today i have tested this CLI Command

 

snmp-agent trap periodical-interval ?
 <0,10-3600>  Periodical notification sending interval

 

Best Regards

Pat

 

sdide
Respected Contributor

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi 40Bit-Pat,

 

Quite interesting.

The command is not available at software R2210, but definately at R2311P05.

 

 

Reading the release notes, I found its a feature introduced in R2311P03.

http://h20566.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=5221896&docId=emr_na-c04543890&docLocale=en_US

 

That seems to be the answer.

 

Regards.

Søren Dideriksen, Network Administrator
Region Midtjylland
phil_k
Visitor

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi Pat, Søren,

 

thanks a lot for your support.

That seems to be it. Even it does not help us in 2208P01, but we have already proposed to our customer that we should update to a more mature FW.

 

Thanks & Regards

Phil

Sascha_G
Occasional Visitor

Re: 5900 switch spamming with hh3cPeriodicalTrapInterval and hh3cPeriodicalTrapSwitch alarms

Hi all,

it works for 5700/5900 but does anybody know how to deactivate this behaviour on a 12900?

It does not know the command "snmp-agent trap periodical-interval xx" even with the most recent 1138P03 firmware.

Best regards