Forwarding traps to non default port

Anders Eriksson J <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Ericsson AB
Message-ID <[email protected]>
Hi, need some help.

Trying to forward traps to a non default port.
My snmptrapd.conf:
authCommunity log,net public
forward default udp:10.1.1.11:28380 public

I run (my agent sends to 28380):
snmptrapd -f -Lo udp:10.50.24.47:28380

But no traps are forwarded (nothing on my listener on 10.1.1.11:28380, 
nothing in tshark).

If I use the default port traps are forwarded.
My snmptrapd.conf:
authCommunity log,net public
forward default udp:10.1.1.11 public

Then I see the traps forwarded in tshark on port 161.

I have net-snmp-5.7.3 and run snmptrapd on Ubuntu 12.04.1.

BR/ Anders

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.