Services Use the MQTTbroker service
IX10 User Guide
590
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX10
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 MQTTbroker 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:
l
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.
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)>
Where value can be:
l
A single IP address or host name.
l
A network designation in CIDR notation, for example, 2001:db8::/48.
l
any: No limit to IPv6 addresses that can access the iperf service.
Repeat this step to list additional IP addresses or networks.
n
To limit access to hosts connected through a specified interface on the IX10 device:
(config)> add service mqtt acl interface end value
(config)>
Where value is an interface defined on your device.
Display a list of available interfaces: