How To Console Router From Terminal Linux

Assuming you already pluged the serial to usb converter to your laptop. Usualy I use screen for doing console on switch or router by using command bellow.
#screen /dev/<console_port> <baud_rate>

how to to determine <console_port> huh ?

Here we go using this command
#dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.929510] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    4.378109] systemd[1]: Starting system-getty.slice.
[    4.378543] systemd[1]: Created slice system-getty.slice.
[    8.786474] usb 3-4.4: FTDI USB Serial Device converter now attached to ttyUSB0

for example it would be
#screen /dev/ttyUSB0 9600

See that the bold letter. for baud rate of course you know what is that!
Oke here we go if you don't remember about baud rate / speed on console port
Standard baud rates include 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 128000 and 256000 bits per second.

Oke that was how to console switch or router from terminal linux.

Update :
Actually there is more feature about screen. if you interested learning more feature about screen on linux you could read my post here
https://andre-networking.blogspot.com/2020/05/more-features-about-screen-command-on.html

Tulis komentar anda... Conversion Conversion Emoticon Emoticon

Thanks for your comment