Re: Traps and ports?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/08/07, Artem Fedko <[email protected]> wrote: > 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? ;) Which version of the code are you using? There was a bug with some releases, that meant snmptrap used port 161 by default Try with snmptrap -v 1 -c admin host:162 ..... Dave ------------------------------------------------------------------------- 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