R3303-HP HSR6800 Routers Fundamentals Configuration Guide

92
TFTP client configuration examples for standalone
mode
Network requirements
Configure the PC in Figure 46 as a TFTP server, and use TFTP to download the system software image file
newest.bin from the PC to the router and upload the configuration file config.cfg from the router to the PC
for backup.
Figure 46 Network diagram
Configuration procedure
This configuration procedure assumes that the PC and the router can reach each other.
1. Configure the PC (TFTP server):
{ Enable the TFTP server. (Details not shown.)
{ Configure a TFTP working directory. (Details not shown.)
2. Configure the router (TFTP client):
# Examine the storage medium of the router for insufficiency or impairment. If no sufficient free
space is available, use the fixdisk command to fix the storage medium or use the
delete/unreserved file-url command to delete unused files. (Details not shown.)
# Download system software image file newest.bin from the PC to the router:
{ Download system software image file newest.bin from the PC to the root directory of the active
MPU's CF card.
<Router> tftp 1.2.1.1 get newest.bin
{ Download system software image file newest.bin from the PC to the CF card root directory of
the standby MPU (in slot 1).
<Router> tftp 1.2.1.1 get newest.bin slot1#cfa0:/newest.bin
# Upload a configuration file config.cfg to the TFTP server.
<Router> tftp 1.2.1.1 put config.cfg configback.cfg
# Specify newest.bin as the main system software image file for the next startup:
{ Specify newest.bin as the main system software image file for the next startup of the active MPU.
<Router> boot-loader file newest.bin 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!
{ Specify newest.bin as the main system software image file for the next startup of the standby
MPU (in slot 1).
<Router> boot-loader file slot1#cfa0:/newest.bin slot 1 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
1!