08-29-2011 03:50 AM
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
09-23-2011 02:24 AM
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
09-23-2011 06:00 AM
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
09-23-2011 02:11 PM
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
09-26-2011 05:18 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide