Unpacking The Junos Xml Protocol Perl Client And Sample Scripts; Installing The Prerequisites Package And The Junos Xml Protocol Perl Client - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

Unpacking the Junos XML Protocol Perl Client and Sample Scripts

Installing the Prerequisites Package and the Junos XML Protocol Perl Client

Copyright © 2010, Juniper Networks, Inc.
NOTE: The Junos XML protocol Perl client software should be installed and run on a
regular computer with a UNIX operating system; it is not meant to be installed on a
Juniper Networks device.
Optionally, download the packages containing the document type definitions (DTDs)
and the XML Schema language representation of the Junos configuration hierarchy:
Access the download page at
1.
Click the link for the appropriate software release.
2.
Select the software tab.
3.
Click the links to download the desired packages.
4.
To uncompress and unpack the gzip tar archive that contains the Junos XML protocol
Perl client and sample scripts, perform the following steps:
Create the directory where you want to store the Junos XML protocol Perl client
1.
application and sample scripts, and move the downloaded files into this directory.
Then make it the working directory:
% mkdir parent-directory
% mv junoscript-perl-release-type.tar.gz parent-directory
% cd parent-directory
Issue the following command to uncompress and unpack the Junos XML protocol
2.
Perl client package:
On FreeBSD and Linux systems:
% tar zxf junoscript-perl-release-type.tar.gz
On Solaris systems:
% gzip -dc junoscript-perl-release-type.tar.gz | tar xf
where
release
is the release code (e.g.
Step 2 creates a directory called
package to it. A typical filename for the compressed tar archive might be
junoscript-perl-9.5R1.8-domestic.tar.gz
directly under the
junoscript-perl-9.5R1.8/
application files and sample scripts into this new directory.
Perl must be installed on your system before you install the prerequisites package or the
client software. The Junos XML protocol Perl client requires Perl version 5.0004 or later.
To confirm whether Perl is installed on your system and to determine which version of
Perl is currently running, issue the following commands:
Chapter 9: Writing Junos XML Protocol Perl Client Applications
https://www.juniper.net/support/xml/junos-xml/
10.3R1.1
) and
type
is
domestic
and writes the contents of the
junoscript-perl-release
. Unpacking this archive creates the directory
directory and moves the
parent-directory
.
or
export
.
207

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents