"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.
"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.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...