Packet Broker Getting Started Commands

Commands

pbadmin
cluster
apikey
create
delete
list
update-state
completion
bash
fish
powershell
zsh
gen
hugodoc
tree
join-server
create
delete
get
list
update
target
network
apikey
create
delete
list
update-state
create
delete
get
init
list
tenant
create
delete
get
list
update
target
update
target
pbctl
catalog
home-networks
join-servers
networks
completion
bash
fish
powershell
zsh
gateway-visibility
delete
get
set
gen
hugodoc
tree
policy
delete
get
list
networks
set
report
routed-messages
route
targets
pbpub
completion
bash
fish
powershell
zsh
gen
hugodoc
tree
pbsub
completion
bash
fish
powershell
zsh
gen
hugodoc
tree

pbadmin join-server update target

Update a Join Server target

pbadmin join-server update target [flags]

Examples


  Configure a LoRaWAN Backend Interfaces 1.0 target with Packet Broker token
  authentication:
    $ pbadmin join-server update target --id 1 \
      --protocol TS002_V1_0 --address https://example.com --pb-token

  Configure a LoRaWAN Backend Interfaces 1.0 target with HTTP basic auth:
    $ pbadmin join-server update target --id 1 \
      --protocol TS002_V1_0 --address https://user:pass@example.com

  Configure a LoRaWAN Backend Interfaces 1.0 target with TLS:
    $ pbadmin join-server update target --id 1 \
      --protocol TS002_V1_0 --address https://example.com \
      --root-cas-file ca.pem --tls-cert-file key.pem --tls-key-file key.pem

  Configure a LoRaWAN Backend Interfaces 1.0 target with TLS and custom
  originating NetID:
    $ pbadmin join-server update target --id 1 --origin-net-id 000013 \
      --root-cas-file ca.pem --tls-cert-file key.pem --tls-key-file key.pem

Options

      --fixed-cluster-id string       cluster ID
      --fixed-net-id netID            LoRa Alliance NetID
      --fixed-tenant-id string        tenant ID
  -h, --help                          help for target
      --id uint32                     unique identifier of the Join Server
      --lookup-address string         address (e.g. URL with HTTP basic authentication)
      --lookup-authorization string   custom authorization value (e.g. HTTP Authorization header value)
      --lookup-fns-path string        path for Forwarding Network Server (fNS)
      --lookup-hns-path string        path for Home Network Server (hNS)
      --lookup-origin-net-id netID    LoRa Alliance NetID
      --lookup-pb-token               use Packet Broker token
      --lookup-protocol protocol      protocol (GRPC,NATS_STREAMING_SERVER,TS002_V1_0,TS002_V1_1)
      --lookup-root-cas-file string   path to PEM encoded root CAs
      --lookup-sns-path string        path for Serving Network Server (sNS)
      --lookup-tls-cert-file string   path to PEM encoded client certificate
      --lookup-tls-key-file string    path to PEM encoded private key

Options inherited from parent commands

      --client-id string       OAuth 2.0 client ID
      --client-secret string   OAuth 2.0 client secret
      --config string          config file (default is .pb.yaml, $HOME/.pb.yaml)
  -d, --debug                  debug mode
      --iam-address string     address of the server "host[:port]" (default "iam.packetbroker.net:443")
      --iam-password string    IAM password
      --iam-username string    IAM username
      --insecure               insecure
      --token-url string       OAuth 2.0 token URL (default "https://iam.packetbroker.net/token")

SEE ALSO

  • pbadmin join-server update - Update a Join Server

Packet Broker

Packet Broker

Getting Started

Commands

About Us

The Things Network

The Things Industries

About this page

Last changed on 01 Jan 0001.