36Configure the username and password for the FTP client to log in to the FTP server before you perform anFTP operation. For information about configuring the FTP server, see Fundamentals Configuration Guide.To configure the FTP template:Step Command Remarks1. Enter system view. system-view N/A2. Create an FTP templateand enter its view. nqa template ftp name N/A3. Specify the URL of thedestination FTP server. url urlBy default, no URL is specified for thedestination FTP server.Enter the URL in one of the followingformats:• ftp://host/filename.• ftp://host:port/filename.When you perform the get operation, thefile name is required.When you perform the put operation, thefilename argument does not take effect,even if it is specified. The file name forthe put operation is determined by thefilename command.4. (Optional.) Specify the FTPoperation type. operation { get | put }By default, the FTP operation type is get,which means obtaining files from the FTPserver.5. Specify an FTP loginusername. username username By default, no FTP login username isspecified.6. Specify an FTP loginpassword.password { cipher | simple }passwordBy default, no FTP login password isspecified.7. (Optional.) Specify thename of a file to betransferred.filename filenameThis step is required if you perform theput operation.This configuration does not take effect forthe get operation.By default, no file is specified.8. Set the data transmissionmode. mode { active | passive } The default mode is active.9. (Optional.) Specify thesource IPv4 or IPv6address for the probepackets.• IPv4 address:source ip ip-address• IPv6 address:source ipv6 ipv6-addressBy default, no source IP address isspecified.The source IP address must be the IPaddress of a local interface, and theinterface must be up. Otherwise, noprobe packets can be sent out.Configuring optional parameters for the NQA templateStep Command Remarks1. Enter system view. system-view N/A