This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)
Mikrotik RouterBoard RB951Ui-2HnD
固 件 版 本
硬件主要参数
固件列表
安装步骤
首次安装
升级安装
Initial setup
Leds
Instructions for setting up LEDs are from 12/2014, but as for v15.05 it seems to be still neccessary to do this. Anyway, please check first if the LEDs are working as desired (plug devices into ethernet ports, check WLAN activity... etc).
Add these lines to /etc/config/system
config led 'act' option trigger 'netdev' option mode 'link tx rx' option sysfs 'rb:green:act' option name 'ACT' option dev 'eth1' option brightness '0' option default '0' config led 'p1' option trigger 'netdev' option name 'Port_1' option sysfs 'rb:green:port1' option dev 'eth0' option mode 'link tx rx' option default '0' config led 'p2' option trigger 'switch0' option name 'Port_2' option sysfs 'rb:green:port2' option port_mask '0x10' option default '0' config led 'p3' option name 'Port_3' option sysfs 'rb:green:port3' option trigger 'switch0' option port_mask '0x8' option default '0' config led 'p4' option name 'Port_4' option trigger 'switch0' option sysfs 'rb:green:port4' option port_mask '0x4' option default '0' config led 'p5' option name 'Port_5' option sysfs 'rb:green:port5' option trigger 'switch0' option port_mask '0x2' option default '0' config led 'wlan' option sysfs 'rb:green:wlan' option name 'WLAN' option trigger 'phy0tpt' option default '0'
There is a red LED on port 5, which seems to be some indication of PoE (apparently enabled by default). You can turn the LED off (PoE will continue supplying power over port 5, even without the red LED on) with the following command. You can put it in /etc/rc.local
echo 0 > /sys/devices/virtual/gpio/gpio2/value
Built in ethernet switch
In /etc/config/network, add these lines to enable the built-in ethernet switch between ports 2..5.
config switch 'eth1' option enable '1'
Example VLAN configuration for switch ports
In /etc/config/network, add these lines to enable the switch, and create 2 vlan interfaces (eth1.11 and eth1.12). The first for ports 5 and 4, and the later for ports 3 and 2. Port 1 on the router is eth0.
config switch 'eth1' option enable '1' option enable_vlan '1' config switch_vlan option device 'eth1' option vlan '11' option vid '11' option ports '0t 1 2' config switch_vlan option device 'eth1' option vlan '12' option vid '12' option ports '0t 3 4'
References
Helpfull info:
- http://www.lan23.ru/forum/showthread.php?t=10780 (HowTo on Russian)
patchworks.openwrt.org is not working since ~2015, the following URL will not work anymore, but you may be interested in URLs pointing to it for the history of dev. on this routerboard.