Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMP Traps sent to Openview - Which level?

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

Re: SNMP Traps sent to Openview - Which level?

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

3 REPLIES

Re: SNMP Traps sent to Openview - Which level?

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

New Member

Re: SNMP Traps sent to Openview - Which level?

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!

Re: SNMP Traps sent to Openview - Which level?

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

289
Views
7
Helpful
3
Replies