Packet Broker Getting Started Commands

Getting Started

    Overview
  • Quick Start
  • What Is Packet Broker?
  • Network Configuration
  • Command-Line Interface
    • Installation
    • Configuration
    • Networks and Tenants
    • Routing Policies
    • Reports
    • Test Traffic
  • Terminology
  • API

Routing Policies

Routing policies define the rules how uplink traffic is routed from Forwarders to Home Networks, and how downlink traffic is routed from Home Networks to Forwarders.

Configure Routing Policies as Network Operator

As a Forwarder, you can configure a default routing policy for all Home Networks and routing policies per Home Network with pbctl.

Routing policies are configured using the pbctl client. For example, as Forwarder NetID 000042, to see the default routing policy:

$ pbctl policy get --forwarder-net-id 000042 --defaults

To see the routing policy between Forwarder 000042 and Home Network NetID C00123:

$ pbctl policy get --forwarder-net-id 000042 --home-network-net-id C00123

To see the routing policy between Forwarder NetID 000042 tenant tenant-a and Home Network NetID C00123 tenant tenant-b:

$ pbctl policy get --forwarder-net-id 000042 --forwarder-tenant-id tenant-a \
    --home-network-net-id C00123 --home-network-tenant-id tenant-b

To see all the routing policies that Forwarders configured for Home Network NetID C00123:

$ pbctl policy list --home-network-net-id C00123

You can set policies by specifying letters from the following table:

Policy Uplink Downlink
Join-request/accept J J
MAC commands M M
Application data A A
Signal Quality S
Localization L

To enable all exchange by default:

$ pbctl policy set --forwarder-net-id 000042 --defaults \
    --set-uplink JMASL --set-downlink --JMA

To enable only device activation and MAC commands in both directions with Home Network NetID C00123:

$ pbctl policy set --forwarder-net-id 000042 --home-network-net-id C00123 \
    --set-uplink JM --set-downlink --JM

To enable only device activation and MAC commands in both directions of Forwarder tenant tenant-a with Home Network NetID C00123 tenant tenant-b:

$ pbctl policy set --forwarder-net-id 000042 --forwarder-tenant-id tenant-a \
    --home-network-net-id C00123 --home-network-tenant-id tenant-b \
    --set-uplink JM --set-downlink --JM
← Networks and Tenants Reports →

On this page

  • Configure Routing Policies as Network Operator

Packet Broker

Packet Broker

Getting Started

Commands

About Us

The Things Network

The Things Industries

About this page

Last changed on 01 Jan 0001.