Check your snmptrapd.conf or snmpd.conf file for port settings.
The trap default port is 162.
On 8/6/07, Artem Fedko <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I try to generate trap using next command from the tutorial
>
> snmptrap -v 1 -c admin host TRAP-TEST-MIB:demotraps 192.168.1.7 6 17
> '' SNMPv2-MIB::syslocation.0 s "Just here"
>
> then I used Wireshark and discovered that traps pack is ok, but
> destination port for it is 161. But as far as I know the "trap port"
> should be 162.
> Have you got any idea what I'm doing wrong? ;)
>
> Regards,
> Artem
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
--
Rakesh P. Zingade
+919860129598
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users