Prerequisites For Telnet Connections; Connecting To The Junos Xml Protocol Server; Connecting To The Junos Xml Protocol Server From The Client; Application - 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

Connecting to the Junos XML Protocol Server

Copyright © 2010, Juniper Networks, Inc.

Prerequisites for Telnet Connections

To enable a client application to use the Telnet protocol to access the Junos XML protocol
server, perform the steps described in this section.
Devices running the Junos-FIPS software do not accept Telnet connections. We
recommend that you do not use the Telnet protocol in a Common Criteria environment.
For more information, see the Secure Configuration Guide for Common Criteria and
Junos-FIPS.
Verify that the application can access the Telnet software. On most operating
1.
systems, Telnet is accessible in the standard distribution.
Satisfy the prerequisites discussed in "Prerequisites for All Access Protocols" on
2.
page 27.
Configure the device running Junos OS to accept Telnet connections by including
3.
the
statement at the
telnet
enables Telnet access for all users and applications, not just Junos XML protocol
client applications.
[edit]
user@host# set system services telnet
Repeat Step 1 on each computer where the application runs, and Step 2 and Step 3
4.
on each device to which the application connects.
Connecting to the Junos XML Protocol Server from the Client Application on page 37
Connecting to the Junos XML Protocol Server from the CLI on page 38
Connecting to the Junos XML Protocol Server from the Client Application
For a client application to connect to the Junos XML protocol server and open a session,
you must first satisfy the prerequisites described in "Prerequisites for Establishing a
Connection" on page 27.
When the prerequisites are satisfied, an application written in Perl can most efficiently
establish a connection and open a session by using the Junos XML protocol Perl module
provided by Juniper Networks. For more information, see "Writing Junos XML Protocol
Perl Client Applications" on page 205.
A client application that does not use the Junos XML protocol Perl module connects to
the Junos XML protocol server by opening a socket or other communications channel to
the Junos XML protocol server device, invoking one of the remote-connection routines
appropriate for the programming language and access protocol that the application
uses.
What the client application does next depends on which access protocol it is using:
If using the clear-text or SSL protocol, the client application performs the following
steps:
Chapter 3: Controlling the Junos XML Management Protocol Session
hierarchy level. This statement
[edit system services]
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents