In the event that network plumbing is lacking, down, or unconfigured for procuring devices then it is recommended to use the Serial/COM ports on the spine and leaf switches.
This guide will instruct the user on procuring MAC addresses for the NCNs metadata files with the serial console.
Mileage may vary, as some obstacles such as BAUDRATE and terminal
usage vary per manufacturer.
(click any for links to support/document portals)
This will involve using a preferred utility (minicom
, screen
, or cu
) for connecting to your
switches console.
At this time it is assumed you have connected your USB-DB-9 or USB-RJ-45 cable between your switch and your NCN.
screen /dev/ttyUSB1
screen /dev/ttyUSB1 115200
minicom -b 9600 -D /dev/ttyUSB1
minicom -b 115200 -D /dev/ttyUSB1
cu -l /dev/ttyUSB1 -s 115200
On Mellanox switches if the console is not responding when opened try holding CTRL
+ R
(or control + R
for macOS) to initiate a screen refresh. This should take 5-10 seconds.
If you cannot see your device in /dev/tty*
then follow dmesg -w
and try reseating your USB cable (unplug the end in the NCN, and plug it back in). Observe the dmesg -w
output, does it show errors pertaining to USB? The cable may be bad, or you may need to reboot.