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 <fen...@gmail.com> 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 <nithin....@gmail.com> 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 <nithin....@gmail.com>
>> 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 <fen...@gmail.com> wrote:
>>>
>>>> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy <
>>>> chandrasekharreddy.chinnapareddyg...@hpe.com> 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
>>>> 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
>>>>
>>>
_______________________________________________
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