Related to snmpTargetAddrTAddress

In snmp target mib

10.204.42.57.16.3 is translated to port - 4099

How 16.3 is converted to port 4099…

Please suggest

16 and 3 are the two bytes of a 16-bit port-number.

16 == 10000 binary
3 == 11 binary

16 << 8 + 3 == 00010000 00000011 binary == 4099 decimal

Hi,

Can anybody provide a way , where we can modify/configure SNMPTargetAddrTAddress dynamically ? right now we are putting the address in target.xml and then start the confd application , but we want this to be configured by operator ? Any suggestions ?

See my reply in the other thread where you asked the same question - How to configure SNMPTargetTaddress used for sending (alarms and events) dynamically?