How to test RJ45 serial ports using a loopback plug
Each new unit that ships includes an accessory box which will contain one or two loopback plugs appropriate for the model's hardware:
- Yellow: Cisco pinout
- Red: Legacy pinout
These loopback plugs are helpful for determining if a serial port has failed or is experiencing errors. It does this by routing output signals from the port to the appropriate input signal pins. By using doing this test, you remove external factors like the settings, cabling, adapters, and target device to narrow down the possible cause of a serial port connection issue. There are two tests which can be done:
Echo test:
This test will let you send a larger amount of data and can be done without affecting the other ports.
- Unplug any cabling currently connected to the port in question
- Plug in the appropriate loopback plug based on pinout
- Navigate to the Access tab
- Click the Console link for the port in question
- In the new tab, type any printable characters and monitor the output
- The expected result is to see the same characters echoed back on the screen.
Signal test:
This test will verify the signals are able to be sent and received in addition to passing normal data.
- Disable the serial port(s) to be tested in Device Manager
- Unplug any cabling currently connected to the port in question
- Plug in the appropriate loopback plug based on pinout
- Log into the admin CLI
- Access the root shell using: shell sudo su -
- Run the test using: nsc_hwtst.sh -s
- Note: Ports which do not have loopback plugs will show errors; this is normal.
- The expected result is that the port is question is not listed in the output.
- Re-enable the serial port(s) in Device Manager
Related Articles
Power Control within Serial Session
Nodegrid Serial Console features the Power Control integration which gives authorized users the ability to power on, power off and reset/reboot the serial devices, within the serial session, by using an escape character (default escape character is ...
How to build the set-up for Virtual Serial Ports communicating to an end device, via the Nodegrid OS
Abstract: In the industry, some legacy applications impose to use serial ports (COM) to interface with the industrial automates. In this article, we will study a set-up in which a desktop emulates a virtual serial COM, and conveys the connection via ...
How to Configure Nodegrid Serial Ports
To configure the serial ports of your Nodegrid Serial Console, follow the guideline steps below. WebUI Log in as admin to the Nodegrid Serial Console Web interface. Go to Managed Devices page. Select the serial ports you want to configure, or check ...
How to Telnet and SSH to the Nodegrid Serial Ports
Note: by default, Telnet access is turned off with your Nodegrid Serial Console. Authorized users can use Telnet or SSH to connect directly to the console of a managed device if all of the following are true: Telnet / SSH protocol is enabled under ...
Nodegrid Serial Console: Pinouts, Cables and Connectors
The tables below show the serial port pinout information of the NSC TxxR (Cisco Pinout) and NSC Txx (Legacy Pinout). NSC TxxR - Cisco-like Pinout Pin Signal Name Input/Output 1 CTS IN 2 DCD IN 3 RxD IN 4 GND N/A 5 GND N/A 6 TxD OUT 7 DTR OUT 8 RTS ...