cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
571
Views
7
Helpful
3
Replies

SNMP Traps sent to Openview - Which level?

bpotschien
Level 1
Level 1

Hi there,

my Cisco C3500XL Switch (IOS 12.0(5.2)XU) sends many snmp traps to the snmp server.

Here is the config:

snmp-server engineID local XXXX

snmp-server community XXXX RW 1

snmp-server enable traps snmp

snmp-server enable traps config

snmp-server host 1.1.1.1 trap XXXX

The switch also sends link up/down messages. I don't want this.

Can you help me to fix this problem??

Thanks in advance!

1 Accepted Solution

Accepted Solutions

milan.kulik
Level 10
Level 10

Hi,

AFAIK, there are following commands involved (I'm running 12.0(5)WC8):

1) snmp-server enable traps snmp [authentication] [linkdown] [linkup] [coldstart]

2)int fa0/x

[no] snmp trap link-status (Allow SNMP LINKUP and LINKDOWN traps)

3) snmp-server host 1.1.1.1 trap XXXX [tty] [vlan-membership] [config] [entity] [c2900] [vtp] [cluster] [snmp]

My understanding is:

snmp-server enable traps snmp

enables ALL snmp traps including link up/down.

If you specify only

snmp-server enable traps snmp authentication coldstart

the link up/downs might not be sent.

If it doesn't help, try

no snmp trap link-status

for each interface.

This should definitely stop link up/downs from the interfaces.

Finally you can choose which traps are sent to 1.1.1.1 by using the options in

snmp-server host 1.1.1.1 trap XXXX ....

command.

BTW, I think it's better not to stop link up/down alarms BUT to configure HPOV alarm monitor to LOG ONLY (not to display them but save to the database) these traps.

Regards,

Milan

View solution in original post

3 Replies 3

milan.kulik
Level 10
Level 10

Hi,

AFAIK, there are following commands involved (I'm running 12.0(5)WC8):

1) snmp-server enable traps snmp [authentication] [linkdown] [linkup] [coldstart]

2)int fa0/x

[no] snmp trap link-status (Allow SNMP LINKUP and LINKDOWN traps)

3) snmp-server host 1.1.1.1 trap XXXX [tty] [vlan-membership] [config] [entity] [c2900] [vtp] [cluster] [snmp]

My understanding is:

snmp-server enable traps snmp

enables ALL snmp traps including link up/down.

If you specify only

snmp-server enable traps snmp authentication coldstart

the link up/downs might not be sent.

If it doesn't help, try

no snmp trap link-status

for each interface.

This should definitely stop link up/downs from the interfaces.

Finally you can choose which traps are sent to 1.1.1.1 by using the options in

snmp-server host 1.1.1.1 trap XXXX ....

command.

BTW, I think it's better not to stop link up/down alarms BUT to configure HPOV alarm monitor to LOG ONLY (not to display them but save to the database) these traps.

Regards,

Milan

Hi,

the 1) did not resolve my problem. In this IOS the only "snmp-server enable traps snmp" option is "authentication". "Linkdon/Linkup etc." are not possible.

But the 2) resolved my problem :-)

This was exhausting, because this is a 48 port switch and there is no "int range" command...

Ok, thank you!

Well,

ad 1) These options are available in the latest IOS, you need to upgrade to use them.

ad 2) You can use a script to generate the proper command for all necessary ports. I described a UNIX script example in

http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.ee93dcc/1#selected_message

Regards,

Milan