14
Application Note SNMP Testing Version: v.1.0.0 Date: 2017-09-10 Status: Confidential Doc ID: SNMP Testing_ROS_V1.0.0 Author: Vivian Chen www.robustel.com

Application Note SNMP Testing - M2M Nordic ApS

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Application Note SNMP Testing - M2M Nordic ApS

Application Note

SNMP Testing

Version: v.1.0.0

Date: 2017-09-10

Status: Confidential

Doc ID: SNMP Testing_ROS_V1.0.0

Author: Vivian Chen

www.robustel.com

Page 2: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

1

Contents

Chapter 1. Introduction................................................................................................................................... 2

1.1 Overview ....................................................................................................................................... 2

1.2 Assumptions .................................................................................................................................. 2

1.3 Rectifications ................................................................................................................................. 2

1.4 File Version .................................................................................................................................... 3

Chapter 2. Application Topology...................................................................................................................... 3

Chapter 3. Configuration ................................................................................................................................. 4

3.1 Configure on R3000 ....................................................................................................................... 4

3.2 Configure Cellular WAN ................................................................................................................. 5

3.3 Configure SNMP ............................................................................................................................ 7

Chapter 4. MG-SOFT MIB Configuration .......................................................................................................... 9

4.1 Configure MG-SOFT MIB ................................................................................................................ 9

Page 3: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

2

Chapter 1. Introduction

1.1 Overview RobustOS (hereinafter referred to as “the ROS”) is a new operating system for Robustel's IoT gateway released in

2015. It is a modular and open software platform which could support third party development based on SDK/API.

Meanwhile, it supports different routing and VPN protocols for different application scenarios. This newer platform

provides a different web configuration interface than the existing platform.

SNMP is used mostly in network management systems to monitor network-attached devices thus ensuring the

management on them. R3000 supports SNMP for remote management, which acts as a network node that

implements an SNMP interface and allows unidirectional (read-only) or bidirectional (read and write) access.

This application note is written for customers who have good understanding Robustel products and experienced in

SNMP. It shows customer how to configure and test the SNMP for R3000 router through the cellular network.

*This application note applies to the ROS firmware of R2000 and R3000. However, the followings will take R3000

as an example*

1.2 Assumptions

The features of SNMP have been fully tested and this Application Note is written by technician who is familiar with

Robustel products and the application requirement.

This Application Note is based on:

Product Model:Robustel GoRugged R3000 industrial router.

Firmware Version : R3000_S_V3.0.3

Configuration: This Application Note assumes the Robustel products are set to factory default. Most

configuration steps are shown if they are different from the factory default settings.

1.3 Rectifications

Appreciate for the corrections and Rectifications to this Application Note, and if there are requests for new Brief

Notes please also send to email address: [email protected] .

Page 4: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

3

1.4 File Version Updates between document versions are cumulative. Therefore, the latest document version contains all updates

made to previous versions.

Release Date Firmware Version Details

2017-09-10 V1.0.0 Initial Release

Chapter 2. Application Topology

1. R3000 dials up to connect to the Internet. 2. Manager PC accesses to R3000 by means of accessible IP of R3000 or VPN technology. 3. Manager PC can manage R3000 to get its status via SNMP protocol.

Note: In this Brief Note, we use Intranet for testing instead of Cellular WAN. R3000 WAN IP address (Eth0) is

172.16.100.22/16 .

Page 5: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

4

Chapter 3. Configuration

3.1 Configure Link Management

1. Install antenna, insert one SIM card in R3000 -> power on and log in R3000’s Web GUI page.

Note: Factory Settings when login Web GUI

Item Description

Username Admin

Password Admin

Eth0 192.168.0.1/255.255.255.0, LAN mode

Eth1 192.168.0.1/255.255.255.0, LAN mode

DHCP Server Enabled.

2. Browse to Interface > Link Management.

Click the drop-down button of Primary Link and select WWAN1.

Click Submit.

Click Save & Apply.

Page 6: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

5

Item Description Setting

Primary Link Select “WWAN1”, “WWAN2” or “WAN” as the primary

connection interface.

WWAN1

3.2 Configure Cellular WAN

1. Browse to Interface > Link Management > Link Settings.

Click the edit button of WWAN1.

Enter the related parameters in WWAN Settings.

Enter the related parameters in Ping Detection Settings.

Click Submit.

Click Save&Apply.

Page 7: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

6

The window is displayed as below when enable the Automatic APN Selection.

Item Description Setting

Dialup Number Set the dialup number for cellular dial-up connection, provided by

local ISP.

*99***1#

Data Allowance Set the monthly data traffic limitation. 0

Billing Day Specify the monthly billing day, from which the data traffic

statistics will be recalculated.

1

The window is displayed as below when disable the Automatic APN Selection.

Item Description Setting

APN Access Point Name for cellular dial-up connection, provided by

local ISP.

Internet

Username Username for cellular dial-up connection, provided by local ISP Null

Password Password for cellular dial-up connection, provided by local ISP Null

Page 8: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

7

Item Description Setting

Enable Click to enable the ping detection, a keepalive policy of R2000

router. OFF

Primary Server Router will ping this primary address/domain name to check if the

current connectivity is active.

8.8.8.8

Secondary Server Router will ping this secondary address/domain name to check if

the current connectivity is active.

Null

Interval Set the ping interval. 300

Retry Interval Set the ping retry interval. 5

Timeout Set the ping timeout. 3

Max Ping Tries Switch to another link or take emergency action if max continuous

ping tries reaches.

3

3.3 Configure SNMP

1. Browse to “Services->SNMP->SNMP Agent”.

Enable SNMP. Settings stay default. The default port is 161, and we select “SNMPv1/v2/v3”version. You can set

“Location Info”, “Contact Info”, and “System name” in other settings.

Click Submit.

Click Save & Apply.

Item Description Setting

Enable

SNMP Agent Switch “ON” to enable SNMP Agent. ON

Port UDP port for sending and receiving SNMP requests. 161

Version Select from “SNMPv1”, “SNMPv2” and “SNMPv3”. Select accordingly

Location Info Enter the router’s location info which will be send to NMS

(Network Management System).

User-defined

Contact Info Enter the router’s contact info which will be send to NMS User-defined

Page 9: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

8

System name Enter the router’s system name which will be send to NMS. User-defined

Readonly

Community Name

Enter the community name which is allowed only to get the status

of router.

User-defined

Readwrite

Community Name

Enter the community name which is allowed to get the status and

set the configuration of router.

User-defined

Authentication

Algorithm

Select from “MD5” and “SHA”. The authentication password

defaults to be the login password of router. The Factory Default

login password of router is“admin”. You can change the password

in System-> User Management section. The authentication

password must be the same as privacy password on NMS.

Select accordingly

Privacy Algorithm Select from “DES” and “AES”. The privacy password defaults to be

the login password of router. The Factory Default login password

of router is “admin”. You can change the password in System->

User Management section. The privacy password must be the

same as authentication password on NMS.

Select accordingly

2. Browse to “Configuration->Services->SNMP->MIB DES”.

Click Generate.

Click Download.

And then download a package called mibs.

3. Browse to “Services->SNMP->SNMP Trap”

Enable SNMP Trap. Settings stay default. The receiver port is 162, and the “SNMPv1”version is selected. Switch

Event Selection to ON.

Click Submit.

Click Save & Apply.

Page 10: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

9

Item Description Setting

Enable SNMP Trap Switch to “ON” to enable SNMP Trap feature. ON

Version Select from “SNMPv1”, “SNMPv2” and “SNMPv3”. Select accordingly

Receiver Address Enter NMS (Network Management System) IP address. User-defined

Receiver Port Enter NMS port number User-defined

Event Selection Switch to “ON” to enable the event. When the enabled event

occurs, router will sent the related SNMP trap to NMS.

OFF

Chapter 4. MG-SOFT MIB Configuration

4.1 Configure MG-SOFT MIB

1. Open MIB Browser is installed on your PC.

Run the MIB Compile.

File->Compile

Compile txt in the mibs.

Page 11: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

10

2. Open MIB Browser.

Select “ROBUSTEL.MIB” in the list and click “Load Selected MIB Modules” button

3. Change to Query interface, configure Remote SNMP agent ( is robustel ip )

Click the button .

Click OK.

Page 12: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

11

4. Check the configuration

View->MIB Browser Preferences

5. Go to tab Query

Fill in IP address of R3000, and then click “SNMP Protocol Preference”. In this Brief Note, IP address of R3000 is

172.16.100.2

Select sysContact , and right-click to select Walk.

Page 13: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

12

6. Configure syslog-enable

7. Delete the configuration.

Page 14: Application Note SNMP Testing - M2M Nordic ApS

SNMP Testing

13

8. Save the configuration of device