Re: Support for SNMP source trap address

Nitin Samuel <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAAUxQddRpNON=nVLy6w1==Cyw3ZOenJAmCgcZ4wgFBM5roeBoQ@mail.gmail.com>
Thanks Bill,
        Yet another query...sorry to bother you again.
        Why am I seeing traps from port 161 on 5.8 version, whereas 5.7.3
traps are from ephemeral ports ?



13:20:20.565905 IP 192.168.0.206.161 > 192.168.0.60.162:  V2Trap(131)
.1.3.6.1.2.1.1.3.0=10278 .1.3.6.1.6.3.1.1.4.1.0=.1.3.6.1.6.3.1.1.5.3
.1.3.6.1.2.1.2.2.1.1.8=8 .1.3.6.1.2.1.2.2.1.7.8=2 .1.3.6.1.2.1.2.2.1.8.8=2
.1.3.6.1.6.3.1.1.4.3.0=.1.3.6.1.4.1.9.1.2404



Thanks,

Nitin

On Fri, Sep 27, 2019 at 11:14 PM Bill Fenner <[email protected]> wrote:

> Yes, the clientaddr is used if a given entry does not have an -s option.
>
>   Bill
>
>
> On Fri, Sep 27, 2019 at 2:40 AM Nitin Samuel <[email protected]> wrote:
>
>> Hi Bill,
>>          Would you know if the ' [snmp] clientaddr ' token will continue
>> to be honored in 5.8, though some trapsess/trap2sink entries could also
>> have a ' -s <>' option ?
>>
>> Thanks,
>> NitinVS
>>
>> On Sun, Sep 8, 2019 at 10:45 PM Nitin Samuel <[email protected]>
>> wrote:
>>
>>> Thanks Bill.
>>>
>>> So in 5.8, if I have  [snmp] clientaddr <>  at the top, followed later
>>> by a few trapsess hosts but one of which has the new  '-s <>'  option, will
>>> clientaddr token be honored for this trap host ?
>>>
>>> On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner <[email protected]> wrote:
>>>
>>>> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy <
>>>> [email protected]> wrote:
>>>>
>>>>> I am using net-snmp 5.7.2  in my project..I want to use SNMP trap
>>>>> source as user configured IP address.
>>>>> How can I achieve this ?
>>>>>
>>>>
>>>> In 5.7.2 you can use the “clientaddr” configuration in snmpd.conf to
>>>> set the source of trap messages. In 5.8, each trap configuration (e.g.,
>>>> trapsink, trapsess) can accept a source address argument as “-s foo”.
>>>>
>>>>   Bill
>>>>
>>>>> _______________________________________________
>>>> 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
>>>>
>>>

_______________________________________________
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.