On 4 January 2013 03:05, Ashish Sharma <mail2ashish.sha...@gmail.com> wrote:
> How do i configure snmptrap command to send trap to someother port like
> (3211) instead of default port 162.
>
> I am trying with this command but it is not taking.
>
> snmptrap -v 1 -c  -h 10.1.100.22:1622 "" "" 1 0  ""

That's basically the right idea.
Though did you really mean to specify the community string "-h" ?

And this command is sending a trap to port 1622, rather than 3211

A more typical command would be something like

   snmptrap  -v 1 -c public   10.1.100.22:3211  ''  ''  1  -  ''

Dave

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to