Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Establishing a Junos XML Protocol Session Using C Client Applications

This example illustrates how a Junos XML protocol C client application uses the SSH or Telnet protocol to establish a connection and Junos XML protocol session with a device running Junos OS. In the line that begins with the string execlp, the client application invokes the ssh command. (Substitute the telnet command if appropriate.) The routing-platform argument to the execlp routine specifies the hostname or IP address of the Junos XML protocol server device. The junoscript argument is the command that converts the connection to a Junos XML protocol session.