autoftp command

This command displays and configures the automated FTP/TFTP problem report settings for the advanced management module.

Table 1. autoftp command
Function What it does Command Valid targets
Display call-home settings for autoftp call home Displays the Automated FTP/TFTP Problem Report settings that allow the advanced management module to automatically put service data onto a specified server when a call home event is detected. autoftp
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Configure call-home settings for autoftp call home Configures the Automated FTP/TFTP Problem Report settings that allow the advanced management module 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
    • disabled
  • ip_address is the IP address of the FTP or TFTP server
  • port is the FTP or TFTP 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 User Name for automated problem reporting (63 characters maximum).
  • "password" is the quote-delimited FTP password for automated problem reporting (63 characters maximum).
Notes:
  • For FTP, 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.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example:

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

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

               system:mm[1]> autoftp
-m ftp
-i ftp.ibm.com
-p 6
-u smlite
system:mm[1]> autoftp -m tftp -i tftp.ibm.com -p 69
OK
system:mm[1]>