Changes

Line 21: Line 21:  
===Snmpd.conf===
 
===Snmpd.conf===
   −
This is not required for Trap listening service, but with this configuration '''snmpget''' command will be able to establish connection without requiring port number in the command line.
+
This is not required for Trap listening service, but with this configuration '''snmpget''' command will be able to establish connection without requiring port number in the command line. If you want to configure SNMP so it would listen to the port globally, not locally follow these steps:
    
Edit snmpd.conf file, it can be found in ''' ''/etc/snmp/'' '''directory. Example of the command:
 
Edit snmpd.conf file, it can be found in ''' ''/etc/snmp/'' '''directory. Example of the command:
Line 27: Line 27:  
  $ sudo nano /etc/snmp/snmpd.conf
 
  $ sudo nano /etc/snmp/snmpd.conf
   −
Find a line containing '''"agenAddress udp:127.0.0.1:161"''' and comment it by adding '''#''' symbol at the beginning of the line. Uncomment line '''"agenAddress udp:161,udp6[::1]:161"'''. If you chose different SNMP port change '''161''' into your chosen port. '''Make sure to use exactly the same port as in SNMP package configuration on Teltonika device'''.
+
Find a line containing '''"agenAddress udp:127.0.0.1:161"''' and comment it by adding '''#''' symbol at the beginning of the line. Then find the line '''"agenAddress udp:161,udp6[::1]:161"''' and uncomment it. If you chose different SNMP port change '''161''' into your chosen port. '''Make sure to use exactly the same port as in SNMP package configuration on Teltonika device'''.
    
[[File:Networking device configurationexample traps with terminal snmpd config v1.png]]
 
[[File:Networking device configurationexample traps with terminal snmpd config v1.png]]
0

edits

Navigation menu