Illustrated title card for the guide: MikroTik SwOS vs RouterOS on CRS305, CRS309 and CRS3xx
mikrotik

MikroTik SwOS vs RouterOS on CRS305, CRS309 and CRS3xx

SwOS or RouterOS on a MikroTik CRS305 or CRS309? Feature limits side by side, the boot-os and device-mode steps to switch, and how to get back.

Both the CRS305-1G-4S+ and the CRS309-1G-8S+ can boot either SwOS or RouterOS, so the choice is yours. MikroTik’s own advice on the CRS305 product page is short: “If you prefer to have a simplified operating system with only switch specific features, use SwOS. If you would like the ability to use routing and other Layer 3 features in your CRS, use RouterOS.” In practice, SwOS is a browser-only Layer 2 switch with tighter table limits. RouterOS adds a command line, MSTP, more VLANs and ACL rules, and hardware routing on both models.

This guide lays the two side by side for the CRS305 and CRS309. It shows how to move between the two systems on MikroTik’s dual-boot CRS3xx models. It also explains how to allow the OS change that device-mode restricts by default starting with RouterOS 7.17.

Who each system suits

SwOS suits you if:

  • You want a managed Layer 2 switch configured from a web page, with VLANs, link aggregation, RSTP, port isolation and IGMP snooping.
  • Up to 250 VLAN entries and up to 32 ACL rules are enough for your network. Both limits are marked “limited by SwOS” in the SwOS CRS3xx manual.

Skip SwOS if:

  • You want to manage the switch from a command line or WinBox. The SwOS introduction says SwOS “is configured exclusively through a standard web browser (HTTP) over IPv4”. It does not support CLI access via serial console or SSH, API access or WinBox.
  • You need routing between VLANs on the switch itself, MSTP, or more VLANs or ACL rules than SwOS allows. Those are RouterOS features, listed below.

SwOS vs RouterOS feature limits

The SwOS column comes from the SwOS CRS3xx manual and the SwOS introduction. The RouterOS column comes from the version 7.26 Marvell Prestera switch chip features page, which covers the CRS305 and CRS309.

FeatureSwOS on CRS3xxRouterOS on CRS305 and CRS309
ManagementWeb browser over HTTP, IPv4 onlyCommand line, WinBox and WebFig, plus a serial console on the CRS309 (the tools the manual lists for changing the boot OS)
VLANsIEEE 802.1Q port-based VLANs, up to 250 VLAN entries4k active VLANs, with 802.1Q, 802.1ad and port-based VLANs. Protocol- and MAC-based VLANs apply between switch ports and exclude DHCP packets when DHCP snooping is enabled.
Spanning treeRSTPSTP, RSTP and MSTP, with edge port, BPDU Guard and Root Guard
Link aggregation802.3ad LACP or static; up to 16 groups, up to 8 ports per groupHardware offloading for 802.3ad (LACP), balance-xor and active-backup, with up to 8 member ports per bond. MLAG.
ACL rulesUp to 32128 on the CRS305-1G-4S+IN, 1024 on the CRS309-1G-8S+IN
MulticastIGMP snoopingIGMP and MLD snooping
DHCP protectionDHCP and PPPoE snooping (not applied to DHCPv6)DHCP snooping with Option 82, DHCPv6 snooping, RA Guard
RoutingSwitch features only, per MikroTik; routing needs RouterOSLayer 3 hardware offloading on both models
Jumbo framesUp to 10218 bytes. SwOS does not support lowering the MTU manually.Up to 10218 bytes on both models

A few SwOS details matter when you plan a network around it. MikroTik Neighbor Discovery can be used to discover the switch’s IP address, but “LLDP is not supported”. SNMP is v1 and v2c only, and “SNMP traps and writing SwOS configuration are not supported”, per the SwOS CRS3xx manual.

On the RouterOS side, the switch chip page warns that “it is possible to create only one bridge with hardware offloading”. The L3 Hardware Offloading page says the CPU processes IPv4 firewall rules.

CRS305 vs CRS309 under each system

The two switches share a CPU class and RAM size but use different switch chips. The SwOS limits above are listed in the CRS3xx and CSS3xx SwOS manual. In RouterOS, the chip changes ACL, FDB and routing capacity.

CRS305-1G-4S+INCRS309-1G-8S+IN
Ports1 Gigabit Ethernet, 4 SFP+1 Gigabit Ethernet, 8 SFP+
Switch chip98DX323698DX8208
CPU and RAM2 cores at 800 MHz, 512 MB2 cores at 800 MHz, 512 MB
CoolingPassivePassive
Serial consoleNoYes (RS232)
Dual bootRouterOS or SwOSRouterOS or SwOS
Oldest supported SwOSv2.8v2.8
ACL rules in RouterOS1281024
Unicast FDB in RouterOSUp to 16KUp to 32K
L3 hardware routingUp to 13312 IPv4 route prefixes, including connected hosts, in memory shared with IPv6. No FastTrack, NAT, VRRP or VRF offload.Up to 36K IPv4 routes, depending on routing table complexity. Up to 4.5K IPv4 FastTrack connections and 3.9K NAT entries for those connections. FastTrack shares hardware memory with ACL rules.
Latest releases listed on the product pagesRouterOS 7.25.2 (stable), SwitchOS 2.19RouterOS 7.25.2 (stable), SwitchOS 2.19

Ports, CPU, RAM, cooling and latest releases are from the CRS305 and CRS309 product pages. Serial console, dual boot and SwOS versions are from the model table in the SwOS CRS3xx manual. ACL and FDB figures are from the switch chip page, and routing figures from the L3 Hardware Offloading page.

Two cautions from the SwOS manual. The CRS305-1G-4S+OUT is a different model on a different chip (98DX226S), and it needs SwOS v2.15 or newer. Also, “Each RouterBoard switch series device has its own firmware which cannot be installed on other series models!”

The missing serial console matters on the CRS305-1G-4S+. The RouterBOOT menu steps below require a serial console.

Switch from RouterOS to SwOS

The switch chip page says the boot OS can be changed from the command line, WinBox, WebFig or the serial console. Here is the command-line route.

Step 1: allow the change in device-mode (RouterOS 7.17 and later). The switch chip page warns: “Starting from RouterOS version 7.17, device-mode restricts SwOS/RouterOS transition for dual-boot”. The Device mode page lists the routerboard feature as disabled in every mode unless enabled explicitly. Enable it:

/system/device-mode/update routerboard=yes

The change needs physical access. The Device mode page says to confirm it with a cold reboot by unplugging the power, or by pressing the reset or mode button on devices that support button confirmation. A regular reboot cancels the change. MikroTik’s example of changing modes shows a 5-minute confirmation window. The device reboots after confirmation. Check the result with /system/device-mode/print.

Step 2 (optional): save or update SwOS from RouterOS. Since RouterOS 6.43 you can save, load and reset the SwOS configuration and upgrade SwOS from RouterOS, per the switch chip page:

/system/swos/save-config
/system/swos/upgrade

The saved file is named swos.config and “will be removed after a reboot”, so download it first. The upgrade command needs Internet access and installs the latest available SwOS “primary backup version”. Once in SwOS, its version shows the letter “p”, and you can install the latest available secondary main version from the SwOS “Upgrade” menu. Related commands are /system/swos/load-config, /system/swos/password and /system/swos/reset-config.

Step 3: set the boot OS and reboot.

/system routerboard settings set boot-os=swos
/system reboot

Step 4: log in to SwOS. For the default SwOS login, browse to 192.168.88.1 and log in as admin with no password, per the CRS3xx and CSS3xx Series Manual. The SwOS CRS3xx manual adds that the switch can also run a DHCP client, so check your DHCP server for a lease if that address does not answer.

Switch from SwOS back to RouterOS

Pick whichever of these fits your hardware.

Warning: the reset button method wipes the RouterOS configuration. Keep a RouterOS backup before you leave RouterOS.

  • From the web interface: in SwOS, the “Boot RouterOS” button in the System menu boots the device into RouterOS, per the SwOS CRS3xx manual.
  • With the reset button: “Power the device while holding the reset button and wait till user LED starts flashing (around 5 seconds).” This resets the RouterOS configuration, and the device then boots into RouterOS, per the CRS3xx manual.
  • From a serial console (CRS309, not the CRS305-1G-4S+): enter RouterBOOT setup, choose “j - boot os”, then choose RouterOS or SwOS.

VLAN trunk and access ports in each system

SwOS spreads VLAN setup over its System, VLANs and VLAN tabs. RouterOS builds it from a bridge with VLAN filtering.

SwOS

The SwOS CRS3xx manual gives this order for trunk and access ports:

  1. System tab: enable Independent VLAN Lookup. The manual’s example calls this independent VLAN learning (IVL).
  2. VLANs tab: add each VLAN ID and tick its Members ports.
  3. VLAN tab: on each access port, set Default VLAN ID to that port’s VLAN and VLAN Receive to “only untagged”. On the trunk port, set VLAN Receive to “only tagged”. Set VLAN Mode to strict on the ports.
  4. Optional, management VLAN: set Allow From VLAN in the System tab, so the switch answers management only on that VLAN.

Strict mode drops packets whose VLAN ID does not match the ingress port’s membership in the VLAN table. Before step 4, use Save Backup. The manual warns that changing the management VLAN “can completely disable access to the switch management if VLAN settings are not correctly configured.”

RouterOS

RouterOS builds the same thing from a bridge with VLAN filtering. The lines below are copied from MikroTik’s “VLANs with bonds” example on the switch chip page. They are trimmed to VLAN 10 and management VLAN 99. The excerpt uses ether1, ether2 and an existing bond called bond_1-2 on SwitchA, a CRS326-24G-2S+. Use interface print to find the interface names on your switch before substituting your own ports.

/interface/bridge
add name=bridge vlan-filtering=no
/interface/bridge/port
add bridge=bridge interface=ether1 pvid=10
add bridge=bridge interface=ether2 pvid=10
add bridge=bridge interface=bond_1-2
/interface/vlan
add interface=bridge name=MGMT vlan-id=99
/ip/address
add address=192.168.99.X/24 interface=MGMT
/interface/bridge/port
set [ find ] frame-types=admit-only-untagged-and-priority-tagged
set [find where interface=ether1] frame-types=admit-all
set [find where interface=bond_1-2] frame-types=admit-only-vlan-tagged
/interface/bridge/vlan
add bridge=bridge tagged=bond_1-2 vlan-ids=10
add bridge=bridge tagged=bridge,bond_1-2,ether1 vlan-ids=99
/interface/bridge
set bridge vlan-filtering=yes

In the excerpt, bond_1-2 is the trunk. Ports ether1 and ether2 carry VLAN 10 untagged, and ether1 also accepts tagged management traffic on VLAN 99. Replace X with the switch’s own address. The manual notes that bridge ports with frame-types set to admit-all or admit-only-untagged-and-priority-tagged “will be automatically added as untagged ports for the pvid VLAN”. That is why ether1 and ether2 need no untagged entry in the VLAN table. Enable VLAN filtering last. MikroTik warns that a mistake here can cut you off, “and connectivity can only be regained by resetting the configuration or by using the serial console.”

If a SwOS upgrade fails on a CRS

MikroTik’s Cannot upgrade SwOS page gives this order for dual-boot CRS switches:

  1. Try a manual upload of the correct firmware file in the SwOS Upgrade tab.
  2. If the upload fails and you have serial console access, choose “p - boot primary SwOS” in the boot menu, then retry the upload. On the CRS309, the console settings are 115200 baud, 8 data bits, 1 stop bit, no parity and no flow control.
  3. If you have no serial console access, use the reset button to boot RouterOS. This resets the RouterOS configuration.
  4. In RouterOS, run /system swos upgrade. It needs Internet access.
  5. On RouterOS 7.17 or later, if the upgrade or switch is blocked, run /system/device-mode/update routerboard=yes and confirm it.
  6. After the SwOS upgrade succeeds, set boot-os=swos and reboot, as in the steps above.

The same page notes that cross-series firmware files “are not interchangeable and will be rejected or cause a boot failure.”

Evidence and limits

This comparison is documentary. Facts come from MikroTik’s RouterOS manual pages (shown as version 7.26), MikroTik’s SwOS manual for CRS3xx and CSS3xx switches, and the CRS305-1G-4S+IN and CRS309-1G-8S+IN product pages, all checked on 2026-11-26. The commands and steps were not run on a switch for this page.

Browse all Homelab Switch guides or the topics page for other switching subjects.

Sources

  1. MikroTik RouterOS Manual: CRS3xx and CSS3xx Series Manual (SwOS)
  2. MikroTik RouterOS Manual: Introduction to SwitchOS (SwOS)
  3. MikroTik RouterOS Manual: Cannot upgrade SwOS
  4. MikroTik Documentation, SwOS: CRS3xx and CSS3xx series Manual
  5. MikroTik RouterOS Manual: Marvell Prestera switch chip features
  6. MikroTik RouterOS Manual: L3 Hardware Offloading
  7. MikroTik RouterOS Manual: Device mode
  8. MikroTik: CRS305-1G-4S+IN product page
  9. MikroTik: CRS309-1G-8S+IN product page

Related