MikroTik RouterOS Script Generator
Select your device, pick your task, and generate a clean, fixed-template script ready to paste into Terminal. Supports both RouterOS v6 and RouterOS v7.
1. Configuration Parameters
Choose your model or select custom device to name your export.
RouterOS Version
Station-Bridge (CPE) Options
Upstream AP Vendor Type
Management IP Mode
2. Generated RouterOS Script
⚠️
Review before running. Press Ctrl+X in Terminal first to enable Safe Mode so the router reverts if you lose access.
Quick backup tip:
Quick backup tip:
/export file=backup
mikrotik_station_bridge.rsc
# Click "Generate script (.rsc)" to produce your RouterOS commands.
How to apply this script:
- Open WinBox and connect to the device.
- Click New Terminal in the left menu.
- Press Ctrl+X to enter Safe Mode (the prompt will show
[Safe Mode]). - Paste the generated script directly into the terminal window.
- Check the terminal output for any red error lines.
- Check IP > Addresses and Interfaces in WinBox to confirm the new configuration.
- Exit Safe Mode by pressing Ctrl+X only after confirming you still have stable access.
Supported MikroTik Hardware Reference
All MikroTik devices run RouterOS. Choose an individual model page for hardware specifications, default IPs, and recovery advice.
MikroTik SXT 5 ac
CPE
5 GHz 802.11ac 16 dBi integrated antenna for subscriber drops.
Default IP: 192.168.88.1
MikroTik LHG 5
CPE
24.5 dBi grid dish antenna for wind-resistant long range links.
Default IP: 192.168.88.1
MikroTik NetMetal 5
CPE
Waterproof metal case, high-power radio with RP-SMA connectors.
Default IP: 192.168.88.1
MikroTik hEX S
Router
5 Gigabit ports, SFP cage, dual-core 880 MHz CPU with IPsec.
Default IP: 192.168.88.1
MikroTik hAP ax2
Router
Dual-band Wi-Fi 6 (802.11ax), PoE-in / PoE-out on Gigabit ports.
Default IP: 192.168.88.1
MikroTik CCR2004
Router
Quad-core 64-bit ARM CPU, 16 Gigabit ports, dual 10G SFP+.
Default IP: 192.168.88.1