Changes

no edit summary
Line 22: Line 22:  
==OID codes==
 
==OID codes==
 
OID code (Object identifier code) - is an address used to identify devices and their status.
 
OID code (Object identifier code) - is an address used to identify devices and their status.
 +
 
[[File:SNMP_OID_MIB_Tree.png]]
 
[[File:SNMP_OID_MIB_Tree.png]]
   Line 152: Line 153:     
First enable SNMP Trap, then enter '''Host/IP''', Hots/IP is the SNMP manager, computer to which SNMP agent will send Trap messages. If router is connected to PC via ethernet cable, enter the IP address of the interface the router is connected to. You can use '''ipconfig''' command on windows, '''ifconfig''' on linux to find IP address of the interface to which router is connected. Next choose '''port''', preferably choose port number higher than '''1024''' so SNMP manager could establish connection without root/admin rights.
 
First enable SNMP Trap, then enter '''Host/IP''', Hots/IP is the SNMP manager, computer to which SNMP agent will send Trap messages. If router is connected to PC via ethernet cable, enter the IP address of the interface the router is connected to. You can use '''ipconfig''' command on windows, '''ifconfig''' on linux to find IP address of the interface to which router is connected. Next choose '''port''', preferably choose port number higher than '''1024''' so SNMP manager could establish connection without root/admin rights.
 +
 
[[File:Networking device configurationexample trap configurations v1.png]]
 
[[File:Networking device configurationexample trap configurations v1.png]]
   Line 200: Line 202:  
     <tr>
 
     <tr>
 
<table>
 
<table>
 +
----
 +
To create new rule chose action and press "Add" button, specify rule values and save.
 +
 +
Example: choose "Connection type trap" action and press "Add" button.
 +
 +
[[File:Networking device configurationexample snmp trap rule v1.png]]
 +
----
 +
Enable trap rule and press "Save".
 +
 +
[[File:Networking device configurationexample snmp new connection rule v1.png]]
 +
----
 +
New rule should appear in the main Trap window.
 +
 +
[[File:Networking device configurationexample new snmp rule saved v1.png]]
 +
----
 +
====Testing Trap with MIB browser====
 +
To test trap messages with MIB browser, open Trap receiver and configure the setting. Make sure to use the same port saved in WebUI configuration.
 +
 +
[[File:Networking device configurationexample snmp trap receiver config v1.png]]
 +
----
 +
To test "Connection type trap" reboot mobile modem. You can reboot modem through Status -> Network window.
 +
MIB browser should receive Trap message.
0

edits