2-9# Upload the local file pu to the server, save it as puk, and check if the file has been uploadedsuccessfully.sftp-client> put pu pukLocal file:pu ---> Remote file: /pukUploading file successfully endedsftp-client> dir-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 config.cfg-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkeydrwxrwxrwx 1 noone nogroup 0 Sep 01 06:22 newdrwxrwxrwx 1 noone nogroup 0 Sep 02 06:33 new2-rwxrwxrwx 1 noone nogroup 283 Sep 02 06:35 pub-rwxrwxrwx 1 noone nogroup 283 Sep 02 06:36 puksftp-client># Terminate the connection to the remote SFTP server.sftp-client> quitByeConnection closed.SFTP Server Configuration ExampleNetwork requirementsAs shown in Figure 2-2, an SSH connection is established between the host and the switch. The host,an SFTP client, logs into the switch for file management and file transfer. An SSH user uses passwordauthentication with the username being client002 and the password being aabbcc. The username andpassword are saved on the switch.Figure 2-2 Network diagram for SFTP server configurationSFTP client SFTP serverHost Switch192.168.1.56/24 Vlan-int1192.168.1.45/24Configuration procedure1) Configure the SFTP server# Generate RSA and DSA key pairs and enable the SSH server. system-view[Switch] public-key local create rsa[Switch] public-key local create dsa[Switch] ssh server enable# Enable the SFTP server.[Switch] sftp server enable