How to completely disable unused routing protocols

I have an old Mikrotik device running RouterOS 7.10.2

I noticed a bunch of routing protocols I do not use in /routing/stats/process/print, such as ospf, pimsm, fantasy.
Is there a way to disable them so they don’t get started?

You can use a skin to hide them in UI is best you can do in V7. In V6, some routing stuff was in packages…but that was lost in V7.

They do have /system/device-mode which can “disable” some protocols/features, but routing stuff like BGP and MPLS are NOT in the list:

/system/device-mode/update <tab> 
activation-timeout     email                l2tp          smb              
append                 fetch                mode          sniffer          
as-value               flagged              once          socks            
bandwidth-test         flagging-enabled     pptp          traffic-gen      
container              hotspot              proxy         without-paging   
do                     interval             romon         zerotier         
duration               ipsec                scheduler     file

I’m not concerned in hiding them visually, but freeing some RAM. Don’t see any of the routing protocols in device-mode though.

Yeah, you can’t. Now they should not use much memory, and additional disk space is likely minor since I’d imagine some route logic is common to all.

But agree clutter things if the topology has 0% chance of needing dynamic/multicast routing. And if you can reduce the command surface, it reduces the attack surface – why the routing protocol should be included in device-mode IMO. My real world concerns are mainly restricting the UI for end-users/dumb-admins, so skins work.

Anyway 100% agree it be nice to “completely disable”

I got a kernel panic due to lack of memory yesterday while upgrading from 7.9.2 to 7.10.2. That wasn’t fun, hence my interest :slight_smile: