/port
当前显示英文原文,切换到「中文」可查看译文。
port
RouterOS directory reference for /port.
port
Type: Directory
| Flag | Name | Description |
|---|---|---|
I | inactive | inactive |
| Argument | Type | Description |
|---|---|---|
name | string | |
baud-rate | enum (auto | 50 | 75 | 110 | 134 | 150 | 200 | 300 | 600 | 1200 | 1800 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 500000 | 576000 | 921600 | 1000000 | 1152000 | 1500000 | 2000000 | 2500000 | 3000000 | 3500000 | 4000000) { auto:0, 50:50, 75:75, 110:110, 134:134, 150:150, 200:200, 300:300, 600:600, 1200:1200, 1800:1800, 2400:2400, 4800:4800, 9600:9600, 19200:19200, 38400:38400, 57600:57600, 115200:115200, 230400:230400, 460800:460800, 500000:500000, 576000:576000, 921600:921600, 1000000:1000000, 1152000:1152000, 1500000:1500000, 2000000:2000000, 2500000:2500000, 3000000:3000000, 3500000:3500000, 4000000:4000000 } | |
data-bits | enum (7 | 8) { 7:0, 8:1 } | |
parity | enum (none | odd | even) { none:0, odd:1, even:2 } | |
stop-bits | enum (1 | 2) { 1:1, 2:2 } | |
flow-control | enum (xon-xoff | hardware | none) { xon-xoff:0, hardware:1, none:2 } | |
latency-timer | num | |
rts | enum (off | on) | |
dtr | enum (off | on) |
| Read-only Argument | Type | Description |
|---|---|---|
used-by | string | |
device | string | |
channels | num | |
line-state | multi { array-id, line: enum (dtr | rts | cts | dcd | ri | dsr) { dtr:1, rts:2, cts:5, dcd:6, ri:7, dsr:8 } } |