2-4
TFTP Client Configuration Example (Distributed Device)
Network requirements
z
As shown in
Figure 2-2
, use a PC as the TFTP server and Device as the TFTP client. Their IP
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. An available route exists between Device
and PC.
z
Device downloads a startup file from PC for upgrading and uploads a configuration file named
config.cfg
to PC for backup.
Figure 2-2
Smooth upgrading using the TFTP client function
Configuration procedure
1) Configure PC (TFTP Server), the configuration procedure is omitted.
z
On the PC, enable the TFTP server
z
Configure a TFTP working directory
2) Configure Device (TFTP Client)
If the available memory space of the device is not enough, use the
fixdisk
command to clear the
memory or use the
delete
/unreserved
file
-
url
command to delete the files not in use and then perform
the following operations.
# Download application file
newest.app
from PC to the device.
z
Download application file
newest.app
from PC to the root directory of the storage medium on the
AMB.
<Sysname> tftp 1.2.1.1 get newest.app
z
Download application file
newest.app
from PC to the root directory of the storage medium on the
SMB (in slot 1).
<Sysname> tftp 1.2.1.1 get newest.app slot1#flash:/newest.app
# Upload a configuration file
config.cfg
to the TFTP server.
<Sysname> tftp 1.2.1.1 put config.cfg configback.cfg
# Specify
newest.app
as the main startup file to be used at the next startup.
z
Specify
newest.app
as the main startup file to be used at the next startup for the AMB.
<Sysname> boot-loader file newest.app slot 0 main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 0!
z
Specify
newest.app
as the main startup file to be used at the next startup for the SMB (in slot 1).
<Sysname> boot-loader file slot1#flash:/newest.app slot 1 main
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...