Omnitik port disable/enable takes down other interfaces

Omnitik with ROS 5.25 and Omnitik with ROS 6.12

Hi all,
I am observing very strange behavior of Omnitik devices. From some reason I have a netwatch that checks the accessibility of some device in the network and in case of non response it disables one ethernet port, waits for 5 seconds and enables it again. It works fine.

The netwatch on down state command is

:log info ("Netwatch: eth1-cbc down.");
/interface disable eth1-cbc;
:delay 5s;
/interface enable eth1-cbc;

What is weird is that when the port is enabled, it shuts down and up also other at the moment active ports:

May/05/2014 23:26:50 interface,info eth1-cbc link down
May/05/2014 23:26:50 interface,info eth2-bub link down
May/05/2014 23:26:50 interface,info eth3-lan link down
May/05/2014 23:26:51 interface,info eth2-bub link up (speed 100M, full duplex)
May/05/2014 23:26:51 interface,info eth3-lan link up (speed 100M, full duplex)
May/05/2014 23:26:52 interface,info eth1-cbc link up (speed 100M, full duplex)

How to ensure that enabling the interface will not affect other ethernets?

This looks like a bug in routeros ore have you bridged this interfaces?

Try with this

/interface ethernet disable ether2;
:delay 5s;
/interface ethernet enable ether2;

Not bridged, not switched, just routed. Ether1 is WAN, Ether2 is another WAN and Ehter3 is LAN behind NAT. So logically are all ports fully separated.
And this happens to two different devices with different ROS versions as written above.

Try with this Jarda

/interface ethernet disable ether2;
:delay 5s;
/interface ethernet enable ether2;

I already thought about this. But I did not find any reason to, so I did not tried it yet. I will try and post result. But I am sceptic to this.

I have try and just interface ether2 was down

So I tried. No effect. Does not matter if used interface disable/enable or interface ethernet disable/enable.

can you do /interface/export

[some@some] > interface export compact hide-sensitive
# may/06/2014 16:14:02 by RouterOS 5.25
# software id = xxxx-xxxx
#
/interface bridge
add admin-mac=00:0C:42:xx:xx:xx auto-mac=no l2mtu=1598 name=bridge1 protocol-mode=rstp
/interface ethernet
set 0 name=eth1-cbc
set 1 name=eth2-bub
set 2 name=eth3-lan
set 3 name=eth4-lan
set 4 name=eth5-lan

/interface bridge port
add bridge=bridge1 interface=eth3-lan
add bridge=bridge1 interface=eth4-lan
add bridge=bridge1 interface=eth5-lan
add bridge=bridge1 interface=ath1

I only removed wireless stuff…

Full Interface ethernet export:

/interface ethernet
set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=00:0C:42:xx:xx:xx mtu=1500 name=eth1-cbc speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:xx:xx:xx \
    master-port=none mtu=1500 name=eth2-bub speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:xx:xx:xx \
    master-port=none mtu=1500 name=eth3-lan speed=100Mbps
set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:xx:xx:xx \
    master-port=none mtu=1500 name=eth4-lan speed=100Mbps
set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:xx:xx:xx \
    master-port=none mtu=1500 name=eth5-lan speed=100Mbps
/interface ethernet switch
set 0 mirror-source=none mirror-target=none name=switch1
/interface ethernet switch port
set 0 vlan-header=leave-as-is vlan-mode=fallback
set 1 vlan-header=leave-as-is vlan-mode=fallback
set 2 vlan-header=leave-as-is vlan-mode=fallback
set 3 vlan-header=leave-as-is vlan-mode=fallback
set 4 vlan-header=leave-as-is vlan-mode=fallback

I see nothing wrong Jarda.

Can you try with another device?

See the picture a have made, ethernet1 general if it is the same like that must it be a bug or something.

Can you export your netlog settings?
general.png

I also do not see anything wrong. Therefore I sent it to public… Of course there is no master port as the ether1 is standalone wan port. The same happens to all active ethernets when ether3 is disabled/enabled by netwatch. Ether3 is part of bridge1.

This also occurs with Rb751 but only when ether1 is cycled. If ether1 is disabled and then renewables all the other ports (ether2 through ether5) reinitialize. It’s normally not noticed but if you have a dynamic routing protocol like ospf running on e2, for example, the ospf session is reset as a result. In such a case it’s very noticeable and disruptive. This doesn’t happen if hue port cycled is not e1 if I remember correctly.

Mikrotik, are you aware of it?

If negative or no answer soon, I am going to open a ticket.

@jarda Have you an omnitik with POE integrated?

This is verry strange

Mikrotik can you explain this?

No, these are not UPA versions. Only powered by passive poe on ether1 and without any modifications.

Make supout.rif and send this to support@mikrotik.com

… to mikrotik.com.

yes indeed edit’t :smiley:

If you want give me a fully export and i try it with a omnitik here by me

If you have sensitive information on this device pleace remove this

I will help you thats all

Greatings