Netopia CLI 874 manual Default count is 5, and the default timeout is

Models: CLI 874

1 207
Download 207 pages 55.4 Kb
Page 117
Image 117

Motorola Netopia® Router CLI Commands 2-105

The default count is 5, and the default timeout is 0.

receive tftp config [server-name file-name]

This command allows you to initiate a configuration file upload from the command line interface. If the TFTP server name and config file name were set previously, either by a previous invocation of this command or via the menu console, then you do not need to supply the server and file name. If the upload is successful, the router will automatically reboot. If the upload is unsuccessful, in menu mode you can go to:

Main

Menu

for information about what went wrong.

Statistics &

Logs

Device Event

History

receive tftp [ wan { 1 2 }] firmware [server-name[file-name]]

This command allows you to receive a firmware file that is located remotely on a TFTP server into the router by means of a TFTP file transfer.

The wan 1 and wan 2 options allow you to specify that the firmware upgrade is to be sent one of the WAN interface modules. As with the regular receive tftp firmware comand, server-nameand file-nameare optional if they are already specified. If server-nameor file-nameare not already specified, it is necessary to specify them. (Specifying them with this command will set them.)

send tftp config [server-name file-name]

The configuration file will be stored on the TFTP server as a binary image. Note that the file must already exist on the server and be writable.

show tftp last error

An empty string indicates no error. Other possible return values are: File not found, Unauthorized, Disk Full, Illegal Operation, Bad TID, File Already Exists, No Such User, and Unknown Error.

show tftp status

The possible return values are: Idle, Reading Firmware, Reading Wanlet Firmware, Reading Config, Writing Config, Idle, **TRANSFER FAILED**.

receive xmodem [ wan { 1 2 }] firmware

This command allows you to receive a firmware file that is located locally into the router by means of an XMODEM file transfer.

The wan 1 and wan 2 options allow you to specify that the firmware upgrade is to be sent one of the WAN interface modules.

The underlying routine that is invoked blocks until either the file has been successfully received or some condition caused the transfer to abort. Therefore when this command is invoked the following will appear:

Page 117
Image 117
Netopia CLI 874 manual Default count is 5, and the default timeout is