Difference between revisions of "SNMP configuration example"
PauliusRug (talk | contribs) |
|||
(33 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
==Summary== | ==Summary== | ||
− | |||
− | |||
− | |||
SNMP (Simple Network Management Protocol) - is widely used in networking management for networking monitoring. SNMP uses MIB (Management Information Base) to organize management data in the form of variables, which describe the system configuration and status. | SNMP (Simple Network Management Protocol) - is widely used in networking management for networking monitoring. SNMP uses MIB (Management Information Base) to organize management data in the form of variables, which describe the system configuration and status. | ||
− | + | This chapter is a guide on configuring SNMP package to establish communication between devices. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Preconditions== | ==Preconditions== | ||
===RUT9xx=== | ===RUT9xx=== | ||
− | To setup SNMP first make sure that SNMP package is installed, more information here [[RUT955 Packages]] and [[ | + | To setup SNMP first make sure that SNMP package is installed, more information here [[RUT955 Packages]] and [[RUT950 Packages]]. |
==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 39: | Line 28: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>3</td> | + | <td>.3</td> |
<td>org</td> | <td>org</td> | ||
<td>An organization will be specified next</td> | <td>An organization will be specified next</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>6</td> | + | <td>.6</td> |
<td>dod</td> | <td>dod</td> | ||
<td>The US Department of Defense (established the early internet)</td> | <td>The US Department of Defense (established the early internet)</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>1</td> | + | <td>.1</td> |
<td>internet</td> | <td>internet</td> | ||
<td>Communication will be via Internet/network</td> | <td>Communication will be via Internet/network</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>4</td> | + | <td>.4</td> |
<td>private</td> | <td>private</td> | ||
<td>This is a device manufactured by a private entity</td> | <td>This is a device manufactured by a private entity</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td>1</td> | + | <td>.1</td> |
<td>enterprise</td> | <td>enterprise</td> | ||
<td>The device manufacturer is classified as an enterprise</td> | <td>The device manufacturer is classified as an enterprise</td> | ||
Line 69: | Line 58: | ||
</tr> | </tr> | ||
<table> | <table> | ||
− | + | ||
To communicate with Teltonika router the start of the OID code, in this case, will be 1.3.6.1.4.1.48690. | To communicate with Teltonika router the start of the OID code, in this case, will be 1.3.6.1.4.1.48690. | ||
Line 83: | Line 72: | ||
<td>static</td> | <td>static</td> | ||
<td>1</td> | <td>1</td> | ||
− | <td>Static router information (Router name, Modem Imei, Modem | + | <td>Static router information (Router name, Modem Imei, Modem Modle etc.)</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 116: | Line 105: | ||
</tr> | </tr> | ||
<table> | <table> | ||
− | |||
To access variable values, after enterprise number add field number and then specify variable number. For example: .1.3.6.1.4.1.48690.1.7.0 represents router name (48690.1.7.0: Enterprise (48690) - Teltonika, Field (1) - static, Variable (7.0) - routerName). All OID codes can be generated from MIB file, basic OID codes can be found here [[RUT955 SNMP#SNMP Variables list]]. | To access variable values, after enterprise number add field number and then specify variable number. For example: .1.3.6.1.4.1.48690.1.7.0 represents router name (48690.1.7.0: Enterprise (48690) - Teltonika, Field (1) - static, Variable (7.0) - routerName). All OID codes can be generated from MIB file, basic OID codes can be found here [[RUT955 SNMP#SNMP Variables list]]. | ||
==MIB File== | ==MIB File== | ||
− | MIB File can be used with MIB browsers for easier access to configuration and status information variables | + | MIB File can be used with MIB browsers for easier access to router configuration and status information variables. Download the MIB file and upload/load it in MIB browser. |
− | + | [[File:Networking device configrationexample snmp mib browser v1.png]] | |
− | |||
− | [[File:Networking device configrationexample snmp mib browser | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 09:54, 11 September 2019
Main Page > General Information > Configuration Examples > SNMP > SNMP configuration exampleSummary
SNMP (Simple Network Management Protocol) - is widely used in networking management for networking monitoring. SNMP uses MIB (Management Information Base) to organize management data in the form of variables, which describe the system configuration and status.
This chapter is a guide on configuring SNMP package to establish communication between devices.
Preconditions
RUT9xx
To setup SNMP first make sure that SNMP package is installed, more information here RUT955 Packages and RUT950 Packages.
OID codes
OID code (Object identifier code) - is an address used to identify devices and their status.
OID code is represented by the numbers in the boxes starting from "root".
Number | Label | Explanation |
---|---|---|
1 | iso | ISO is the group that established the OID standard |
.3 | org | An organization will be specified next |
.6 | dod | The US Department of Defense (established the early internet) |
.1 | internet | Communication will be via Internet/network |
.4 | private | This is a device manufactured by a private entity |
.1 | enterprise | The device manufacturer is classified as an enterprise |
48690 | Teltonika | Teltonika enterprise number |
Field | Number | Explanation |
---|---|---|
static | 1 | Static router information (Router name, Modem Imei, Modem Modle etc.) |
gsm | 2 | Sim card information (Sim State, Operator, Mobile IP etc.) |
hotspot | 3 | Hotspot information (Hotspot ip, users etc.) |
Trap | 4 | Trap messages (Information sent through trap messages) |
rut9x5 | 5 | Input/Output information |
gps | 6 | GPS information (Latitude, accuracy etc.) |
ethernet | 7 | Information about router ports |
MIB File
MIB File can be used with MIB browsers for easier access to router configuration and status information variables. Download the MIB file and upload/load it in MIB browser.