<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic APs connectivity on vRIOT in RUCKUS Self-Help</title>
    <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/APs-connectivity-on-vRIOT/m-p/46959#M56</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;In this article, I will explain how vRIOT Broker IP can be configured by different ways and some basic to debug the AP-vRIOT connectivity.&lt;/P&gt;
&lt;P&gt;Below three ways can be utilised to add APs to the vRIOT&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;1) Manual command from RKSCLI.&lt;BR /&gt;2) AP CLI Script.&lt;BR /&gt;3) DHCP option 43&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1) &lt;FONT color="#FF6600"&gt;Manual command from CLI&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;If we have less or specific APs in a zone to be added to vRIOT one can use manual/static entry to add the vRIOT IP to the APs for connectivity.&lt;/P&gt;
&lt;P&gt;Login to the AP CLI via any ssh tool, ex Putty, terminal etc and execute the command:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;RUCKUS-IoT-Controller-IP-address&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2) &lt;FONT color="#FF6600"&gt;AP CLI Script&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;If we have to add all APs of a specific zone to the vRIOT, we can use the CLI command in a script ".txt" format to push it from vSZ to all connected AP per zone , example below can be used :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;IOT IP&amp;gt;     &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set iotg-enable 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;*Go to v/SZ WebUI : Diagnostics -&amp;gt; Scripts -&amp;gt; AP CLI Scripts -&amp;gt; upload and execute&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3)&lt;FONT color="#FF6600"&gt; DHCP option 43&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;The DHCP option 43 suboption code 21 and 22 is used to set the RUCKUS IoT Controller IP address.&lt;/P&gt;
&lt;P&gt;• Suboption 21: Used to configure a RUCKUS IoT Controller IPv4 address or FQDN (mandatory)&lt;BR /&gt;• Suboption 22: Used to set the control VLAN for IoT Control/Data traffic (optional)&lt;/P&gt;
&lt;P&gt;Option 43 supports both binary and ASCII formats. The IoT Access Point bootup process checks for option 43 and suboption 06, 21 and 22. Once&lt;BR /&gt;the application receives this information it uses the information to connect to the controller over the Pubsub channel.&lt;BR /&gt;You can use the DHCP option 43 sub-option code 06 to set the SCG/vSZ/SZ IP address in the format SubCode /Length/ (Value In Hex). For example :&lt;BR /&gt;If the IP address is 10.24.123.4, then the hex string is as follows 06 0b 31302e32342e3132332e34.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hex.PNG" style="width: 999px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3265i6942F8DD9AAAF1AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Hex.PNG" alt="Hex.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;One can use below Hex calculator to convert :&lt;/P&gt;
&lt;P&gt;Decimal-HEX calculator: &lt;A href="http://shimi.net/services/opt43/index.php" target="_blank"&gt;http://shimi.net/services/opt43/index.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For Example, Windows DHCP configuration with suboption 21 and 22:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlan.PNG" style="width: 403px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3266i567C7296AB299C82/image-size/large?v=v2&amp;amp;px=999" role="button" title="vlan.PNG" alt="vlan.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Linux DHCP option 43, sub option 21 configuration is as follows:&lt;BR /&gt;• option RKUS.scg-address "192.168.0.3"&lt;BR /&gt;• option RKUS.riot-address "192.168.0.2";&lt;/P&gt;
&lt;P&gt;dhcp_opt43 configuration subopt 22- "vlan_mode.vlan_id"&lt;BR /&gt;• #option RKUS.iotvlan-address "0.4" -enables onlink VLAN&lt;BR /&gt;• #option RKUS.iotvlan-address "1.4" -enables offlbnh VLAN&lt;BR /&gt;• Offlink VLAN configuration is used when the IOT Gateway/AP and IOT controller are in different networks.&lt;BR /&gt;• Onlink VLAN configuration is used when the IOT Gateway/AP and IOT controller are in same network.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;AP to vRIOT connectivity&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;In some of the scenario where we see AP is not joining the vRIOT or IOT software is not working, we should always validate below :&lt;/P&gt;
&lt;P&gt;1) &lt;FONT color="#FF6600"&gt;Broker IP Configured&lt;/FONT&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;rkscli#&lt;STRONG&gt;get iotg-mqtt-brokerip&lt;/STRONG&gt;&lt;BR /&gt;Unconfigured&lt;BR /&gt;OK&lt;/P&gt;
&lt;P&gt;*By default Broker IP is set to Unconfigured if controller is not reachable for 24Hours by design.&lt;BR /&gt;*Having a AP script on SZ as backup for such situation is helpul or manual "&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;IP&amp;gt;&lt;/STRONG&gt;" if no DHCP option43 configured.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2) &lt;FONT color="#FF6600"&gt;IOT process enabled&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;rkscli#&lt;STRONG&gt;get iotg-enable&lt;/STRONG&gt;&lt;BR /&gt;0&lt;/P&gt;
&lt;P&gt;* IOTG Enable/disable command is used for IoT gateway application services 0 means disable and 1 for enable.&lt;BR /&gt;* Manual command "&lt;STRONG&gt;set-iotg enable 1&lt;/STRONG&gt;" to activate the gateway service.&lt;/P&gt;
&lt;P&gt;3) &lt;FONT color="#FF6600"&gt;802.11AX APs power mode 802.3at&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;rkscli: &lt;STRONG&gt;get power-mode&lt;/STRONG&gt;&lt;BR /&gt;PoE Configured Mode : Auto&lt;BR /&gt;Power Consumption Status : 802.3af Switch/Injector&lt;BR /&gt;OK&lt;/P&gt;
&lt;P&gt;*All 802.11AX APs need to be 802.3AT POE+ for IOT software to work if the power is not sufficient and AP is running on 802.3AF power mode the IOT module/software would not work and show "&lt;SPAN&gt;&lt;STRONG&gt;USB is not having enough power&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;BR /&gt;*One can go to the zone &amp;gt;&amp;gt; edit &amp;gt;&amp;gt; AP model specific configuration &amp;gt;&amp;gt; Select AP model and choose POE operating mode to AT if auto mode is negotiating at AF.&lt;BR /&gt;*Manual command "&lt;STRONG&gt;set power-mode at&lt;/STRONG&gt;" on each AP CLI or AP CLI script can also be used, Diagnostics &amp;gt;&amp;gt; Scripts &amp;gt;&amp;gt; AP CLI Scripts&lt;/P&gt;
&lt;P&gt;4) &lt;FONT color="#FF6600"&gt;AP software Matrix&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;Not all APs are supported on all vRIOT codes and similarly the vRIOT code compatibility with vSZ code needs to be validated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="software1.PNG" style="width: 738px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3267i26A41DDA5478550F/image-size/large?v=v2&amp;amp;px=999" role="button" title="software1.PNG" alt="software1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="software2.PNG" style="width: 737px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3269iAF45978E5CA75F9D/image-dimensions/737x276?v=v2" width="737" height="276" role="button" title="software2.PNG" alt="software2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Vineet Nejwala&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 04:55:31 GMT</pubDate>
    <dc:creator>Vineet_nejwala</dc:creator>
    <dc:date>2022-10-17T04:55:31Z</dc:date>
    <item>
      <title>APs connectivity on vRIOT</title>
      <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/APs-connectivity-on-vRIOT/m-p/46959#M56</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;In this article, I will explain how vRIOT Broker IP can be configured by different ways and some basic to debug the AP-vRIOT connectivity.&lt;/P&gt;
&lt;P&gt;Below three ways can be utilised to add APs to the vRIOT&amp;nbsp; :&lt;/P&gt;
&lt;P&gt;1) Manual command from RKSCLI.&lt;BR /&gt;2) AP CLI Script.&lt;BR /&gt;3) DHCP option 43&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1) &lt;FONT color="#FF6600"&gt;Manual command from CLI&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;If we have less or specific APs in a zone to be added to vRIOT one can use manual/static entry to add the vRIOT IP to the APs for connectivity.&lt;/P&gt;
&lt;P&gt;Login to the AP CLI via any ssh tool, ex Putty, terminal etc and execute the command:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;RUCKUS-IoT-Controller-IP-address&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2) &lt;FONT color="#FF6600"&gt;AP CLI Script&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;If we have to add all APs of a specific zone to the vRIOT, we can use the CLI command in a script ".txt" format to push it from vSZ to all connected AP per zone , example below can be used :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;IOT IP&amp;gt;     &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set iotg-enable 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;*Go to v/SZ WebUI : Diagnostics -&amp;gt; Scripts -&amp;gt; AP CLI Scripts -&amp;gt; upload and execute&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3)&lt;FONT color="#FF6600"&gt; DHCP option 43&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;The DHCP option 43 suboption code 21 and 22 is used to set the RUCKUS IoT Controller IP address.&lt;/P&gt;
&lt;P&gt;• Suboption 21: Used to configure a RUCKUS IoT Controller IPv4 address or FQDN (mandatory)&lt;BR /&gt;• Suboption 22: Used to set the control VLAN for IoT Control/Data traffic (optional)&lt;/P&gt;
&lt;P&gt;Option 43 supports both binary and ASCII formats. The IoT Access Point bootup process checks for option 43 and suboption 06, 21 and 22. Once&lt;BR /&gt;the application receives this information it uses the information to connect to the controller over the Pubsub channel.&lt;BR /&gt;You can use the DHCP option 43 sub-option code 06 to set the SCG/vSZ/SZ IP address in the format SubCode /Length/ (Value In Hex). For example :&lt;BR /&gt;If the IP address is 10.24.123.4, then the hex string is as follows 06 0b 31302e32342e3132332e34.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hex.PNG" style="width: 999px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3265i6942F8DD9AAAF1AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Hex.PNG" alt="Hex.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;One can use below Hex calculator to convert :&lt;/P&gt;
&lt;P&gt;Decimal-HEX calculator: &lt;A href="http://shimi.net/services/opt43/index.php" target="_blank"&gt;http://shimi.net/services/opt43/index.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For Example, Windows DHCP configuration with suboption 21 and 22:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlan.PNG" style="width: 403px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3266i567C7296AB299C82/image-size/large?v=v2&amp;amp;px=999" role="button" title="vlan.PNG" alt="vlan.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Linux DHCP option 43, sub option 21 configuration is as follows:&lt;BR /&gt;• option RKUS.scg-address "192.168.0.3"&lt;BR /&gt;• option RKUS.riot-address "192.168.0.2";&lt;/P&gt;
&lt;P&gt;dhcp_opt43 configuration subopt 22- "vlan_mode.vlan_id"&lt;BR /&gt;• #option RKUS.iotvlan-address "0.4" -enables onlink VLAN&lt;BR /&gt;• #option RKUS.iotvlan-address "1.4" -enables offlbnh VLAN&lt;BR /&gt;• Offlink VLAN configuration is used when the IOT Gateway/AP and IOT controller are in different networks.&lt;BR /&gt;• Onlink VLAN configuration is used when the IOT Gateway/AP and IOT controller are in same network.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;AP to vRIOT connectivity&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;In some of the scenario where we see AP is not joining the vRIOT or IOT software is not working, we should always validate below :&lt;/P&gt;
&lt;P&gt;1) &lt;FONT color="#FF6600"&gt;Broker IP Configured&lt;/FONT&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;rkscli#&lt;STRONG&gt;get iotg-mqtt-brokerip&lt;/STRONG&gt;&lt;BR /&gt;Unconfigured&lt;BR /&gt;OK&lt;/P&gt;
&lt;P&gt;*By default Broker IP is set to Unconfigured if controller is not reachable for 24Hours by design.&lt;BR /&gt;*Having a AP script on SZ as backup for such situation is helpul or manual "&lt;STRONG&gt;set iotg-mqtt-brokerip &amp;lt;IP&amp;gt;&lt;/STRONG&gt;" if no DHCP option43 configured.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2) &lt;FONT color="#FF6600"&gt;IOT process enabled&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;rkscli#&lt;STRONG&gt;get iotg-enable&lt;/STRONG&gt;&lt;BR /&gt;0&lt;/P&gt;
&lt;P&gt;* IOTG Enable/disable command is used for IoT gateway application services 0 means disable and 1 for enable.&lt;BR /&gt;* Manual command "&lt;STRONG&gt;set-iotg enable 1&lt;/STRONG&gt;" to activate the gateway service.&lt;/P&gt;
&lt;P&gt;3) &lt;FONT color="#FF6600"&gt;802.11AX APs power mode 802.3at&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;rkscli: &lt;STRONG&gt;get power-mode&lt;/STRONG&gt;&lt;BR /&gt;PoE Configured Mode : Auto&lt;BR /&gt;Power Consumption Status : 802.3af Switch/Injector&lt;BR /&gt;OK&lt;/P&gt;
&lt;P&gt;*All 802.11AX APs need to be 802.3AT POE+ for IOT software to work if the power is not sufficient and AP is running on 802.3AF power mode the IOT module/software would not work and show "&lt;SPAN&gt;&lt;STRONG&gt;USB is not having enough power&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;BR /&gt;*One can go to the zone &amp;gt;&amp;gt; edit &amp;gt;&amp;gt; AP model specific configuration &amp;gt;&amp;gt; Select AP model and choose POE operating mode to AT if auto mode is negotiating at AF.&lt;BR /&gt;*Manual command "&lt;STRONG&gt;set power-mode at&lt;/STRONG&gt;" on each AP CLI or AP CLI script can also be used, Diagnostics &amp;gt;&amp;gt; Scripts &amp;gt;&amp;gt; AP CLI Scripts&lt;/P&gt;
&lt;P&gt;4) &lt;FONT color="#FF6600"&gt;AP software Matrix&lt;/FONT&gt; :&lt;/P&gt;
&lt;P&gt;Not all APs are supported on all vRIOT codes and similarly the vRIOT code compatibility with vSZ code needs to be validated.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="software1.PNG" style="width: 738px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3267i26A41DDA5478550F/image-size/large?v=v2&amp;amp;px=999" role="button" title="software1.PNG" alt="software1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="software2.PNG" style="width: 737px;"&gt;&lt;img src="https://community.ruckuswireless.com/t5/image/serverpage/image-id/3269iAF45978E5CA75F9D/image-dimensions/737x276?v=v2" width="737" height="276" role="button" title="software2.PNG" alt="software2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Vineet Nejwala&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 04:55:31 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/APs-connectivity-on-vRIOT/m-p/46959#M56</guid>
      <dc:creator>Vineet_nejwala</dc:creator>
      <dc:date>2022-10-17T04:55:31Z</dc:date>
    </item>
  </channel>
</rss>

