Programming software upgrades remotely, Dual trunk e1 router – Black Box LRU4240 User Manual

Page 118

Advertising
background image

106

SALES: 0870 90 10 750

Dual Trunk E1 Router User’s Guide

Dual Trunk E1 Router

Programming software upgrades remotely

Starting with software release 2.3RT, you can initiate the code download and initialization remotely
using SNMP commands. The Menu-4 download utility commands, download method (TFTP or
Xmodem) and schedule date and time, have associated SNMP variables in the eclipse MIB.

The sample script shown below illustrates a remote TFTP download:

#!/bin/ksh
NODE="172.25.150.1"
BIN_FILE="074-04240-01sr2.3RT.bin"

snmpset $NODE .1.3.6.1.4.1.300.200.2.49.1.0 integer 1
tftp $NODE <<EOT
bin
put $BIN_FILE
quit

DOWNLOAD

Code File

Status

Error

Bytes Received

Protocol

The Code-File that will receive the downloaded operational-code, and
that is currently not operational.
Shows the status of the download, and is either Idle, Start, In Progress,
Verifying, Success, or error. This field is updated after an Xmodem
download to the local unit. If the status is “Error”, then a number
associated with the failure indicates the specific problem.

Indicates a specific problem during download.

Shows the number of bytes received during the download. This field is
updated after an Xmodem download to the local unit.

Protocol used for the download. Choices are Xmodem and TFTP.

CHANGE

Code File

Method

Scheduled Date

Scheduled Time

Count Down

Code-File to be switched over when the scheduled time is reached.
Choices are NONE, 1, and 2. NONE indicates that no change is desired,
and can be used to cancel a scheduled change.

Either SCHEDULED or NOW. NOW indicates that the change occurs
immediately, and SCHEDULED indicates that the change occurs when
the actual time reaches the scheduled time.

Expressed in DD/MM/YY (day, month, and year) at which the switch-
over will occur.

Expressed in HH:MM:SS (hours, minutes, seconds) at which the switch-
over will occur.

Shows the time interval HH:MM:SS (hours, minutes, seconds) for the
switch-over to occur after it has been initiated. If the switch-over has not
been initiated, then it shows “Press 2 To Start” or “Press 4 To Start” for
the local unit and the remote unit, respectively.

Table 11-3 Menu 4F Download Utility (2 of 2)

Group

Field

Description

Advertising