![Lantronix 4120 Series User Manual Download Page 48](http://html2.mh-extra.com/html/lantronix/4120-series/4120-series_user-manual_4573543048.webp)
Lantronix
x4120 User Guide
33551 Rev. C
Page
48
of
142
Transfer Files via Serial Protocol (X/Y/Zmodem) – CLI Method
Use the
serial (get|put|upgrade) protocol=(xmodem|xmodem-1k|ymodem|zmodem)
commands to
transfer a file over a serial line. These commands can only be entered at the device level (e.g., when the
command line prompt is C1|S8|L1P1> or similar). These commands function like the TFTP download
function; technical support can download configuration files and firmware files through the x4120 USB
port by entering the corresponding CLI commands. If the serial file transfer causes HyperTerminal (HT) to
have problems recognizing ION CLI commands, type q and press Enter, and then log back in to HT.
General Usage
:
serial
(get|put|upgrade)
protocol
=(xmodem|xmodem-1k|ymodem|zmodem)
file
=FILE%s
Perform this procedure to upgrade the x4120 firmware from the CLI.
1. Access the IONMM through either a USB connection or a Telnet session.
2. Sends a request to the server / local file system to download content for a subsequent
put
command.
Type
serial get protocol zmodem file=xxxx
and press
Enter
.
3. Send a request to the server / local file system to upload content.
Type
serial put protocol zmodem file=xxxx
and press
Enter
.
4. Perform a firmware upgrade over the selected serial line.
Type
serial upgrade protocol zmodem file=xxxx
and press
Enter
.
For example:
C1|S1|L1D>
serial ?
get
put
upgrade
C1|S1|L1D>
serial get protocol zmodem file=xxxx
Warning: the input file name will be ignored when using ymodem/zmodem to retrieve
file!
now start to transfer the file ...
ŠCCCCCCCCCCCBB0BB0BB0BB0BB0BB0BB0BB0BB0
BB0BB0BB0BB0BB0
file transfer failed!
C1|S1|L1D>
serial put protocol zmodem file=xxxx
now start to transfer the file ...
Šlsz: cannot open /tftpboot/xxxx: No such file or directory
BB0BB0BB0
BB0BB0
Can't open any requested files.
BB0BB0BB0BB0BB0
file transfer failed!
C1|S1|L1D>
serial upgrade protocol zmodem file=xxxx
now start to transfer the file ...
**B000000063f694ceive.**B000000063f694
CCCCCCCCCCCBB0BBBB0BBBB0BBBB0BB0BB0BB0BB0
file transfer failed!
C1|S1|L1D>