System information

Manual:System/Serial Console
21
[admin@MikroTik] system serial-console> /port print detail
0 name=serial0 used-by=Serial Console baud-rate=9600 data-bits=8 parity=none
stop-bits=1 flow-control=none
1 name=serial1 used-by="" baud-rate=9600 data-bits=8 parity=none stop-bits=1
flow-control=none
[admin@MikroTik] system serial-console>
Using Serial Terminal
Command: /system serial-terminal
The command is used to communicate with devices and other systems that are connected to the router via serial port.
All keyboard input is forwarded to the serial port and all data from the port is output to the connected device. Ctrl-A
is the prefix key, which means that you will enter a small "menu" by pressing this combination of keys. The Ctrl-A
character will not be sent to your device! If you need to send Ctrl-A character to remote device, press Ctrl-A twice.
After exiting with Ctrl-A and then Q, the control signals of the port are lowered. The speed and other parameters of
serial port may be configured in the /port directory of router console. No terminal translation on printed data is
performed. It is possible to get the terminal in an unusable state by outputting sequences of inappropriate control
characters or random data. Do not connect to devices at an incorrect speed and avoid dumping binary data.
Property Description
port (string; Default: ) Port name to use
The serial port to be used as a serial terminal needs to be free (e.g., there should not be any serial consoles, LCD or
other configuration). Chack the previous chapter to see how to disable serial console on a particular port. Use /port
print command to see if some other application is still using the port.
Ctrl-A have special meaning and is used to provide a possibility of exiting from nested serial-terminal sessions:
To send Ctrl-A to to serial port, press Ctrl-A Ctrl-A
Note: When rebooting a RouterBoard the bootloader (RouterBOOT) will always use the serial console
(serial0 on RouterBoards) to send out some startup messages and offer access to the RouterBOOT menu.
Having text coming out of the serial port to the connected device might confuse your attached device and get
stuck on boot loader. To avoid this you can reconfigure RouterBOOT to enter the RouterBOOT menu only
when a DEL character is received.
Example
To connect to a device connected to the serial1 port:
[admin@dzeltenais_burkaans] > /system serial-terminal serial0
[Ctrl-A is the prefix key]
[admin@R2] /ip address>