448 CHAPTER 22: F ILE SYSTEM MANAGEMENTPassword:*****230 Logged in successfully[ftp]3 Type in the authorized directory of the FTP server.[ftp]cd switch4 Use the put command to upload the config.cfg to the FTP server.[ftp]put config.cfg5 Use the get command to download the switch.app from the FTP server to the flashdirectory on the FTP server.[ftp]get switch.app6 Use the quit command to release FTP connection and return to User View.[ftp]quit7 Use the boot boot-loader command to specify the downloaded program as theapplication at the next login and reboot the Switch. boot boot-loader switch.app rebootFTP Server ConfigurationExampleNetworking RequirementThe Switch serves as FTP server and the remote PC as FTP client. The configuration onFTP server: Configure a FTP user named as Switch, with password hello and with readand write authority over the flash root directory on the PC. The IP address of a VLANinterface on the Switch is 1.1.1.1, and that of the PC is 2.2.2.2. The Switch and PCare reachable.The Switch application switch.app is stored on the PC. Using FTP, the PC can uploadthe switch.app from the remote FTP server and download the config.cfg from theFTP server for backup purpose.Networking DiagramFigure 114 Networking for FTP Configuration1 Configure the SwitchLog into the Switch (locally through the Console port or remotely using Telnet).2 Start FTP function and set username, password and file directory.[SW5500]ftp server enable[SW5500]local-user switch[SW5500-luser-switch]service-type ftp ftp-directory flash:[SW5500-luser-switch]password simple helloSwitch PCNetworkSwitchSwitch PCNetwork