System information
Manual:Port
1
Manual:Port
Applies to RouterOS: v5+
Summary
There are many ways how to use ports on the routers. Most obvious one is to use serial port for initial
RouterOS configuration after installation(by default serial0 is used by serial-terminal).
Serial and USB ports can also be used to:
•• connect 3G modems;
•• connect to another device through a serial cable
•• access device connected to serial cable remotely.
General
Sub-menu: /port
Menu lists all available serial, usb, ... ports on the router and allows to configure port parameters, like baud-rate,
flow-control, etc.
Below you can see default port configuration on RB493.
[admin@RB493G] /port> print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 serial-terminal 115200
Note: List of the ports are maintained automatically by the RouterOS.
Properties
Property Description
baud-rate (integer | auto; Default:
auto)
Baud rate (speed) used by the port. If set to auto, then RouterOS tries to detect baud rate automatically.
data-bits (7 | 8; Default: ) The number of data bits in each character.
• 7 - true ASCII
• 8 - any data (matches the size of a byte)
dtr (on | off; Default: ) Whether to enable RS-232 DTR signal circuit used by flow control.
flow-control (hardware | none |
xon-xoff; Default: )
method of flow control to pause and resume the transmission of data.
name (string; Default: ) Name of the port.
parity (even | none | odd; Default: ) Error detection method. If enabled, extra bit is sent to detect the communication errors. In most cases
parity is set to none and errors are handled by the communication protocol.
rts (on | off; Default: ) Whether to enable RS-232 RTS signal circuit used by flow control.
stop-bits (1 | 2; Default: ) Stop bits sent after each character. Electronic devices usually uses 1 stop bit.
Read-only properties