Skip to content
MikroTik RouterOS Docs

LEDs

For the impatient: configure LED for interface activity.

# Show available LEDs
/system/leds/print
# Set LED to show interface activity
/system/leds/add leds=user-led interface=ether1 type=interface-activity

Turn off all LEDs (dark mode):

/system/leds/settings/set all-leds-off=immediate

What this does: RouterOS allows configuring each LED’s behavior to display interface activity, wireless signal strength, modem signal, or custom on/off states controlled by scripts.

When to use this:

  • Indicating network activity on specific interfaces
  • Displaying wireless or LTE signal strength
  • Creating an “internet connected” indicator
  • Reducing light pollution with dark mode
  • Custom status indicators via scripts

Prerequisites:

  • Device with configurable LEDs (most RouterBOARDs)
  • Knowledge of available LED names on your device
TypeDescription
interface-activityBlinks on interface traffic (TX/RX)
interface-receiveBlinks on incoming traffic only
interface-transmitBlinks on outgoing traffic only
interface-speedIndicates link speed
interface-speed-1GOn when link is 1 Gbps
interface-statusOn when interface is up
wireless-statusOn when wireless is enabled
wireless-signal-strengthMultiple LEDs show signal level
modem-signalMultiple LEDs show LTE/modem signal
modem-technologyIndicates modem connection type
flash-accessBlinks on flash/disk access
poe-outIndicates PoE output status
poe-faultIndicates PoE fault
fan-faultIndicates fan failure
ap-capCAPsMAN managed AP indicator
onLED always on
offLED always off

View LEDs on your device:

/system/leds/print

Example output:

Flags: X - disabled
# LEDS TYPE INTERFACE
0 user-led interface-activity ether1
1 led1 wireless-signal-strength wlan1

Set an LED to show interface activity:

/system/leds/set [find leds=user-led] type=interface-activity interface=ether1

Or add a new configuration:

/system/leds/add leds=user-led type=interface-activity interface=ether1
/system/leds/print

Show traffic on a specific interface:

/system/leds/add leds=user-led interface=ether1 type=interface-activity

Display WiFi signal using multiple LEDs:

/system/leds/add leds=led1,led2,led3,led4,led5 interface=wlan1 type=wireless-signal-strength

More LEDs light up as signal strength increases.

Configure LEDs for LTE signal indication:

/system/leds/add leds=led1,led2,led3,led4,led5 interface=lte1 \
type=modem-signal modem-signal-treshold=-91

Signal range [-91..-51] is divided among LEDs:

  • First LED: Signal above -91 dBm
  • Last LED: Signal at -51 dBm (excellent)

Use Netwatch to control LED based on internet connectivity:

Step 1: Create LED configuration

/system/leds/add leds=user-led type=on disabled=no

Note the entry number (e.g., 0).

Step 2: Configure Netwatch

/tool/netwatch/add host=8.8.8.8 interval=10s \
up-script="/system/leds/set 0 disabled=no" \
down-script="/system/leds/set 0 disabled=yes"

LED turns off when internet is unreachable.

Reduce light pollution:

/system/leds/settings/set all-leds-off=immediate

Options:

  • never: LEDs always on (default)
  • immediate: Turn off immediately
  • after-1min: Turn off after 1 minute idle
  • after-1h: Turn off after 1 hour idle

Toggle LED on/off via script:

# Turn LED on
/system/leds/set [find leds=user-led] type=on disabled=no
# Turn LED off
/system/leds/set [find leds=user-led] disabled=yes

Toggle LED with the mode button:

Step 1: Create toggle script

/system/script/add name=led-toggle source={
:local entry [/system/leds/find leds=user-led]
:local state [/system/leds/get $entry disabled]
/system/leds/set $entry disabled=(!$state)
}

Step 2: Assign to mode button

/system/routerboard/mode-button/set enabled=yes on-event=led-toggle

Show when link is at specific speed:

/system/leds/add leds=led1 interface=ether1 type=interface-speed-1G

LED lights when interface is running at 1 Gbps.

Indicate PoE output on a port:

/system/leds/add leds=poe-led interface=ether5 type=poe-out

Confirm LED configuration:

/system/leds/print

Expected: LEDs listed with correct type and interface.

/system/leds/settings/print

Expected: all-leds-off setting as configured.

Temporarily set LED to on:

/system/leds/set [find leds=user-led] type=on disabled=no

Verify LED illuminates, then restore original config.

SymptomCauseSolution
LED not respondingEntry disabledSet disabled=no
No LEDs listedDevice has no configurable LEDsCheck device specifications
Dark mode not workingDevice doesn’t support featureNot all hardware supports dark mode
Signal LEDs all offInterface not specified or downVerify interface name and status
Activity LED always onConstant traffic on interfaceNormal behavior; try different interface
LED command not foundWrong LED nameCheck available LEDs with /system/leds/print
/system/leds/print

Use exact LED names from this output.

For interface-based LEDs:

/interface/print where name=ether1

Ensure interface exists and is running.

Common Mistakes

  • Wrong LED name - LED names are device-specific; check with print first
  • Missing interface - Activity/speed types require interface property
  • Disabled entry - Setting type=off vs disabled=yes are different; disabled hides the entry
  • Dark mode on unsupported device - Some devices can’t turn off all LEDs due to hardware design
Device TypeDark Mode Support
CRS305, CRS309, CRS317Full
RB5009, RB4011Full
hAP seriesPartial (some LEDs)
cAP seriesPartial
NetMetal, LHG seriesFull
SXT, Cube, LDF seriesFull
hEX, hAP litePartial
  • Netwatch - trigger LEDs based on host availability
  • Scheduler - custom LED control scripts
CommandDescription
/system/leds/printView LED configurations
/system/leds/addAdd LED configuration
/system/leds/setModify LED configuration
/system/leds/removeRemove LED configuration
/system/leds/settings/printView global LED settings
/system/leds/settings/setModify global settings
PropertyTypeDefaultDescription
ledsstring-LED name(s) to control
typeenum-LED behavior type
interfacestring-Interface for activity/status types
modem-signal-tresholdinteger-91Threshold for modem signal (-113..-51)
disabledyes/nonoDisable this LED entry
PropertyTypeDefaultDescription
all-leds-offenumneverDark mode: never/immediate/after-1min/after-1h
TypeRequires InterfaceMultiple LEDsDescription
interface-activityYesNoTX/RX traffic blink
interface-receiveYesNoRX traffic only
interface-transmitYesNoTX traffic only
interface-speedYesNoLink speed indicator
interface-speed-1GYesNoOn at 1 Gbps
interface-statusYesNoOn when link up
wireless-signal-strengthYesYesSignal bars
modem-signalYesYesLTE signal bars
onNoNoAlways on
offNoNoAlways off