DuraMAR 2150 – User’s Manual
Log files
Important events are logged on the flash memory. User can view the logged messages using the
show log
system command. Because the size of the flash memory available for the log file is limited, the size of the log
file is checked periodically and, if it increases to more than 3MB, it is automatically resized to the last 1000
messages. At any moment user can clear the log file using the
delete log
configuration command.
Log messages can also be saved on a remote
syslog
server using the
set log
command. Please note that
when the system operates in Bridge Mode, one or more static routes need to be defined for this feature to
work (see further for details).
The complete list of commands available for managing log files:
show log
Displays the contents of the log file
Removes all of the log messages
clear log
Defines the IP address of a remote syslog server
set log <ip-address>
Setting up static routes to access external resources
In order to access an external resource (such as a NTP or
syslog
server) when the system operates in
Bridge Mode, the user must define one or more static routes through the
gprs0
interface. This is required
because in Bridge Mode the system can only forward traffic to the default route (the
hsdpa0
interface). The
syntax is:
route
ip-address
netmask
dev gprs0
where
ip-address
and
netmask
are, respectively, the IP address and network mask of the external resource
destination.
Upgrading the system
ECC firmware can be upgraded using the
upgradefrom
command. This command will download a new
system image from a specific URL and automatically install it. For example:
HSDPA-r(config)#
upgradefrom http://212.12.54.21/hymar-1.1.eff
An updated version of the controller firmware can be easily downloaded and installed from a remote HTTP or
FTP server.
The upgrade process is a three-step procedure:
•
the image file is downloaded alongside with some information that checks its integrity (an MD5 digest
contained in a plain text file)
•
the image file is processed for integrity check comparing the MD5 digests
•
the new valid image is saved on the flash memory and the default start-up configuration file is updated
accordingly
The
upgradefrom
configuration command performs all of these steps automatically. The syntax is the
following:
upgradefrom <URL-address>
At the end of the upgrade process the system must be rebooted without issuing the
copy running
command. This is important because the upgrade procedure updates the content of the startup configuration
but not the content of the running configuration. Issuing the
copy running
command will overwrite the
correct configuration.
26