3Com 4200G Switch User Manual


 
310 CHAPTER 33: FTP AND TFTP CONFIGURATION GUIDE
Configure the TFTP client (the switch):
# Assign IP address 1.1.1.1/16 to VLAN-interface 1. (You can log in to the switch
through the Console port. For detailed information, see “Logging in through the
Console Port” in the Configuration Guide for your product.)
<3Com>
<3Com> system-view
[3Com] interface Vlan-interface 1
[3Com-Vlan-interface1] ip address 1.1.1.1 16
[3Com-Vlan-interface1] return
# Download the switch application named switch.bin from the TFTP server to the
switch, and upload the switch configuration file named config.cfg to the TFTP
server.
<3Com> tftp 2.2.2.2 get switch.bin switch.bin
<3Com> tftp 2.2.2.2 put config.cfg config.cfg
# Use the boot boot-loader command to specify the downloaded file to be the
startup file for next startup of the switch and restart the switch to complete the
switch application upgrade.
<3Com> boot boot-loader switch.bin
<3Com> reboot
Complete Configuration Configure the switch
#
vlan 1
#
interface Vlan-interface1
ip address 1.1.1.1 255.255.0.0
Precautions If the free Flash memory of the switch is not enough for downloading the
application file from the TFTP server, remove those unused applications from
the Flash memory before downloading the file.
It is not recommended to directly remove applications in use. If removing some
applications in use is a must to get enough space, you can use the BootROM
menu to remove them.