# UbiSwitch not functioning properly after modifying VLAN

**URL:** <https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311>\
**Category:** BotBlox Software\
**Tags:** ubiswitch\
**Created:** [September 17, 2024, 8:35pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311 "2024-09-17T20:35:16Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![warrenhath](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@warrenhath](https://forum.botblox.org/u/warrenhath)\
**Post date:** [September 19, 2024, 6:51pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/21 "2024-09-19T18:51:51Z")

</div>

No, this was not happening before flashing the module.

We are powering the board at 24V and 0.02A.

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [September 19, 2024, 6:54pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/22 "2024-09-19T18:54:04Z")

</div>

What hardware did you use to flash the board? How was the board powered during the flashing process?

---

<div class="post-metadata">

**Author:** ![warrenhath](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@warrenhath](https://forum.botblox.org/u/warrenhath)\
**Post date:** [September 19, 2024, 6:56pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/23 "2024-09-19T18:56:10Z")

</div>

We used the ST-Link hardware for flashing the board, as given in the documentation. The board was powered with the same voltage and current as mentioned above.

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [September 19, 2024, 6:58pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/24 "2024-09-19T18:58:20Z")

</div>

It appears that the board is damaged. The port lights stuck on, along with the very low power draw (0.48W) implies this.

If this happened after the flashing, then something during the flashing has damaged the board.

Firmware itself would not be capable of doing that, so I suspect there has been some hardware issue here. We’ll need to approve an RMA so you can send the board back to us for inspection. We will follow up on email.

---

<div class="post-metadata">

**Author:** ![warrenhath](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@warrenhath](https://forum.botblox.org/u/warrenhath)\
**Post date:** [September 19, 2024, 7:01pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/25 "2024-09-19T19:01:19Z")

</div>

We are under a tight deadline and need multiple switches for our project. If we purchase another UbiSwitch, would you be able to send it to us already flashed with the CLI software? In the meantime, we can work on sending the current switch back for inspection.

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [September 19, 2024, 7:02pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/26 "2024-09-19T19:02:39Z")

</div>

Yes. We can do that. To help further, can you provide the specific VLAN configuration, and Aaron will help you with the specific CLI commands to run to achieve that.

---

<div class="post-metadata">

**Author:** ![warrenhath](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@warrenhath](https://forum.botblox.org/u/warrenhath)\
**Post date:** [September 19, 2024, 7:04pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/27 "2024-09-19T19:04:49Z")

</div>

What are the next steps we should take to purchase another switch that is flashed?

The configuration that we need was mentioned above:  
vlan add port 1 vid 1 pvid untagged  
vlan add port 2 vid 1 pvid untagged  
vlan add port 3 vid 2 pvid untagged  
vlan add port 4 vid 2 pvid untagged

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [September 19, 2024, 7:09pm UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/28 "2024-09-19T19:09:19Z")

</div>

All modules we ship are now flashed with the latest firmware by default.

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [September 20, 2024, 10:27am UTC](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311/30 "2024-09-20T10:27:41Z")

</div>

> [@warrenhath](#):
>
> vlan add port 1 vid 1 pvid untagged  
> vlan add port 2 vid 1 pvid untagged  
> vlan add port 3 vid 2 pvid untagged  
> vlan add port 4 vid 2 pvid untagged

If you send over the VLAN topology you want, I’d be happy to help you with the commands you’ll need to set but based on what I _think_ you’re trying to achieve this is what you need.

For clarification on what the above commands do:  
VLAN 1 members: port 1, 2  
VLAN 2 members: port 3, 4

Ports 1-4 are treated as access ports with default VLANs, not trunk ports, and no VLAN tag is required to be added to ingress packets on those ports.

[Previous page](https://forum.botblox.org/t/ubiswitch-not-functioning-properly-after-modifying-vlan/311.md?page=1)
