Transferring loads and configuration files
These are the steps to retrieve a software load from either a server or other
router
First evaluate whether you have enough space to receive the load.
LIST i
Banks 1-21 contain load "vpn.ldc" which uses 1340745 bytes Loaded using
TFTP over IP
Filename c:\vpn.ldc
Host 7.7.7.100
Bank 22 contains load "good.cfg"
which uses 32852 bytes Loaded using TFTP over IP
Filename config
Host 0.0.0.0
Banks 23-62 have been erased
We see that the load on there takes up some
21 banks. It's a safe bet that the new load will be about the same size and
take up about the same amount of banks. We have enough room so we begin:
This TFTP GET request is to a non-existent host.
The same syntax would be used had this been a real TFTP Server. Note the file
name and path.
Boot config>tftp get
Enter
local filename[CONFIG]? ibd/gt100.ldc
Enter remote host's IP address or name in host table?
12.12.12.5
Enter path/filename of file on remote host [0C0C0C04.cfg]?
c:\gt100.ldc
TFTP transfer complete, status: Timeout
Erasing ...
This TFTP GET request is to a router, but states the
wrong filename.
Boot config>tftp get
Enter local filename [CONFIG]? ibd/gt100new.ldc
Enter remote host's IP address or name in host table? 2.2.2.1
Enter path/filename of file on remote host [0C0C0C04.cfg]?
ibd/gt100.ldc
TFTP transfer complete,
status: File Not Found
Erasing ...
We have to tell the router which interface to go out
of in order to complete the transfer.
To do so:
Config>PROTOCOL 0
Internet
protocol user configuration
IP config>LIST ad
IP addresses for each interface:
Numbered intf 0 128.185.3.2 255.255.255.0
Numbered intf 1 2.2.2.1 255.255.255.0
Numbered intf 2 3.3.3.1 255.255.255.0
Numbered Boot
config>ADD ADDRESS 1
New address [0.0.0.0]? 2.2.2.1 Net mask for this interface [255.255.255.0]?
Boot config>LIST ad 1:
2.2.2.1 on interface 1, mask 255.255.255.0
Boot config> ^P
* Talk 5
+
+PROTOCOL 0
Let's try to PING the
server to make sure we can reach it. It's quicker than waiting for the TFTP
GET to time out.
IP>ping 2.2.2.2
PING 2.2.2.2: 56 data bytes 64 bytes from 2.2.2.2:
icmp_seq=0. time=0. ms ----2.2.2.2 PING Statistics---- 1
packets transmitted,
1 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0
IP>^P
*TALK 6
Gateway user configuration
Config>
Config>b TFTP
Boot/dump configuration Here, after teling the router about it's address, we
try to get a load from a router. Since we know the load name that's on the router,
we use that as the remote file name. Remember that we only do so if the router
is the same type as ours.
Boot config>tftp get ibd/gt100.ldc
2.2.2.2 ibd\vpn.ldc
TFTP transfer complete, status: OK
Boot config>LIST i
Banks
1-21 contain load "vpn.ldc" which uses 1340745 bytes Loaded using TFTP over
IP
Filename c:\vpn.ldc Host 7.7.7.100
Bank 22 contains load "good.cfg" which
uses 32852 bytes Loaded using TFTP over IP
Filename config Host 0.0.0.0
Banks
23-44 contain load "gt100.ldc" which uses 1340745 bytes Loaded using TFTP over
IP
Filename ibd\vpn.ldc Host 2.2.2.1
Banks 45-62 have been erased
Notice how
the load is now on the IBD. I don't have much extra space on this flash memory
(in fact you'll want to check how much space BEFORE you do load transfers).
In fact, I don't need this load now, so I'll erase it. Boot config>ERASE gt100.ldc
Erasing flash please wait ...
Note also: Since I specified the name of the file,
the unit does not seek to verify my intention to erase the file. It figures that
if I know the name of the file, I must really want to erase it.
Boot config>LIST i
Banks 1-21 contain load "vpn.ldc" which uses 1340745 bytes Loaded using TFTP
over IP
Filename c:\vpn.ldc Host 7.7.7.100
Bank 22 contains load "good.cfg"
which uses 32852 bytes Loaded using TFTP over IP
Filename config Host 0.0.0.0
Banks 23-38 have been erased Bank 39 in unknown(00) state Banks 40-62 have been
erased IBD is in use - Please try again This is the kind of message you get
when the IBD is confused.
Do the following: Boot config>ERASE 23-62
Are you
sure you want to erase banks 23 - 62 ? (Yes or [No]): y
Erasing flash please
wait ... Banks 1-21 contain load "vpn.ldc" which uses 1340745 bytes Loaded using
TFTP over IP
Filename c:\vpn.ldc Host 7.7.7.100
Bank 22 contains load "good.cfg"
which uses 32852 bytes Loaded using TFTP over IP
Filename config Host 0.0.0.0
Banks 23-62 have been erased
Now, it's all better..
. Boot config> I
Config>b TFTP
Boot config>LIST i Banks 1-21 contain load "vpn.ldc" which uses
1340745 bytes Loaded using TFTP over IP
Filename c:\wgh.100.ldc Host 1.1.1.100
Bank 22 contains load "skip.cfg" which uses 32852 bytes Loaded using TFTP over
IP
Filename CONFIG Host 0.0.0.0
Banks 23-62 have been erased
Boot config>copy
Enter source filename? config
Enter destination filename? ibd/good.f_ _cfg
COPYing from
"config" to "ibd/good.cfg"
COPY succeeded
Boot config>copy
Enter source filename? ibd/good.cfg
Enter destination filename? config
COPYing from
"ibd/good.cfg" to "config"
COPY succeeded
Boot config>