Skip to main content

autoftp command

This command displays and configures the automated FTP/TFTP/SFTP problem report settings for the CMM.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or autoftp command errors for a list of error messages that are specific to the autoftp command.

Table 1. autoftp command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Display call-home settings for autoftp call homeDisplays the Automated FTP/TFTP/SFTP Problem Report settings that allow the CMM to automatically put service data onto a specified server when a call home event is detected.autoftp
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Configure call-home settings for autoftp call homeConfigures the Automated FTP/TFTP/SFTP Problem Report settings that allow the CMM to automatically put service data onto a specified server when a call home event is detected.
Note
The system will wait five days before sending duplicate events if they are left unacknowledged in the activity log.
autoftp -m mode-i ip_address-p port-u user_name-pw password
where:
  • mode is one of the following automated problem reporting modes:

    • ftp
    • tftp
    • sftp
    • disabled
  • ip_address is the IP address of the FTP, TFTP, or SFTP server
  • port is the FTP, TFTP, or SFTP transmission port, a number from 1 to 65535, inclusive. If you enter a value outside this range, an error message will be displayed.
  • user_name is the quote-delimited FTP or SFTP User Name for automated problem reporting (63 characters maximum).
  • password is the quote-delimited FTP or SFTP password for automated problem reporting (63 characters maximum).
Note
  • For FTP and SFTP, all fields must be set.
  • For TFTP, only -i and -p are needed.
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.

Example:

To view the settings of the automated call-home message feature, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
autoftp -T mm[p]
To configure the automated call-home message feature to report call-home events using TFTP to tftp.lenovo.com over transmission port 69, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
autoftp -m tftp -i tftp.lenovo.com -p 69 -T mm[p]

The following example shows the information that is returned from these commands:

system> autoftp -T mm[p]
-m ftp
-i ftp.lenovo.com
-p 6
-u smlite
system> autoftp -m tftp -i tftp.lenovo.com -p 69 -T mm[p]
OK
system>