cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

1042
Views
9
Helpful
4
Replies
Highlighted
Enthusiast

Disable SNMP mac-notification only for one snmp-server host

Hi,

we use NAC in our network and because of that I need the MAC-notification trap.

My problem is, the NAC needs that trap, but my network monitoring system doesn't.

Is it possible to disable only that trap for my monitoring?

For the NAC I use the following command to filter all other traps:

snmp-server host 192.168.1.1 version 2c public mac-notification

That works!

Is there something like

snmp-server host 192.168.1.20 version 2c public no mac-notification         

to disable that mac-notification?

Thanks!

Sven

Everyone's tags (3)
4 REPLIES 4
Highlighted
Beginner

Re: Disable SNMP mac-notification only for one snmp-server host

There is not a "no" form option for the snmp-server host command. You could use and snmpview to limit what is sent to the host via community string. See securing snmp tech doc on cisco.com for examples on using snmpviews...

Hth,

Cary

Sent from Cisco Technical Support iPhone App

Highlighted
Enthusiast

Disable SNMP mac-notification only for one snmp-server host

Hi Cary,

thanks for your repsonse.

But I can't get it together...

I thought snmpview is for limitation of snmpwalk for a specific community.

It can limit the traps the switch will send, too?

Thanks!

Sven

Highlighted
Collaborator

Disable SNMP mac-notification only for one snmp-server host

Hi Sven,

try using the syslog discriminator - I think it should be possible with this feature but I have not had the chance to play with it:

http://www.cisco.com/en/US/partner/docs/ios/12_4t/12_4t11/htnmsylg.html

and some interesting threads:

https://supportforums.cisco.com/message/3446512#3446512

https://supportforums.cisco.com/message/3340796#3340796

and others (search for "syslog discriminator")

Martin

Highlighted
Enthusiast

Disable SNMP mac-notification only for one snmp-server host

Hi Martin,

thanks for the links! Logging discriminator is a very interesting feature I have to test.

But I don't think that I can use such a logging discriminator for the snmp-server host command.

On my test switch 2960 with 12.2(58)SE2 I can't configure that.

Is it possible that it is working only for logging servers and not for snmp trap servers?

Thanks a lot!

Sven

CreatePlease to create content
Content for Community-Ad