How to Connect and Configure a USB Serial device on the NodeGrid ?

How to Connect and Configure a USB Serial device on the NodeGrid ?

Overview: 

The Nodegrid OS supports the serial connections via USB as well. In particular, it supports the connections USB - USB Micro, very used on some vendor switches (e.g. Cisco), as alternatives to the RJ45 console ports. 

For the testing, we used this model of cable: https://www.amazon.fr/dp/B089FB2LRW?psc=1&ref=ppx_yo2ov_dt_b_product_details


Configuration:  

First, plug the cable in the Cisco switch, on the USB Mini port. On the Nodegrid side, plug it on a USB port. In this case, we took the first USB port. 

When a USB device is plugged into the NodeGrid USB port, it will detect its type automatically. When the type is Serial, NodeGrid will detect it as usbSx-y (where x is the usb bus and y the usb port).

On the WebUI, go to Managed Devices :: Devices :: usbS1: Access: 



Keep the Type "usb_serialB" at its default value. Mode: set it to 'Enabled'. We keep the Baud Rate to its default (9600). 

Optionally, you can enable the hostname detection and select an Icon corresponding to the vendor (here Cisco). 

Click on Save. 

On the main page, Access: the target device has appeared: 



Complement: 

Via the CLI, login to NodeGrid as admin and check the configuration:

[admin@nodegrid /]# show /settings/devices/

There should be a new device with usb_local type, for example, usbS1-4. Then list its configuration: 

[admin@nodegrid /]# show /settings/devices/usbS1-4/access

...

allow_ssh_protocol = yes

allow_telnet_protocol = yes

telnet_port = 7049

...

Telnet may be disabled. Try enabling it:

[admin@nodegrid /]# set /settings/services enable_telnet_service_to_managed_devices=yes

[+admin@nodegrid /]# commit

 

Then you should be able to 'telnet nodegrid 7049' or 'ssh -l user:7049 nodegrid'


    • Related Articles

    • Nodegrid Boot from USB media

      Nodegrid Boot from USB media Overview In some cases, it might be required to recover a Nodegrid unit. The Nodegrid platform offers different methods for this one is to create a USB boot media. This can be used to recover a unit if no or limited ...
    • USB Passthrouh Feature - Nodegrid

      USB Passthrouh This feature requires the latest USB controller, currently available on new NSR USB modules "year 2021 and later. It is also available on newer models of BSR and GSR. New models for BSR and GSR that support 5G with 5 Antenna holes will ...
    • 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 ...
    • Deleting extra USB port for quad Uart

      Introduction: When using the USB connections for serial access, with a quad UART only a few ports are used. It is a good idea to remove extra ports defined so that extra licenses can be freed. For the quad UART 4 licenses are used when it is ...
    • 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 ...