Community discussions

MikroTik App
 
vousnan
just joined
Topic Author
Posts: 1
Joined: Fri Dec 31, 2021 1:52 pm

Cloud Router Switch 326 CPU usage 100%

Fri Dec 31, 2021 2:04 pm

Hi
It's my first time using a Mikrotik switch, and i'm facing a big problem with it.
we decided to use Mikrotik CRS326-24S+2Q+RM. The issue i'm currently having is that the cpu hits high load levels quickly in cases where it shouldn't and network becomes less responsive. Users aren't able to use full speed, but only about 4% of the speed they had when we were using the CRS as a router switch. I assume that there is something wrong with the configuration or the switch itself.
When use tool ---> profile: 80% of CPU networking
i just activate a BGP and just received a default route in my bgp routing table.

here is my configuration:
# software id = G2RQ-9LZL
#
# model = CRS326-24S+2Q+
# serial number = AEF60AD072EE
/interface bridge
add disabled=yes name=bridge1
/interface ethernet
set [ find default-name=sfp-sfpplus1 ] advertise=\
10M-full,100M-full,1000M-full,10000M-full name="sfp-sfpplus1"
set [ find default-name=sfp-sfpplus2 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full,10000M-full
/interface vlan
add interface=sfp-sfpplus2 name=TEST vlan-id=1012
add interface=sfp-sfpplus3 name="HOTSPOT SOS" vlan-id=20
add interface=sfp-sfpplus3 name="HSI LAN SOS" vlan-id=10
add interface=sfp-sfpplus3 name="OAM SWITCH" vlan-id=3
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/routing bgp instance
add as=5964 name=bgp1 redistribute-connected=yes redistribute-static=yes \
router-id=165.211.21.2
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=qsfpplus1-1
add bridge=bridge1 interface=qsfpplus1-2
add bridge=bridge1 interface=qsfpplus1-3
add bridge=bridge1 interface=qsfpplus1-4
add bridge=bridge1 interface=qsfpplus2-1
add bridge=bridge1 interface=qsfpplus2-2
add bridge=bridge1 interface=qsfpplus2-3
add bridge=bridge1 interface=qsfpplus2-4
add bridge=bridge1 disabled=yes interface=sfp-sfpplus2
add bridge=bridge1 interface=sfp-sfpplus3
add bridge=bridge1 interface=sfp-sfpplus4
add bridge=bridge1 interface=sfp-sfpplus5
add bridge=bridge1 interface=sfp-sfpplus6
add bridge=bridge1 interface=sfp-sfpplus7
add bridge=bridge1 interface=sfp-sfpplus8
add bridge=bridge1 interface=sfp-sfpplus9
add bridge=bridge1 interface=sfp-sfpplus10
add bridge=bridge1 interface=sfp-sfpplus11
add bridge=bridge1 interface=sfp-sfpplus12
add bridge=bridge1 interface=sfp-sfpplus13
add bridge=bridge1 interface=sfp-sfpplus14
add bridge=bridge1 interface=sfp-sfpplus15
add bridge=bridge1 interface=sfp-sfpplus16
add bridge=bridge1 interface=sfp-sfpplus17
add bridge=bridge1 interface=sfp-sfpplus18
add bridge=bridge1 interface=sfp-sfpplus19
add bridge=bridge1 interface=sfp-sfpplus20
add bridge=bridge1 interface=sfp-sfpplus21
add bridge=bridge1 interface=sfp-sfpplus22
add bridge=bridge1 interface=sfp-sfpplus23
add bridge=bridge1 interface=sfp-sfpplus24
/interface detect-internet
set detect-interface-list=WAN
/interface list member
add interface="sfp-sfpplus1 " list=WAN
add interface=sfp-sfpplus2 list=LAN
add interface=sfp-sfpplus3 list=LAN
/ip address
add address=165.211.21.2/30 interface="sfp-sfpplus1 " network=\
165.211.21.0
add address=165.211.21.37/30 interface=TEST network=165.211.21.36
add address=165.211.21.41/30 interface="HOTSPOT SOS" network=165.211.21.40
add address=165.211.21.29/30 interface="HSI LAN SOS" network=165.211.21.28
add address=165.211.21.33/30 interface="OAM SWITCH" network=165.211.21.32
/ip arp
add address=165.211.21.1 interface="sfp-sfpplus1 " mac-address=\
3C:51:0E:82:51:28
/ip dhcp-client
add dhcp-options=hostname,clientid interface="sfp-sfpplus1 " \
use-peer-dns=no use-peer-ntp=no
/ip dns
set servers=8.8.8.8
/ip route
add distance=1 gateway=165.211.21.1
add distance=1 gateway=165.211.21.1
add distance=1 gateway=165.211.21.1
/routing bgp peer
add instance=bgp1 name=peer2 nexthop-choice=force-self remote-address=\
195.24.192.213 remote-as=5964
add instance=bgp1 name=peer3 remote-address=165.211.21.38 remote-as=27756
add instance=bgp1 name=peer1 nexthop-choice=force-self remote-address=\
165.211.21.1 remote-as=5964 ttl=250
/system clock
set time-zone-name=Africa/Douala
/system routerboard settings
set boot-os=router-os
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11582
Joined: Thu Mar 03, 2016 10:23 pm

Re: Cloud Router Switch 326 CPU usage 100%

Fri Dec 31, 2021 2:42 pm

CRS3xx devices are switches with routing capability. They can't route at any decent speed. Check official test redults. Rule of thumb about real-life routing capacity for all Mikrotik devices (CRS326 is no exception) is to take number under "Ethernet test results -> Routing -> 25 ip filter rules .>512 byte packets", for your device that's around 170Mbps, give or take (depends on particular firewall and routing config).

With ROSv7 things do change, in certain circumstances your CRS will be able to route at wirespeed. For more information read through l3hw offload manual page.

Who is online

Users browsing this forum: Amazon [Bot] and 18 guests