test(cable, bandwidth, btest.exe)

最後更新: 2024-09-26

目錄


cable-test

 

 * 測試時要 "status: no-link" 才會有意思

# 獲得 nic 的 number (它是由 0 數起)

/interface ethernet> print

# 為 index 是 4 的 port 測試

/interface ethernet> cable-test 4

         name: ether5
       status: no-link
  cable-pairs: line-driver:18,line-driver:17,line-driver:17,line-driver:18

說明

line-driver:18,line-driver:17

...

open:N

# measure the approximate cable length if the cable is unplugged on the other end "no-link"

open:0       # 無插線
open:4       # 插了 4M 長 cable / 線斷在 4M 那位置

 


Bandwidth test Server

 

/tool bandwidth-server> print

                  enabled: yes
             authenticate: yes
  allocate-udp-ports-from: 2000
             max-sessions: 100

/tool bandwidth-server session> print

log:

... system,error,critical login failure for user root via bandwidth-test

Login:

bandwidth-test 要有 winbox, test

 


Bandwidth test Client

 

/tool bandwidth-test

Usage:

/tool bandwidth-test

/tool> bandwidth-test R.R.R.R duration=15s direction=both user=admin

 

 


Window Client(btest.exe)

 

Download: https://mikrotik.com/download

Router 預設有 TCP 版, 所以可以直接使用 TCP 版 (Port 是 2000/tcp)

Tx Size 必須填上, 否則 Start 後沒反應, 預設是 1460

Tx Speed 是用來設定測速的上限, 建議填 100 Mbps 測測先 (注意, 擠塞時有機會斷線)

 

Creative Commons license icon Creative Commons license icon