/system routerboard print or the MikroTik wiki for your exact RouterOS version before relying on them in production.| Model | CPU | RAM / Storage | Ports | Power | Best For |
|---|---|---|---|---|---|
| RB4011iGS+RM | AL21400 quad-core Cortex-A15, 533–1900 MHz | 1 GB / 512 MB NAND | 10× Gigabit Ethernet + 1× SFP+ (10G) | PoE-in (passive 18–57V), PoE-out on port 10, DC jack 12–57V, ~33W max | Branch/office edge router needing a 10G uplink, fanless 1U rackmount |
| RB5009UG+S+IN | 88F7040 ARM64 quad-core, 350–1400 MHz | 1 GB DDR4 / 1 GB NAND | 7× Gigabit + 1× 2.5G Ethernet + 1× SFP+ (10G) | PoE-in on port 1 (802.3af/at, 24–57V), DC jack, 2-pin terminal, ~25W max | Home-lab / small-office router — 10G uplink, 2.5G LAN trunk, USB3 |
| L009UiGS-RM | IPQ-5018 dual-core ARM, 800 MHz | 512 MB / 128 MB NAND | 8× Gigabit Ethernet + 1× 2.5G SFP | PoE-in on ether1 (802.3af/at, 24–56V), PoE-out on ether8, DC jack, ~40W max | Budget access-layer / RB2011 replacement, PoE passthrough to an AP or camera |
user: admin password: (blank)
/system reset-configuration
/system reset-configuration no-defaults=yes
/system identity set name=edge-rb5009
/system clock set time-zone-name=Asia/Colombo
Ctrl+X (toggles Safe Mode in CLI/terminal)
/system routerboard print
/system resource print
/system package update check-for-updates
/system package update install
/user add name=netops group=full password=...
/user print
/interface bridge add name=bridge1
/interface bridge port add bridge=bridge1 interface=ether2
/interface bridge print
/interface bridge set bridge1 vlan-filtering=yes
/interface bridge vlan add bridge=bridge1 vlan-ids=10 tagged=ether1 untagged=ether2
/interface vlan add name=vlan20 interface=bridge1 vlan-id=20
/ip address add address=192.168.20.1/24 interface=vlan20
/interface ethernet print
/interface ethernet set ether5 disabled=yes
/interface ethernet monitor ether1
/interface bonding add name=bond1 slaves=ether1,ether2 mode=802.3ad
/ip neighbor print
/ip address add address=10.0.0.1/24 interface=vlan20
/ip address print
/ip pool add name=pool20 ranges=10.0.0.10-10.0.0.200
/ip dhcp-server add name=dhcp20 interface=vlan20 address-pool=pool20
/ip dhcp-server network add address=10.0.0.0/24 gateway=10.0.0.1 dns-server=1.1.1.1
/ip dhcp-client add interface=ether10 disabled=no
/ip dhcp-server lease print
/ip dhcp-server lease make-static [find address=10.0.0.50]
/ip dns set servers=1.1.1.1,8.8.8.8 allow-remote-requests=yes
/interface ethernet set ether2 arp=reply-only
/ip route add dst-address=0.0.0.0/0 gateway=203.0.113.1
/ip route add dst-address=10.10.0.0/16 gateway=10.0.0.254 distance=1
/ip route print
/ip route add dst-address=0.0.0.0/0 gateway=WAN1-IP distance=1
/ip route add dst-address=0.0.0.0/0 gateway=WAN2-IP distance=2
/ip route add dst-address=192.0.2.0/24 type=blackhole
/ip firewall mangle add chain=prerouting src-address=10.0.0.0/24 action=mark-routing new-routing-mark=via-wan2
/ip route add dst-address=0.0.0.0/0 gateway=WAN2-IP routing-mark=via-wan2
/routing ospf instance add name=core
/routing ospf area add name=backbone instance=core area-id=0.0.0.0
/routing ospf interface-template add interfaces=vlan20 area=backbone
/routing bgp connection add name=isp1 remote.address=203.0.113.1 remote.as=65001 local.role=ebgp
/ip firewall filter add chain=input connection-state=established,related action=accept
/ip firewall filter add chain=input connection-state=invalid action=drop
/ip firewall filter add chain=input in-interface=ether10 action=drop
/ip firewall filter add chain=forward connection-state=established,related action=accept
/ip firewall filter add chain=forward connection-state=invalid action=drop
/ip firewall filter add chain=forward action=drop
/ip firewall nat add chain=srcnat out-interface=ether10 action=masquerade
/ip firewall nat add chain=dstnat protocol=tcp dst-port=443 in-interface=ether10 action=dst-nat to-addresses=10.0.0.50 to-ports=443
/ip firewall address-list add list=blocked address=198.51.100.0/24
/ip firewall filter add chain=forward src-address-list=blocked action=drop
/ip firewall filter add chain=input protocol=tcp dst-port=8291,22,443 src-address-list=trusted-admins action=accept place-before=0
/ip firewall filter print
/ip firewall filter move [find comment="drop-invalid"] destination=0
/interface wireguard add name=wg1 listen-port=13231
/ip address add address=10.99.0.1/24 interface=wg1
/interface wireguard peers add interface=wg1 public-key="..." allowed-address=10.99.0.2/32 endpoint-address=203.0.113.5 endpoint-port=13231
/ip ipsec profile add name=p1 dh-group=modp2048
/ip ipsec peer add name=hq address=203.0.113.9 profile=p1
/ip ipsec proposal add name=prop1 enc-algorithms=aes-256-cbc
/ip ipsec policy add peer=hq src-address=10.0.0.0/24 dst-address=10.1.0.0/24 proposal=prop1
/interface l2tp-server server set enabled=yes use-ipsec=yes ipsec-secret=preshared-key
/ppp secret add name=user1 password=... service=l2tp local-address=10.5.0.1 remote-address=10.5.0.2
/queue simple add name=lan-limit target=10.0.0.0/24 max-limit=100M/100M
/queue type add name=sfq-download kind=sfq
/queue tree add name=download parent=global-out queue=sfq-download max-limit=500M
/system backup save name=pre-change-2026-07-03
/system backup load name=pre-change-2026-07-03
/export file=running-config
/export compact file=running-config-compact
Ctrl+X in terminal before disconnecting (Safe Mode auto-revert)
/system backup load name=pre-change-2026-07-03
/system routerboard upgrade
/system reboot
/system scheduler add name=nightly-backup on-event="/system backup save name=auto" interval=1d
/ping 8.8.8.8 count=5
/tool traceroute 8.8.8.8
/interface monitor-traffic ether10
/tool torch interface=ether2
/tool bandwidth-test address=10.0.0.2 direction=both
/log print
/system logging add topics=firewall action=memory
/ip firewall filter add chain=forward action=log log-prefix="FWD-DENY"
/ip firewall connection print
/ip firewall connection tracking print
/system health print
/system resource cpu print
| Symptom | Likely Cause / Fix |
|---|---|
| Locked out after firewall change | reconnect via serial console or WinBox MAC-mode; reload last backup/export |
| VLAN traffic not passing after enabling vlan-filtering | missing bridge vlan table entry for that VLAN — traffic drops silently |
| DHCP clients get no address | check /ip pool has free addresses and dhcp-server network gateway/DNS match the subnet |
| WAN failover route not triggering | missing check-gateway=ping on the primary /ip route entry |
| Port forward not working despite correct NAT rule | forward chain firewall rule still dropping the translated destination — NAT happens before filter evaluation |
| Router unreachable after RouterOS upgrade | RouterBOOT firmware out of sync — run /system routerboard upgrade then reboot |
| Command / Action | Risk |
|---|---|
| /system reset-configuration | destructive wipes all configuration immediately |
| enabling vlan-filtering with an empty vlan table | destructive can drop all bridge traffic instantly |
| /ip firewall filter — reordering rules live | caution can open or close access mid-session; use Safe Mode |
| Netinstall / reflash | destructive erases RouterOS and config unless a backup was exported first |
| /export then /import on a different model | caution interface names (ether count, sfp naming) may not match — review before importing |
| /system backup load | safe non-destructive to reach, but overwrites current running config on load |
/ip firewall filter print where chain=forward
/interface print stats
/ip firewall filter remove [find comment="old-rule"]
/interface ethernet disable ether5