Overview
Readers will leader how to connect to an EdgeSwitch using a RJ45 serial console cable.
NOTES & REQUIREMENTS:
Applicable to the latest EdgeSwitch firmware on all applicable EdgeSwitch models that include console ports. Please see the Related Articles below for more information.
Devices used in this article:
|
Supported Models & Serial Console Settings
The tables below list the EdgeSwitch models that are equipped with a RJ45 serial console port:
|
|
The default serial port settings are listed below:
- Baud rate: 115200
- Data bits: 8
- Parity: NONE
- Stop bits: 1
- Flow control: NONE
NOTE: Some of the earlier EdgeSwitch revisions did not include a console port.
|
Connecting to Serial Console
A USB-to-Serial adapter will be used to connect to the console port of the EdgeSwitch.
NOTE: In order to connect to the console we will need to use the following items/programs:
|
1. Open the terminal emulator and specify the serial COM line and the baud rate/speed.
Windows Client
Enter the following information in the PuTTY window.
macOS Client
Open Terminal Application and find the serial interface ID.
ls -ltr /dev/*usb*
The serial interface will display as tty
. Example output below:
ls -ltr /dev/*usb*
crw-rw-rw- 1 root wheel 21, 3 Feb 8 15:48 /dev/cu.usbserial-AI038TPF
crw-rw-rw- 1 root wheel 21, 2 Feb 9 08:56 /dev/tty.usbserial-AI038TPF
Use the screen command to connect to console by pasting in the path to the serial interface.
screen /dev/tty.usbserial-AI038TPF 115200
ATTENTION: Replace
/dev/tty.usbserial-AI038TPF with the value given when using the ls -ltr /dev/*usb* command. |
2. Connect to the EdgeSwitch and log in using your credentials.
_____ _
| ____|__| | __ _ ___ (c) 2010-2019
| _| / _ |/ _ |/ _ \ Ubiquiti Networks, Inc.
| |__| (_| | (_| | __/
|_____\__._|\__. |\___| https://www.ui.com
|___/
Welcome to EdgeSwitch!
By logging in, accessing or using Ubiquiti Inc. (UI) products, you
acknowledge that you have read and understood the Ubiquiti Licence
Agreement (available in the WebUI and at https://www.ui.com/eula/)
and agree to be bound by its terms.
User: <username>
Password: <password>
NOTE: The default username and password combination is ubnt/ubnt.
|
3. Press ?
to get a listing of all commands available.
Related Articles
Intro to Networking - How to Establish a Connection Using SSH
EdgeRouter - Connect to Serial Console