03-21-2002 06:11 AM - edited 03-01-2019 08:58 PM
Hi,
I have a configuration question. I want to enable some snmp traps, but the Tech Note is not quite clear about this.
I have a 3640 gateway with 12.2(8)T IOS (IP PLUS)
I want to enable ISDN,DSP,VOICE and SNMP traps.
Do I need
config 1:
snmp-server host 10.10.11.6 public isdn dsp snmp voice //btw this command is Ambiguous with dsp in it!!!
snmp-server enable traps isdn
snmp-server enable traps dsp
snmp-server enable traps snmp
snmp-server enable traps voice
-------
or config 2:
snmp-server host 10.10.11.6 public
snmp-server enable traps isdn
snmp-server enable traps dsp
snmp-server enable traps snmp
snmp-server enable traps voice
//if I read the tech-note, I think all traps are sent to the host, not only the 4 enabled traps.
Can someone help me with this?
Regards,
Sascha Monteiro
03-21-2002 04:10 PM
http://www.cisco.com/warp/public/477/SNMP/snmp_traps.html should help you with this.
03-22-2002 12:19 AM
Thanks, but that is the tech-note I was talking about. So it is not quite clear for me what to do.
And I think it is a bug that I can't put the dsp in the host commandline, it is in the help though.
Regards,
Sascha
03-24-2002 02:53 PM
"The snmp-server host command is used in conjunction with the snmp-server enable command. Use the snmp-server enable command to specify which SNMP notifications are sent globally. For a host to receive most notifications, at least one snmp-server enable command and the snmp-server host command for that host must be enabled. " cited from the link above.
So both configs will work.
If you had more than one host to send traps to, you would enter 2(two) "snmp-server host" commands, and you could specify (in the same command) which ones of the traps (enabled with the "snmp-server enable" command) you would send to each host.
Am I clear?
So, if you just enter the "snmp-server host" command with no parameters it means it will send all enabled (enabled with the "snmp-server enable" command) traps to that host.
(I haven't tried but so states the documentation)
03-24-2002 11:27 PM
Thanks, but 1 sentence bothers me, quote:
"You should also specify the trap types if you don't want all traps to be sent. Then use multiple snmp-server enable traps commands, one for each of the trap types that you used in the snmp host command."
So If I read this I think that if I don't put parameters in the "snmp-server host" command, all traps are anabled, no matter what "snmp-server enable" commands I use.
Sorry for this, but I think the tech-note is vague.
Does anybody now if it is a bug that I can't put the dsp parameter in the "snmp-server host" command.
Regards,
Sascha
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