Ursalink UG87-LW User manual

UG87-LW User Guide
1

UG87-LW User Guide
2
Preface
Thanks for choosing Ursalink UG87-LW industrial LoRaWAN gateway. The UG87-LW industrial
LoRaWAN gateway delivers tenacious connection over network with full-featured design
such as automated failover/failback, extended operating temperature, dual SIM cards,
hardware watchdog, VPN, Gigabit Ethernet and beyond.
This guide shows you how to configure and operate the UG87-LW industrial LoRaWAN
gateway. You can refer to it for detailed functionality and gateway configuration.
Readers
This guide is mainly intended for the following users:
- Network Planners
- On-site technical support and maintenance personnel
- Network administrators responsible for network configuration and maintenance
© 2017 Xiamen Ursalink Technology Co., Ltd.
All rights reserved.
All information in this user guide is protected by copyright law. Whereby, no organization or
individual shall copy or reproduce the whole or part of this user guide by any means without
written authorization from Xiamen Ursalink Technology Co., Ltd.
Products Covered
This guide explains how to configure the following devices:
• Ursalink UG87-LW LoRaWAN gateway
Related Documents
Document
Description
Ursalink UG87-LW Datasheet
Datasheet for the Ursalink UG87-LW
industrial LoRaWAN Gateway.
Ursalink UG87-LW Quick Start Guide
Quick installation guide for the Ursalink
UG87-LW industrial LoRaWAN Gateway.

UG87-LW User Guide
3
Declaration of Conformity
UG87-LW is in conformity with the essential requirements and other relevant provisions of
the CE, FCC, and RoHS.
For assistance, please contact
Ursalink technical support:
Email: support@ursalink.com
Tel.: 86-592-5023060
Fax: 86-592-5023065
Revision History
Date
Doc Version
Description
Jul. 19, 2018
V.1.0.0
Initial version

UG87-LW User Guide
4
Contents
Chapter 1 Product Introduction......................................................................................................... 8
1.1 Overview............................................................................................................................... 8
1.2 Advantages............................................................................................................................8
1.3 Specifications...................................................................................................................... 10
Chapter 2 Installation....................................................................................................................... 13
2.1 General Packing List............................................................................................................13
2.2 Product Overview............................................................................................................... 14
2.3 LED Indicators..................................................................................................................... 15
2.4 Ethernet Port Indicators..................................................................................................... 15
2.5 Reset Button....................................................................................................................... 16
2.6 PIN Definition..................................................................................................................... 16
2.7 SIM Card Installation.......................................................................................................... 16
2.8 Cellular Antenna Installation............................................................................................. 17
2.9 Mounting the Gateway...................................................................................................... 18
2.10 Connect the Gateway to a Computer.............................................................................. 19
2.11 Installation of Power Supply and Protective Grounding................................................ 19
2.11.1 Power Supply Installation..................................................................................... 19
2.11.2 Protective Grounding Installation........................................................................ 19
Chapter 3 Access to Web GUI...........................................................................................................21
3.1 PC Configuration for Web GUI Access to gateway............................................................ 21
3.2 Access to Web GUI of gateway.......................................................................................... 22
Chapter 4 Web Configuration...........................................................................................................24
4.1 Status...................................................................................................................................24
4.1.1 Overview..................................................................................................................24
4.1.2 LoRa WAN................................................................................................................ 25
4.1.3 Cellular..................................................................................................................... 27
4.1.4 Network................................................................................................................... 29
4.1.5 VPN...........................................................................................................................30
4.1.6 Routing Information................................................................................................31
4.1.7 Host List....................................................................................................................32
4.2 LoRa.....................................................................................................................................33
4.2.1 Packet Forwarder.................................................................................................... 33
4.2.1.1 General......................................................................................................... 33
4.2.1.2 Radios........................................................................................................... 34
4.2.1.3 Advanced...................................................................................................... 36
4.2.1.4 Custom.......................................................................................................... 38
4.2.1.5 Traffic............................................................................................................ 38
4.2.2 Network Server........................................................................................................40
4.2.2.1 General......................................................................................................... 40
4.2.2.2 Application................................................................................................... 42
4.2.2.3 Profiles.......................................................................................................................... 42
Related Configuration Example............................................................................................... 43

UG87-LW User Guide
5
4.2.2.4 Device............................................................................................................................43
4.2.2.5 Packet............................................................................................................................44
4.3 Network.............................................................................................................................. 46
4.3.1 Interface...................................................................................................................46
4.3.1.1 Port............................................................................................................... 46
4.3.1.2 WAN.............................................................................................................. 47
4.3.1.3 LAN................................................................................................................50
4.3.1.4 VLAN Trunk................................................................................................... 51
4.3.1.5 Cellular.......................................................................................................... 52
4.3.1.6 Loopback.......................................................................................................55
4.3.2 Firewall.....................................................................................................................56
4.3.2.1 ACL................................................................................................................ 56
4.3.2.2 DMZ...............................................................................................................57
4.3.2.3 Port Mapping................................................................................................58
4.3.2.4 MAC Binding................................................................................................. 59
4.3.3 QoS........................................................................................................................... 59
4.3.4 DHCP........................................................................................................................ 60
4.3.4.1 DHCP Server..................................................................................................60
4.3.4.2 DHCP Relay................................................................................................... 62
4.3.5 DDNS........................................................................................................................ 62
4.3.6 Link Failover.............................................................................................................63
4.3.6.1 SLA.................................................................................................................63
4.3.6.2 Track..............................................................................................................64
4.3.6.3 VRRP..............................................................................................................65
4.3.6.4 WAN Failover................................................................................................ 66
4.3.7 VPN...........................................................................................................................67
4.3.7.1 DMVPN......................................................................................................... 67
4.3.7.2 IPSec..............................................................................................................69
4.3.7.3 GRE................................................................................................................72
4.3.7.4 L2TP...............................................................................................................73
4.3.7.5 PPTP.............................................................................................................. 75
4.3.7.6 OpenVPN Client............................................................................................77
4.3.7.7 OpenVPN Server...........................................................................................78
4.3.7.8 Certifications................................................................................................ 80
4.4 System................................................................................................................................. 82
4.4.1 General Settings...................................................................................................... 82
4.4.1.1 General......................................................................................................... 82
4.4.1.2 Account Management..................................................................................83
4.4.1.3 System Time................................................................................................. 84
4.4.1.4 SMTP............................................................................................................. 85
4.4.1.5 Phone............................................................................................................ 86
4.4.2 User Management...................................................................................................87
4.4.3 SNMP........................................................................................................................88
4.4.3.1 SNMP............................................................................................................ 88

UG87-LW User Guide
6
4.4.3.2 MIB View...................................................................................................... 89
4.4.3.3 VACM............................................................................................................ 89
4.4.3.4 Trap............................................................................................................... 90
4.4.3.5 MIB................................................................................................................91
4.4.4 AAA...................................................................................................................................91
4.4.4.1 RADIUS..........................................................................................................91
4.4.4.2 TACACS+........................................................................................................ 92
4.3.4.3 LDAP..............................................................................................................92
4.3.4.4 Authentication..............................................................................................93
4.3.5 Device Management............................................................................................... 94
4.3.6 Events....................................................................................................................... 95
4.3.6.1 Events............................................................................................................95
4.3.6.2 Events Settings............................................................................................. 96
4.5 Industrial Interface............................................................................................................. 97
4.5.1 I/O............................................................................................................................ 98
4.5.1.1 DI................................................................................................................... 98
4.5.1.2 DO................................................................................................................. 99
4.5.2 Serial Port.............................................................................................................. 100
4.5.3 Modbus Master..................................................................................................... 103
4.5.3.1 Modbus Master.......................................................................................... 103
4.5.3.2 Channel....................................................................................................... 103
4.6 Maintenance..................................................................................................................... 105
4.6.1 Tools....................................................................................................................... 105
4.6.1.1 Ping............................................................................................................. 105
4.6.1.2 Traceroute...................................................................................................106
4.6.2 Schedule.................................................................................................................106
4.6.3 Log.......................................................................................................................... 107
4.5.3.1 System Log..................................................................................................107
4.6.3.2 Log Settings................................................................................................ 108
4.6.4 Upgrade................................................................................................................. 109
4.6.5 Backup and Restore...............................................................................................109
4.6.6 Reboot....................................................................................................................110
4.7 APP.................................................................................................................................... 111
4.7.1 Python....................................................................................................................111
4.7.1.1 Python.........................................................................................................111
4.7.1.2 App Manager Configuration...................................................................... 112
4.7.1.3 Python App.................................................................................................113
Chapter 5 Application Examples.................................................................................................... 114
5.1 Application configuration.................................................................................................114
5.2 Device Profiles configuration........................................................................................... 115
5.3 Device configuration........................................................................................................ 117
5.4 Account Info Management.............................................................................................. 120
5.5 Common User Management............................................................................................121
5.6 System Time Management.............................................................................................. 122

UG87-LW User Guide
7
5.7 Backup and Restore Configuration.................................................................................. 123
5.8 Restore Factory Defaults.................................................................................................. 124
5.8.1 Via Web Interface.................................................................................................. 124
5.8.2 Via Hardware......................................................................................................... 126
5.9 Firmware Upgrade............................................................................................................ 126
5.10 Events Application Example...........................................................................................128
5.11 Schedule Application Example.......................................................................................130
5.12Logs and Diagnostics....................................................................................................... 130
5.13 SNMP Application Example........................................................................................... 132
5.14 Cellular Connection........................................................................................................ 135
5.15 Dual SIM Backup Application Example..........................................................................137
5.17 NAT Application Example............................................................................................... 140
5.18 Access Control Application Example............................................................................. 140
5.18 DTU Application Example...............................................................................................141
5.19 PPTP Application Example............................................................................................. 145

UG87-LW User Guide
8
Chapter 1 Product Introduction
1.1 Overview
Ursalink UG87-LW is an industrial LoRa gateway with embedded intelligent software features
that are designed for multifarious M2M/IoT applications. Supporting global WCDMA and 4G
LTE, UG87-LW provides drop-in connectivity for operators and makes a giant leap in
maximizing uptime.
Adopting high-performance and low-power consumption industrial platform of 64-bit CPU
and wireless module, the UG87-LW is capable of providing wire-speed network with a typical
2 W power consumption and ultra-small package to ensure the extremely safe and reliable
connection to the wireless network.
Meanwhile, the UG87-LW also supports Gigabit Ethernet port, serial port (RS232), which
enables you to scale up M2M application combining data and video in limited time and
budget.
The UG87-LW is particularly ideal for smart grid, digital media installations, industrial
automation, telemetry equipment, medical device, digital factory, finance, payment device,
environment protection, water conservancy and so on.
Figure 1-1
1.2 Advantages
Benefits
- Built-in industrial strong CPU, big memory;
- Dual SIM cards for backup between multiple carriers networking and global 2G/3G/LTE
options make it easy to get connected
- Embed Ursalink SDK (Python 2.7/C) for secondary development
- Flexible modular design provides users with different connection modules like Ethernet,
serial port for connecting diverse field assets
- Rugged enclosure, optimized for DIN rail or shelf mounting
- 3-year warranty included

UG87-LW User Guide
9
Security & Reliability
- Automated failover/failback between Ethernet and Cellular (dual SIM)
- Enable unit with security frameworks like IPsec/OpenVPN/GRE/L2TP/PPTP/ DMVPN
- With embedded hardware watchdog to automatically recover from various failure and
ensure highest level of availability
- Establish a secured mechanism on centralized authentication and authorization of device
access by supporting AAA (TACACS+, RADIUS, LDAP, local authentication) and multiple
levels of user authority
Easy Maintenance
- Ursalink DeviceHub provides easy setup, mass configuration, and centralized
management of remote devices
- The user-friendly web interface design and various upgrading options help administrator
to manage the device as easy as pie
- WEB GUI and CLI enable the admin to achieve quick configuration and simple
management among a large quantity of devices
- Efficiently manage the remote devices on the existing platform through the industrial
standard SNMP
Capabilities
- Link remote devices in an environment where communication technologies are
constantly changing
- Industrial 64-bit ARM Cortex-A53 processor, high-performance operating up to 800MHz
with low power consumption, and 512 MB memory available to support more
applications
- Support wide operating temperature ranging from -40°C to 70°C/-40°F to 158°F

UG87-LW User Guide
10
1.3 Specifications
Cellular Interfaces
Connectors
2 × 50 Ω SMA (Center pin: female)
SIM Slots
2
LoRaWAN
Connectors
1 × 50 Ω SMA (Center pin: female)
Channel
8
Frequency Band
Supports EU 863-870, US 902-928, EU 433, AU 915-928, CN
470-510 and KR 920-923 Band
Sensitivity
-140dBm Sensitivity @292bps
Output Power
27dBm Max
Protocol
V1.0 Class A/Class C and V1.0.2 Class A/Class C
Hardware System
CPU
800MHz, 64-bit ARM Cortex-A53
Memory
4 GB Flash, 512 MB DDR3 RAM
Ethernet
Ports
1 × RJ-45
Physical Layer
10/100/1000 Base-T (IEEE 802.3)
Data Rate
10/100/1000 Mbps (auto-sensing)
Interface
Auto MDI/MDIX
Mode
Full or half duplex (auto-sensing)
Serial Interface
Ports
1 × RS232
Connector
Terminal Block
Baud Rate
300bps to 230400bps
IO
Connector
(4) pin screw down terminal block
Digital
2 × DI + 2 × DO
Software
Network Protocols
PPP, PPPOE, SNMP v1/v2c/v3, TCP, UDP, DHCP,DDNS, VRRP,
HTTP, HTTPS, DNS, SNTP, Telnet, VLAN, SSH, etc.
VPN Tunnel
DMVPN/IPsec/OpenVPN/PPTP/L2TP/GRE
Access Authentication
CHAP/PAP/MS-CHAP/MS-CHAPV2
Firewall
ACL/DMZ/Port Mapping/MAC Binding

UG87-LW User Guide
11
Physical Characteristics
Ingress Protection
IP30
Housing & Weight
Metal, 369 g (0.81 lb)
Dimensions
100 x 96.1 x 30 mm (3.94 x 3.78 x 1.18 in)
Mounting
Desktop, wall or DIN rail mounting
Others
Reset Button
1 × RESET
LED Indicators
1 × POWER, 1 × STATUS, 1 x LoRa , 1 × VPN,
1 × SIM1, 1 × SIM2, 3 × Signal strength
Built-in
Watchdog, RTC, Timer
Certifications
RoHS, CE, FCC
EMC
IEC 61000-4-2 Level 3
IEC 61000-4-3 Level 4
IEC 61000-4-4 Level 3
IEC 61000-4-5 Level 4
IEC 61000-4-6 Level 3
IEC 61000-4-8 Level 4
Environmental
Operating Temperature
-40°C to +70°C (-40°F to +158°F) Reduced cellular
performance above 60°C
Storage Temperature
-40°C to +85°C (-40°F to +185°F)
Ethernet Isolation
1.5 kV RMS
Relative Humidity
0% to 95% (non-condensing) at 25°C/77°F
Management
Web, CLI, SMS, On-demand dial up
AAA
RADIUS, TACACS+, LDAP, Local Authentication
Multilevel Authority
Multiple levels of user authority
Reliability
VRRP, Dual SIM Backup
Serial Port
Transparent (TCP Client/Server, UDP), Modbus Gateway
(Modbus TCP to Modbus RTU), Modbus Master
Power Supply and Consumption
Connector
2-pin with 5.08 mm terminal block
Input Voltage
9-48 VDC
Power Consumption
Typical 2.3 W (Max 3.2 W)

UG87-LW User Guide
12
Figure 1-2

UG87-LW User Guide
13
Chapter 2 Installation
2.1 General Packing List
Before you begin to install the UG87-LW, please check the package contents to verify that
you have received the items below.
1 × UR87-LW Gateway
1 × Ethernet Cable
1 × Power Adapter
2 × SIM Card Slots
1 × 2-PIN Pluggable
Terminal
1 × 10-PIN
Pluggable Terminal
1 × Warranty Card
1 × Quick Start Guide
2 × Magnetic Mount
Cellular Antennas
(Default)
2 × Stubby Cellular
Antennas (Optional)
1 × Stubby LoRa
Antennas (Optional)
1 × GPS Antenna
1 × DIN Rail Kit
(Default)
2 × Rack Mount
Kits (Optional)
1 × Wall Mounting
Bracket (Optional)
If any of the above items is missing or damaged, please contact your Ursalink sales
representative.

UG87-LW User Guide
14
2.2 Product Overview
A. Front Panel
B. Left Panel
1Main Cellular Antenna
2Reset Button
3LED Indicator Area
POWER: Power Indicator
STATUS: Status Indicator
: Signal Strength Indicator
LORA:LoRa Indicator
VPN: VPN Indicator
SIM1: SIM1 Status Indicator
SIM2: SIM2 Status Indicator
4Ethernet Port Indicator:
Orange for data transmission;
Green for network rate
5AUX Cellular Antenna
6GPS Antenna
7Serial Port & I/O
8LoRa Antenna
1SIM Card Slot
2Power Connector
3Grounding Stud

UG87-LW User Guide
15
2.3 LED Indicators
2.4 Ethernet Port Indicators
Indicator
Status
Description
Link Indicator (Orange)
On
Connected
Blinking
Transmitting data
Off
Disconnected
Rate Indicator (Green)
On
1000Mbps mode
off
100Mbps mode
LED
Indication
Status
Description
POWER
Power Status
On
The power is switched on
Off
The power is switched off
STATUS
System Status
Green Light
Static: Start-up
Blinking slowly: the system is running
properly
Off
The system goes wrong
LoRa
LoRa Status
Green Light
Packet Forwarder mode is running well.
Off
Packet Forwarder mode is running off.
VPN
VPN Status
Green Light
VPN is connected
Off
VPN is disconnected
SIM1/SIM2
SIM Card Status
Off
SIM1 or SIM2 is registering or fails to register
(or there are no SIM cards inserted)
Green Light
Blinking slowly: SIM1 or SIM2 has been
registered and is ready for dial-up
Blinking rapidly: SIM1 or SIM2 has been
registered and is dialing up now
Static: SIM1 or SIM2 has been registered and
dialed up successfully
Signal
Strength
Signal 1/2/3
Off
No signal
Green Light
Static/Off/Off: weak signals with 1-10 ASU
(please check if the antenna is installed
correctly, or move the antenna to a suitable
location to get better signal)
Static/Static/Off: normal signals with 11-20
ASU (average signal strength)
Static/Static/Static: strong signals with 21-31
ASU (signal is good)

UG87-LW User Guide
16
2.5 Reset Button
Function
Description
STATUS LED
Action
Reboot
Blinking
Press and hold the reset button for about 5-15 seconds.
Static Green
Release the button and wait for system to reboot.
Reset
Blinking
Press and hold the reset button for more than 15 seconds.
Static Green →
Rapidly Blinking
Release the button and wait.
Off → Blinking
The gateway is now reset to factory defaults.
2.6 PIN Definition
PIN
RS232
DI
DO
Description
1
TXD
---
---
Transmit Data
2
RXD
---
---
Receive Data
3
---
---
---
Data +
4
---
---
---
Data -
5
GND
GND
---
Ground
6
---
IN1
---
Digital Input1
7
---
IN2
---
Digital Input2
8
---
---
OUT1
Digital Output1
9
---
---
OUT2
Digital Output2
10
---
---
COM
Common Ground
2.7 SIM Card Installation
A. Push the yellow button on left panel of the gateway, and then you will see the SIM card
slot popping out directly.
PIN
Description
11
Positive
12
Negative

UG87-LW User Guide
17
B. Put SIM card onto the slot, and then insert the slot back into the hole.
2.8 Cellular Antenna Installation
A. Rotate the antenna into the Antenna Connector.
The external cellular antenna should be installed vertically always on a site with a good
cellular signal.
Note: UG87-LW supports dual antennas with “Main” and “AUX” connectors. “Main”
interface is for data receiving and transmission. “AUX” interface is for enhancing signal
strength, which cannot be used separately.

UG87-LW User Guide
18
2.9 Mounting the Gateway
The gateway can be placed on a desktop or mounted to a wall or a DIN rail.
2.9.1 Wall Mounting (Measured in mm)
Use 2 pcs of M3×6 flat head Phillips screws to fix the wall mounting kit to the gateway, and
then use 2 pcs of M3 drywall screws to mount the gateway associated with the wall
mounting kit on the wall.
Recommended torque for mounting is 1.0 N. m, and the maximum allowed is 1.2
N.m.
2.9.2 DIN Rail Mounting (Measured in mm)
Use 2 pcs of M3×6 flat head Phillips screws to fix the DIN rail to the gateway, and then hang
the DIN rail on the mounting bracket. It is necessary to choose a standard bracket.
Recommended torque for mounting is 1.0 N. m, and the maximum allowed is 1.2
N.m.

UG87-LW User Guide
19
2.10 Connect the Gateway to a Computer
2.11 Installation of Power Supply and Protective Grounding
2.11.1 Power Supply Installation
A. Take out the terminal from the gateway and unscrew the bolt on terminal.
B. Screw down the bolt after inserting power cable into the terminal.
Connecting the Power Cable
If you insert wires into the reverse holes, the gateway will not start and you must
switch the wires into the correct holes.
2.11.2 Protective Grounding Installation
1. Remove the grounding nut.
2. Connect the grounding ring of the cabinet’s grounding wire onto the grounding stud and
screw up the grounding nut.
Color
Polarity
Red
+
Yellow
-

UG87-LW User Guide
20
The gateway must be grounded when deployed. According to operating environment,
the ground wire should be connected with grounding stud of gateway.
2.12 Examine
1. Double check antenna connection.
2. Double check if SIM card is correctly inserted and working perfectly.
3. Power on the UG87-LW industrial LoRaWAN gateway and check indicators status.
(1) If Status LED blinks slowly, the system is running properly.
(2) If SIM1 or SIM2 indicator is static green, the gateway is connected to network already.
Table of contents
Other Ursalink Gateway manuals

Ursalink
Ursalink UG87 User manual

Ursalink
Ursalink UG85 User manual

Ursalink
Ursalink urbana GI01 User manual

Ursalink
Ursalink UG65 User manual

Ursalink
Ursalink UG85 User manual

Ursalink
Ursalink UG87 User manual

Ursalink
Ursalink LoRa User manual

Ursalink
Ursalink UG87-In User manual

Ursalink
Ursalink UR75 Edge User manual