Community discussions

MikroTik App
 
jcbhltz909
newbie
Topic Author
Posts: 35
Joined: Tue Apr 28, 2020 10:49 pm

CRS125-24G-1S going offline

Thu Jul 29, 2021 6:35 am

My CRS125-24G-1S switch is losing networking whenever I plug in my CSS106-5G-1S. It makes all devices on the network inaccessible and I cannot connect to WinBox to troubleshoot the issue. The device is still powered on and does not crash/reboot.

* The only device(s) that go offline are devices directly connected to the switch. My router and other devices connected to it continue to work.
* I have another CSS106-5G-1S connected without issue.
* There are no MAC/IP conflicts anywhere
* This happens on any port I plug the switch into.

See my configuration below.
# jul/29/2021 00:29:28 by RouterOS 6.48.3
#
# model = CRS125-24G-1S

/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether23 ] speed=10Mbps
set [ find default-name=sfp1 ] auto-negotiation=no
/interface vlan
add interface=bridge1 name=vlan1 vlan-id=50
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge port
add bridge=bridge1 interface=sfp1 multicast-router=disabled
add bridge=bridge1 interface=ether10 multicast-router=disabled
add bridge=bridge1 interface=ether8 multicast-router=disabled
add bridge=bridge1 interface=ether14 multicast-router=disabled
add bridge=bridge1 interface=ether24 multicast-router=disabled
add bridge=bridge1 interface=ether22 multicast-router=disabled
add bridge=bridge1 interface=ether17 multicast-router=disabled
add bridge=bridge1 interface=ether2 multicast-router=disabled
add bridge=bridge1 comment=defconf interface=ether1
add bridge=bridge1 comment=defconf interface=ether3
add bridge=bridge1 comment=defconf interface=ether4
add bridge=bridge1 comment=defconf interface=ether5
add bridge=bridge1 comment=defconf interface=ether6
add bridge=bridge1 comment=defconf interface=ether7
add bridge=bridge1 comment=defconf interface=ether9
add bridge=bridge1 comment=defconf interface=ether11
add bridge=bridge1 comment=defconf interface=ether12
add bridge=bridge1 comment=defconf interface=ether13
add bridge=bridge1 comment=defconf interface=ether15
add bridge=bridge1 comment=defconf interface=ether16
add bridge=bridge1 comment=defconf interface=ether18
add bridge=bridge1 comment=defconf interface=ether19
add bridge=bridge1 comment=defconf interface=ether20
add bridge=bridge1 comment=defconf interface=ether21
add bridge=bridge1 comment=defconf interface=ether23
/ip neighbor discovery-settings
set discover-interface-list=none
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether10,ether14,ether22,sfp1 vlan-id=30
add tagged-ports=ether2,ether12,ether14,ether20,sfp1 vlan-id=10
add tagged-ports=ether2,ether12,ether14,ether20,sfp1 vlan-id=20
add tagged-ports=ether10,ether14,ether22,sfp1 vlan-id=40
add tagged-ports=ether2,ether4,ether8,ether10,ether12,ether14,ether20,ether22,ether23,sfp1,switch1-cpu vlan-id=50
add tagged-ports=ether10,ether22,sfp1 vlan-id=60
add tagged-ports=ether10,ether14,ether22,sfp1 vlan-id=70
add tagged-ports=sfp1 vlan-id=80
add tagged-ports=sfp1 vlan-id=90
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=30 ports=ether18,ether21,ether6,ether24
add customer-vid=0 new-customer-vid=40 ports=ether11,ether24,ether16
/interface ethernet switch vlan
add ports=ether6,ether10,ether14,ether16,ether18,ether22,ether23,ether24,sfp1 vlan-id=30
add ports=ether10,ether14,ether16,ether22,sfp1 vlan-id=40
add ports=ether2,ether4,ether8,ether10,ether12,ether14,ether20,ether22,ether23,sfp1,switch1-cpu vlan-id=50
add ports=ether10,ether22,sfp1 vlan-id=60
add ports=ether10,ether14,ether22,sfp1 vlan-id=70
add ports=ether2,ether12,ether14,ether20,sfp1 vlan-id=10
add ports=ether2,ether12,ether14,ether20,sfp1 vlan-id=20
add ports=sfp1 vlan-id=80
add ports=sfp1 vlan-id=90
/ip dhcp-client
add disabled=no interface=vlan1
/lcd
set backlight-timeout=never default-screen=stats
/lcd interface
set ether1 disabled=yes
set ether2 disabled=yes
set ether3 disabled=yes
set ether4 disabled=yes
set ether5 disabled=yes
set ether6 disabled=yes
set ether7 disabled=yes
set ether8 disabled=yes
set ether9 disabled=yes
set ether10 disabled=yes
set ether11 disabled=yes
set ether12 disabled=yes
set ether13 disabled=yes
set ether14 disabled=yes
set ether15 disabled=yes
set ether16 disabled=yes
set ether17 disabled=yes
set ether18 disabled=yes
set ether19 disabled=yes
set ether20 disabled=yes
set ether21 disabled=yes
set ether22 disabled=yes
set ether23 disabled=yes
set ether24 disabled=yes
/lcd screen
set 1 disabled=yes
set 2 disabled=yes
set 3 disabled=yes
set 4 disabled=yes
set 5 disabled=yes
/system clock
set time-zone-name=America/New York
/system identity
set name=mikrotik_sw_0
/system package update
set channel=stable
/tool sniffer
set filter-interface=ether23
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11383
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 8:08 am

My guess is that xSTP freaks out for some reason. You can try to set protocol-mode=none on bridge and see if it helps. This setting disables loop detection and is not recommended to disable it. If it makes difference, then you really have to verify that there are no loops in your network.
 
jcbhltz909
newbie
Topic Author
Posts: 35
Joined: Tue Apr 28, 2020 10:49 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 8:18 am

Thanks for the reply.

Yes, disabled seems to work. I am going to check for loops, but I do not think there are any - could it be something else?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11383
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 8:27 am

ROS version 6.48.3 has default setting bridge-mode=rstp. And I guess that as with all handlers for protocols it might be buggy. And bug can be either in CRS or CSS. So you can verify SwOS versions on both your CSS devices, perhaps the working one is running different SwOS version than the one making problems?
 
jcbhltz909
newbie
Topic Author
Posts: 35
Joined: Tue Apr 28, 2020 10:49 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 8:36 am

ROS version 6.48.3 has default setting bridge-mode=rstp. And I guess that as with all handlers for protocols it might be buggy. And bug can be either in CRS or CSS. So you can verify SwOS versions on both your CSS devices, perhaps the working one is running different SwOS version than the one making problems?
Yes, both CSS are running the same version (2.13) - I actually tried a few different versions on the one causing issues but nothing changed.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11383
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 8:48 am

In case you verify that there are indeed no loops created when connecting the incriminating CSS to CRS, you can fine-tune RSTP a bit. Instead of setting protocol-mode=none on bridge, you can set it back to default value (protocol-mode=rstp), but set edge=yes property on port, connecting the incriminating CSS. If you're using e.g. ether12, run command
/interface bridge port set [ find interface=ether12 ] edge=yes
You can verify actual setting by running monitor, e.g.
/interface bridge port monitor [ find interface=ether12 ] once
.
 
jcbhltz909
newbie
Topic Author
Posts: 35
Joined: Tue Apr 28, 2020 10:49 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 9:02 am

Thanks for your quick replies. I have confirmed there are no loops in the network and that running the command works.

Is this perhaps a bug in the CRS?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11383
Joined: Thu Mar 03, 2016 10:23 pm

Re: CRS125-24G-1S going offline

Thu Jul 29, 2021 11:08 am

If you think it's a bug in CRS, then probably the best would be to open trouble ticket with Mikrotik support, either via support portal or via email support@mikrotik.com. They'll almost certainly request you to generate supout.rif file and include it with trouble ticket. They might find out something.

Who is online

Users browsing this forum: Bing [Bot], fposavec, FranMercedesG, korg, Soleous75 and 90 guests