TFTP Overview 235FTP Server ConfigurationExampleNetworking RequirementThe Switch serves as FTP server and the remote PC as FTP client. The configurationon FTP server: Configure a FTP user named as Switch, with password hello andwith read and write authority over the flash root directory on the PC. The IPaddress of a VLAN interface on the Switch is 1.1.1.1, and that of the PC is 2.2.2.2.The Switch and PC are reachable.The Switch application switch.app is stored on the PC. Using FTP, the PC canupload the switch.app from the remote FTP server and download theconfig.cfg from the FTP server for backup purpose.Networking DiagramFigure 62 Networking for FTP Configuration1 Configure the SwitchLog into the Switch (locally through the Console port or remotely using Telnet).<4500>2 Start FTP function and set username, password and file directory.[4500]ftp server enable[4500]local-user switch[4500-luser-switch]service-type ftp ftp-directory flash:[4500-luser-switch]password simple hello3 Run FTP client on the PC and establish FTP connection. Upload the switch.app tothe Switch under the Flash directory and download the config.cfg from theSwitch. FTP client is not shipped with the Switch, so you need to buy it separately.CAUTION: If the flash memory of the Switch is not enough, you need to firstdelete the existing programs in the flash memory and then upload the new ones.4 When the uploading is completed, initiate the file upgrade on the Switch.<4500>Use the boot boot-loader command to specify the downloaded program as theapplication at the next login and reboot the Switch.<4500> boot boot-loader switch.app<4500> rebootTFTP Overview Trivial File Transfer Protocol (TFTP) is a simple protocol for file transmission.Compared with FTP, another file transmission protocol, TFTP has no complicatedinteractive access interface or authentication control, and therefore it can be usedSwitch PCNetworkSwitchSwitch PCNetwork