Page 216 / 285 Scroll up to view Page 211 - 215
17-14
Firmware and Configuration Maintenance
FTP Session Example of Firmware File Upload
Figure 17-15 FTP Session Example of Firmware File Upload
More commands (found in third party FTP clients), are listed earlier in this chapter.
Refer to the
TFTP and FTP over WAN Will Not Work When
section to read about configurations that
disallow TFTP and FTP to work over WAN.
17.4.3 TFTP File Upload
The Prestige also supports the uploading of firmware files using TFTP (Trivial File Transfer Protocol) over
LAN. Although TFTP should work over WAN as well, it is not recommended.
To use TFTP, your computer must have both telnet and TFTP clients. To transfer the firmware and the
configuration file, follow the procedure shown next.
Step 30.
Use telnet from your computer to connect to the Prestige and log in. Because TFTP does not
have any security checks, the Prestige records the IP address of the telnet client and accepts
TFTP requests only from this address.
Step 31.
Put the SMT in command interpreter (CI) mode by entering 8 in
Menu 24 – System
Maintenance
.
Step 32.
Enter the command “sys stdio 0” to disable the console timeout, so the TFTP transfer will not
be interrupted. Enter “command sys stdio 5” to restore the five-minute console timeout (default)
when the file transfer is complete.
Step 33.
Launch the TFTP client on your computer and connect to the Prestige. Set the transfer mode to
binary before starting data transfer.
331 Enter PASS command
Password:
230 Logged in
ftp> bin
200 Type I OK
ftp> put firmware.bin ras
200 Port command okay
150 Opening data connection for STOR ras
226 File received OK
ftp: 1103936 bytes sent in 1.10Seconds 297.89Kbytes/sec.
ftp> quit
Page 217 / 285
Firmware and Configuration Maintenance
17-15
Step 34.
Use the TFTP client (see the example below) to transfer files between the Prestige and the
computer. The file name for the firmware is “ras”.
Note that the telnet connection must be active and the Prestige in CI mode before and during the TFTP
transfer. For details on TFTP commands (see following example), please consult the documentation of your
TFTP client program. For UNIX, use “get” to transfer from the Prestige to the computer, “put” the other
way around, and “binary” to set binary transfer mode.
TFTP Upload Command Example
The following is an example tftp command:
TFTP [-i] host put firmware.bin ras
where “i” specifies binary image transfer mode (use this mode when transferring binary files), “host” is the
Prestige’s IP address, “put” transfers the file source on the computer (firmware.bin – name of the firmware
on the computer) to the file destination on the remote host (ras - name of the firmware on the Prestige).
Commands that you may see in third party TFTP clients are listed earlier in this chapter.
17.4.4 Uploading Via Console Port
FTP or TFTP are the preferred methods for uploading firmware to your Prestige. However in the event of
your network being down, uploading files is only possible with a direct connection to your Prestige via the
console port. Uploading files via the console port under normal conditions is not recommended since FTP
or TFTP is faster. Any serial communications program should work fine; however, you must use the
Xmodem protocol to perform the download/upload.
Uploading a Firmware File Via Console Port
Step 1.
Select 1 from Menu 24.7 – System Maintenance – Upload Firmware to display Menu 24.7.1 -
System Maintenance - Upload Router Firmware, and then follow the instructions as shown in
the following screen.
Page 218 / 285
17-16
Firmware and Configuration Maintenance
Figure 17-16 Menu 24.7.1 as seen using the Console Port
Step 2.
After the "Starting Xmodem upload" message appears, activate the Xmodem protocol on your
computer. Follow the procedure as shown previously for the HyperTerminal program. The
procedure for other serial communications programs should be similar.
Example Xmodem Firmware Upload Using HyperTerminal
Step 1.
Click
Transfer
, then
Send File
to display the following screen.
Figure 17-17 Example Xmodem Upload
Step 2.
After the firmware upload process has completed, the Prestige will automatically restart.
Menu 24.7.1 - System Maintenance - Upload Router Firmware
To upload router firmware:
1. Enter "y" at the prompt below to go into debug mode.
2. Enter "atur" after "Enter Debug Mode" message.
3. Wait for "Starting XMODEM upload" message before activating
Xmodem upload on your terminal.
4. After successful firmware upload, enter "atgo" to restart the
router.
Warning: Proceeding with the upload will erase the current router
firmware.
Do You Wish To Proceed:(Y/N)
Type the firmware file’s
location, or click
Browse
to
look for it.
Choose the
Xmodem
protocol.
Then click
Send
.
Page 219 / 285
Firmware and Configuration Maintenance
17-17
Uploading a Configuration File Via Console Port
Step 1.
Select 2 from Menu 24.7 – System Maintenance – Upload Firmware to display Menu 24.7.2 -
System Maintenance - Upload Router Configuration File. Follow the instructions as shown in
the next screen.
Figure 17-18 Menu 24.7.2 as seen using the Console Port
Step 2.
After the "Starting Xmodem upload" message appears, activate the Xmodem protocol on your
computer. Follow the procedure as shown previously for the HyperTerminal program. The
procedure for other serial communications programs should be similar.
Step 3.
Enter “atgo” to restart the Prestige.
Example Xmodem Configuration Upload Using HyperTerminal
Step 1.
Click
Transfer
, then
Send File
to display the following screen.
Menu 24.7.2 - System Maintenance - Upload Router Configuration File
To upload router configuration file:
1. Enter "y" at the prompt below to go into debug mode.
2. Enter "atlc" after "Enter Debug Mode" message.
3. Wait for "Starting XMODEM upload" message before activating
Xmodem upload on your terminal.
4. After successful firmware upload, enter "atgo" to restart the
router.
Warning:
1. Proceeding with the upload will erase the current
configuration file.
2. The router's console port speed (Menu 24.2.2) may change
when it is restarted; please adjust your terminal's speed
accordingly. The password may change (menu 23), also.
3. When uploading the DEFAULT configuration file, the console
port speed will be reset to 9600 bps and the password to
"1234".
Do You Wish To Proceed:(Y/N)
Page 220 / 285
17-18
Firmware and Configuration Maintenance
Figure 17-19 Example Xmodem Upload
Step 2.
After the configuration upload process has completed, restart the Prestige by entering “atgo”.
Type the configuration file’s
location, or click
Browse
to
search for it.
Choose the
Xmodem
protocol.
Then click
Send
.

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top