6-6
Stinger®
Administration Guide
Managing System Configuration and Memory
Restoring or updating system configuration
Restoring or updating system configuration
You can restore a full configuration that you saved with the
save
command by means
of the
load
command. The
load
command uploads a code image to flash or runs a
remote configuration script. The code image or script can be located on the disk of the
PC you are using for the terminal session with the Stinger unit, on a network host
that supports TFTP, or on the PCMCIA flash card file system of the control module.
For syntax information, see the
Stinger Reference
.
Note
You must reset the Stinger unit after reloading a configuration.
Restoring from a local file
Before you start the restore procedure, verify that your terminal emulation program
has an autotype (or ASCII file upload) feature. Autotype allows your emulator to
transmit a text file over its serial port. You must also verify that the data rate of your
terminal emulation program is set to 9600 baud or lower and that the
term-rate
parameter in the
system
profile is set to the same rate. Speeds higher than 9600 baud
might cause transmission errors.
To restore a configuration from a file on the system you are using to access the
Stinger unit, set your VT100 emulation software to send the file, and enter the
load
command as follows:
admin>
load config console
Restoring from a network host
To restore a configuration from a file on a network host, enter the
load
command as
follows:
admin>
load config network
hostname
filename
Replace
hostname
with the name of the host and
filename
with the name of the file
in which the configuration is stored.
For example, to load a configuration file named
unit.cfg
from network host 10.8.7.2
to the PCMCIA flash card in slot 1, proceed as follows:
admin>
load config network 10.8.7.2 /unit.cfg
To load the
unitrel.tar
file from a network host named
host1
, proceed as follows:
admin>
load tar network host1 unitrel.tar
Updating the configuration
You can use the
load
command to upload code for any module to a PCMCIA flash
card. For example, to load the Stinger control module image
stngrtcm.ffs
from a
TFTP server
pclab-20
to the secondary control module, proceed as follows:
admin>
load -t cm network pclab-20 stngrtcm.ffs
loading code from 207.137.197.90
file stngrtcm.ffs...
done.
Attempting to write image(s) to other controller
Trying device 1 of remote controller first
Summary of Contents for Stinger
Page 1: ...Stinger Administration Guide Part Number 7820 0712 008 For software version 9 7 0 August 2004 ...
Page 4: ......
Page 16: ......
Page 18: ......
Page 62: ......
Page 82: ......
Page 96: ......
Page 182: ......
Page 218: ......
Page 236: ......
Page 252: ......
Page 288: ......
Page 350: ......
Page 362: ......
Page 374: ......