分类目录归档:Router

RouterOS 6.41以后版本基于端口的的VLAN设置方法

RouterOS日常改操作逻辑,尤其是6.41开始原来Switch菜单内容缩水他又改回去了,功能开始移动到Bridge菜单并且自动判断是否开启硬件加速以后,只能说越来越看不懂了。下面简单介绍一个RouterOS新版Bridge菜单的VLAN设置。

为了便于理解,本文统一使用Cisco VLAN记法:

  • 连接非交换设备,需要添加、移除VLAN标记的端口称为access端口;
  • 连接交换设备,不需要操作VLAN标记的端口称为trunk端口。

继续阅读

给MikroTik CRS317-1G-16S+更换静音风扇

近日购得一MikroTik Cloud Router Switch CRS317-1G-16S+。这是一台16口SFP+ 10Gbps交换机,性能将就,价格便宜,是入门款10G交换的不二选择。美中不足的是,这东西主动散热,原厂风扇噪音巨大(非调速扇,据网上资料称40摄氏度就启动,启动以后噪音估计在40-50dB之间)。我要抱着它睡觉呢,怎么能忍受噪声?

CRS326 Motherboard

买来以后拆开一看,它上面有两个4*4mm标准1U小风扇,接口是通用的12V风扇接口(主板上是4pin的,风扇只有3pin)。

CRS326 fan zoomed picture

于是购得两个Noctua NF-A4x20 FLX风扇。这个小扇子的参数很漂亮————满转速5000rpm时只有11dB的噪音。一个大概人民币110元。

和原厂风扇对比:

安装的时候有一点问题,Noctua风扇的螺丝孔比原厂风扇大,所以要么用钻头在机子背面把洞开大,要么想办法穿根铁丝进去将就捆一下。考虑到工程量我选择了后者,用绑线带固定了一下风扇中间下部的两个孔,基本上能固定住。另外注意一下新风扇的线比较硬,盖上盖子的时候不要碰到扇叶。

CRS326 with Noctua fan installed

然后上电测试,几乎听不到噪音,空载CPU温度大约50摄氏度(室温30摄氏度)。猫头鹰风扇果然名不虚传。

CRS326和猫扇盒子合影:
CRS326 outside and Noctua fan retail box

更新Cisco ISR C800系列路由器的MC7700 LTE网卡固件

方法1:用电脑刷

连接电脑,然后在路由器上

enable
configure terminal
service internal
exit
test cell-host 0 usb-to-dm

把路由器的RSVD接口接到电脑上,电脑应该能识别出一个LTE网卡。然后刷机过程和普通Sierra Wireless卡刷机过程基本一致:下载固件,下载驱动,下载刷机程序,按说明操作即可。

方法2:用路由器刷

首先去下载一个cwe固件(选择QMI版本而非DIP),传到路由器的flash上,然后在路由器上执行:

enable
delete /force /recursive flash:fwlogfile
microcode reload cellular 0 0 modem-provision flash:MC7700_ATT_03.05.10.02_00.cwe

命令询问的问题均回车即可。任何一条命令如果报错,请重启然后从头重试。如果一切正常,刷机日志如下:

Router#$odem-provision flash:3.05.20.05_00_generic_000.000_001_SPKG_MC.cwe
Reload microcode? [confirm]
Log status of firmware download in router flash?[confirm]
Firmware download status will be logged in flash:fwlogfile
Microcode Reload Process launched for Cellular 30711788; hw type = 0x6F3
Router#
*****************************************************
 The interface will be Shut Down for Firmware Upgrade 
 This will terminate any active data connections.
*****************************************************
Modem radio has been turned off
*****************************************************
 Modem will be upgraded!
 Upgrade process will take up to 15 minutes. During 
 this time the modem will be unusable.
 Please do not remove power or reload the router during 
 the upgrade process.
*****************************************************
*Mar  3 07:42:21.375: %LINK-5-CHANGED: Interface Cellular0, changed state to administratively down
Sending F/W[3.05.20.05_00_generic_000.000_001_SPKG_MC.cwe] to the card [38717372 bytes]: 
Firmware file: 3.05.20.05_00_generic_000.000_001_SPKG_MC.cwe sent to the card

The current modem F/W App Version: SWI9200X_03.05.10.02AP R4684 CARMD-EN-10527 2012/02/25 11:58:38
The current modem F/W Boot Version: SWI9200X_03.05.10.02BT R4684 CARMD-EN-10527 2012/02/25 11:50:19
The current modem Carrier String: 0
The current modem Device ID: MC7700
The current modem Package Identifier: 
The current modem SKU ID: 
Firmware Upgrade is in Progress...
*Mar  3 07:42:58.163: %CISCO800-2-MODEM_DOWN: Cellular0 modem is now DOWN.
*Mar  3 07:44:34.639: %CISCO800-2-MODEM_DOWN: Cellular0 modem is now DOWN.
F/W Upgrade: Firmware Upgrade has Completed Successfully
*Mar  3 07:45:01.575: %CISCO800-2-MODEM_UP: Cellular0 modem is now UP.

参考资料: