# Configure XBEE through "Connectport X2 ZB ethernet" CLI

**URL:** <https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082>\
**Category:** XBee & XBee Gateway\
**Tags:** at-commands, command-line, connectport, xbee\
**Created:** [March 8, 2024, 9:31am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082 "2024-03-08T09:31:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Proxy](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@Proxy](https://forums.digi.com/u/Proxy)\
**Post date:** [March 8, 2024, 9:31am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/1 "2024-03-08T09:31:38Z")

</div>

I want to configure the XBEE parameters through the command line but I get a message saying “XBee network not available (Gateway is disabled, -90)”. I am connected via Telnet over a local network.  
I can’t find anything to solve this questions in documentation:  
[https://www.digi.com/resources/documentation/DigiDocs/90000566/reference/r\_set\_permissions.htm](https://www.digi.com/resources/documentation/DigiDocs/90000566/reference/r_set_permissions.htm)  
[https://www.digi.com/resources/documentation/DigiDocs/90000566/default.htm#reference/r\_set\_network.htm?TocPath=Command%2520Descriptions%257C\_\_\_\_\_112](https://www.digi.com/resources/documentation/DigiDocs/90000566/default.htm#reference/r_set_network.htm?TocPath=Command%2520Descriptions%257C _____ 112)  
resources/documentation/DigiDocs/90000566/reference/r\_set\_xbee  
 ![LOG](https://us1.discourse-cdn.com/flex016/uploads/digi/original/2X/f/f29a5c426e6285d364e4516281035355667b142f.png)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [March 8, 2024, 1:00pm UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/2 "2024-03-08T13:00:19Z")

</div>

There are two things you can’t change on the local XBee on a gateway. One is the baud rate the 2nd is API mode. The module is already in API mode.

Are you able to see the XBee network via the WebUI?

---

<div class="post-metadata">

**Author:** ![Proxy](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@Proxy](https://forums.digi.com/u/Proxy)\
**Post date:** [March 11, 2024, 9:10am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/3 "2024-03-11T09:10:16Z")

</div>

I can’t see the networks through the connectport webUI.  
I need to change the API mode to 1 because configuring the connectport from a configuration file modifies this parameter on the radio and I need to reconfigure the radio through XCTU.  
With the radio connected to the gateway and through XCTU I can modify the API mode.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/digi/original/2X/4/4e718c00198ce598f52f12b48642ce14aa3fb7ac.png)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [March 11, 2024, 11:55am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/4 "2024-03-11T11:55:56Z")

</div>

The firmware on the Gateway requires that the XBee module mounted inside of it be set to API mode 1 and a baud rate of 115.2kbps. You will need to leave it at these values.

---

<div class="post-metadata">

**Author:** ![Proxy](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@Proxy](https://forums.digi.com/u/Proxy)\
**Post date:** [April 10, 2024, 8:38am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/5 "2024-04-10T08:38:11Z")

</div>

Setting API mode to 1 and a baud rate to 115.2kbps doesn’t allow me to change other parameters such as the ID

 ![image](https://us1.discourse-cdn.com/flex016/uploads/digi/original/2X/7/7f96b015b24464a4efbd56c470ce532be08f12e7.png)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 10, 2024, 11:28am UTC](https://forums.digi.com/t/configure-xbee-through-connectport-x2-zb-ethernet-cli/30082/6 "2024-04-10T11:28:40Z")

</div>

Have you rebooted since setting the API mode and baud rate back to 1 and 7?
