Digi IX40 User Manual page 631

Table of Contents

Advertisement

Services
c. For Topic, type the topic. The variables %c and %u can be used as substitutes for
d. For Access, select the level of access that the client will have:
e. Click g again to add additional topics.
15. Click Apply to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX40
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. Enable the MQTT broker:
(config)> service mqtt enable true
(config)>
4. (Optional) Set the port number for the MQTT broker to listen for incoming connections:
(config)> service mqtt port int
(config)>
The default is 1883.
5. (Optional) Set the access control list to restrict access to the MQTT broker:
n
To limit access to specified IPv4 addresses and networks:
(config)> add service mqtt acl address end value
(config)>
Where value can be:
A single IP address or host name.
l
A network designation in CIDR notation, for example, 192.168.1.0/24.
l
any: No limit to IPv4 addresses that can access the iperf service.
l
Repeat this step to list additional IP addresses or networks.
n
To limit access to specified IPv6 addresses and networks:
(config)> add service mqtt acl address6 end value
(config)>
IX40 User Guide
the client ID or username. If a variable is used, it can be the only text for that level
of the hierarchy..
Read
l
Write
l
Read/write
l
Deny
l
Use the MQTT broker service
631

Advertisement

Table of Contents
loading

Table of Contents