3com 2928 User Guide

Page of 505
 
3-12 
# Download software package main.bin from the TFTP server and use the boot file in the package at 
the next startup. 
<Sysname> upgrade 192.168.20.41 main.bin runtime 
Configuration Example for Upgrading the Host Software Through 
the CLI 
Network requirements 
As shown in 
, a Switch 2900 series switch is connected to the PC through the console cable, 
and connected to the gateway through GigabitEthernet 1/0/1. The IP address of the gateway is 
192.168.1.1/24, and that of the TFTP server where the host software (suppose its name is 
Switch2900.bin
) is located is 192.168.10.1/24. The route between the gateway and the switch is 
reachable. 
The administrator upgrades the Boot ROM and the system boot file of the 2900 switch through the 
configuration PC and sets the IP address of the switch to 192.168.1.2/24. 
Figure 3-8 
Network diagram for upgrading the host software of the 2900 switch through CLI 
 
 
Configuration procedure 
1)  Run the TFTP server program on the TFTP server, and specify the path of the program to be 
loaded. (Omitted) 
2)  Perform the following configurations on the switch. 
# Configure the IP address of VLAN-interface 1 of the switch as 192.168.1.2/24, and specify the default 
gateway as 192.168.1.1. 
<Switch> ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1 
# Download the host software package Switch2900.bin on the TFTP server to the switch, and specify it 
as the boot file for the next system boot. 
<Switch> upgrade 192.168.10.1 Switch2900.bin runtime 
  File will be transferred in binary mode 
  Downloading file from remote TFTP server, please wait...| 
  TFTP:   253700 bytes received in 2 second(s) 
  File downloaded successfully. 
   BootRom file updating finished! 
# Download the host software package Switch2900.bin on the TFTP server to the switch, and specify it 
as the Boot ROM file for the next system boot. 
<Switch> upgrade 192.168.10.1 Switch2900.bin bootrom  
The file flash:/ Switch2900.bin exists. Overwrite it? [Y/N]:y 
  Verifying server file... 
  File will be transferred in binary mode 
  Downloading file from remote TFTP server, please wait.../ 
  TFTP:  9711592 bytes received in 186 second(s)