Difference between revisions of "Manual:System/LEDS"

From MikroTik Wiki
Jump to: navigation, search
m (Configuration Properties)
Line 65: Line 65:
 
{{Mr-arg-table-end
 
{{Mr-arg-table-end
 
|arg=type
 
|arg=type
|type=ap-cap{{!}} flash-access {{!}} interface-activity {{!}} interface-receive {{!}} interface-speed {{!}} interface-status {{!}} interface-transmit {{!}} modem-signal {{!}} poe-out {{!}} wireless-signal-strength {{!}} wireless-status
+
|type=ap-cap{{!}} flash-access {{!}} interface-activity {{!}} interface-receive {{!}} interface-speed {{!}} interface-status {{!}} interface-transmit {{!}} modem-signal {{!}} off {{!}} on {{!}} poe-out {{!}} wireless-signal-strength {{!}} wireless-status
 
|default=
 
|default=
 
|desc=Type of the status:
 
|desc=Type of the status:
Line 72: Line 72:
 
* <var>interface-activity</var> - blink the led on interface (traffic) activity
 
* <var>interface-activity</var> - blink the led on interface (traffic) activity
 
* <var>interface-receive</var> - blink the led on interface received traffic
 
* <var>interface-receive</var> - blink the led on interface received traffic
* <var>interface-speed</var> -  
+
* <var>interface-speed</var> - light the led when interface works in 10Gbit rate
 
* <var>interface-status</var> - light the led on interface status change
 
* <var>interface-status</var> - light the led on interface status change
 
* <var>interface-transmit</var> - blink the led on interface transmitted traffic
 
* <var>interface-transmit</var> - blink the led on interface transmitted traffic
 
* <var>modem-signal</var> - blink the led on 3G modem signal (eiher USB or miniPCIe)
 
* <var>modem-signal</var> - blink the led on 3G modem signal (eiher USB or miniPCIe)
* <var>poe-out</var>
+
* <var>off</var> - turn off the led
 +
* <var>on</var> - turn on the led
 +
* <var>poe-out</var> - light the led when interface PoE out turns on
 
* <var>wireless-signal-strength</var> - light the leds displaying wireless signal (requires more than one led)
 
* <var>wireless-signal-strength</var> - light the leds displaying wireless signal (requires more than one led)
 
* <var>wireless-status</var> - light the led on wireless status change.
 
* <var>wireless-status</var> - light the led on wireless status change.

Revision as of 15:13, 5 October 2016

Version.png

Applies to RouterOS: v5 +


Summary

Sub-menu: /system leds
Standards:


RouterOS allows to configure each leds activity the way that user wishes. It is possible to configure the leds to display wireless strength, blink the leds on interface traffic activity and many other options.

For example default led configuration on Groove

[admin@MikroTik] /system leds> print 
Flags: X - disabled 
 #   TYPE                     INTERFACE                   LEDS                 
 0   wireless-signal-strength                             led1                 
                                                          led2                 
                                                          led3                 
                                                          led4                 
                                                          led5                 
 1   interface-activity       ether1                      user-led     

RB Groove uses five leds for wireless strength and one for ethernet activity monitoring.

Configuration Properties

Property Description
disabled (yes | no; Default: no) Whether item is disabled
interface (string; Default: ) Name of the interface which will be used for led status. Applicable only if type is interface specific.
modem-signal-treshold (integer [-113..-51]; Default: ) Applicable if type is modem-signal
leds (list of leds; Default: ) List of led names used for status report. For example wireless signal strength will require more than one led.
type (ap-cap| flash-access | interface-activity | interface-receive | interface-speed | interface-status | interface-transmit | modem-signal | off | on | poe-out | wireless-signal-strength | wireless-status; Default: ) Type of the status:
  • ap-cap - blink on CAP initialising with CAPsMAN, steady on once connected
  • flash-access - blink the led on flash access
  • interface-activity - blink the led on interface (traffic) activity
  • interface-receive - blink the led on interface received traffic
  • interface-speed - light the led when interface works in 10Gbit rate
  • interface-status - light the led on interface status change
  • interface-transmit - blink the led on interface transmitted traffic
  • modem-signal - blink the led on 3G modem signal (eiher USB or miniPCIe)
  • off - turn off the led
  • on - turn on the led
  • poe-out - light the led when interface PoE out turns on
  • wireless-signal-strength - light the leds displaying wireless signal (requires more than one led)
  • wireless-status - light the led on wireless status change.

Basic examples

Enable the User ACT LED to show current CAP status on a RB951

/system leds
add leds=user-led type=ap-cap

Led control via CLI commands for scripting purposes:

  • prior to v6.23 and older releases:
#turn led on
:led led1=yes
#turn led off
:led led1=no
  • v6.23 and newer releases:
#add led entry with specific type "on" or "off" to leds menu
/system leds add leds=led1 type=off
#to control led
/system leds set [find where leds="led1"] type=on
or
/system leds set [find where leds="led1"] type=off

[ Top | Back to Content ]