Description

This article provides information on how to configure archiving to a FTP server that supports only the passive type.

Symptoms

Configuration archiving may not work with the passive FTP server with the standard FTP format (ftp://id:password@destination).

Solution


Here are configuration examples (prefixes) for both cases (active FTP / passive FTP):

Active FTP server

system {
    archival {
        configuration {
            transfer-on-commit;
                archive-sites {
                    " ftp ://admin:[email protected]/configurations";
                }
        }
    }
}



Passive FTP server

system {
    archival {
        configuration {
            transfer-on-commit;
                archive-sites {
                    " pasvftp ://admin:[email protected]/configurations";
                }
        }
    }
}



According to the following prefixes, the Junos device will choose the access type (active or passive) to the FTP server:


Prefixes

  • Active FTP : ftp://
  • Passive FTP : pasvftp://
______________________
(test update, please ignore)