Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EOL/EOE] [NSM API] How to install the Perl client Environment



Article ID: KB12929 KB Last Updated: 18 Oct 2020Version: 5.0

Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.

To be able to use the NSM API functionality introduced in NSM 2008.1, the client environment has be setup and the client PC must meet the requirements described in this article.


Before you can install this client environment, the following software must be installed on your machine:

To install the client environment on a Linux-Unix machine:

  1. Launch cpan as root. Do one of the following:
    • Execute the cpan program: cpan
    • Run the perl -MCPAN -e shell: perl -MCPAN -e shell
  2. Update cpan, accepting all defaults: cpan[1]> install cpan
  3. Install the CPAN bundle: cpan[1]> install Bundle::CPAN
  4. Install Crypt::SSLeay: cpan[1]> install Crypt::SSLeay .
  5. Install LWP: cpan[1]> install LWP
  6. install XML Simple: cpan[1]> install XML::Simple
  7. Install MIME Tools: cpan[1]> install MIME::Tools
  8. Install the MIME Parser: cpan[1]> install MIME::Parser
  9. Install SOAP Lite (do not accept the default): cpan[1]> install SOAP::Lite
  10. Enable HTTPS, MIME, DIME, and Axis2 MIME support.


If SOAP::Lite fails to install, install "version" from cpan.

Please consult the "API guide" documentation available on Juniper support website for the latest information and instruction about system requirements for Windows client:

Once the client environment is ready, verify the API functionality using the following article:  KB12730 - How-to verify the NSM SOAP API functionality.

Modification History:
2020-10-18: Tagged article for EOL/EOE.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search