Install the NETCONF Perl Client
The Juniper Networks NETCONF Perl API enables programmers familiar with the Perl programming language to create their own Perl applications to manage and configure routing, switching, and security devices running Junos OS. The NETCONF Perl client, which is available on GitHub and through the Comprehensive Perl Archive Network (CPAN), is independent of the Junos OS release running on the managed devices. You can use the same client installation to manage devices running any Junos OS release.
The NETCONF Perl distribution uses the same directory structure
for Perl modules as CPAN. This includes a lib directory for the NET::Netconf
module
and its supporting files, and an examples directory for sample scripts. You install the NETCONF Perl distribution
on a device running a Unix-like operating system. After you install
the software, you can create Perl applications to connect to a device
running Junos OS, establish a NETCONF session, and execute operations.
For information about installing the NETCONF Perl API, follow the instructions in the README file located in the NETCONF Perl GitHub repository at https://github.com/Juniper/netconf-perl.
Beginning in Junos OS Release 16.1, the NETCONF Perl client is release-independent, is hosted on GitHub and CPAN, and can manage devices running any version of the Junos OS release. Prior to Junos OS Release 16.1, every Junos OS release included a new version of the NETCONF Perl client. This release-dependent NETCONF Perl client required that you install a version of the client equal to or greater than the version of the Junos OS release running on a managed device. Doing this ensured support for all operations in that release. The release-independent distribution of the NETCONF Perl client on GitHub and CPAN removes these dependencies so that the client can manage devices running any version of the Junos OS release.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.