Once you create your development sandbox, the source code for this example is available in the following locations:
- C source code:
The IP Probe sample application sends a probe packet to a target router, keeps track of how long it takes to receive a reply, and generates network performance statistics. The timestamps in the probe packets allow you to measure packet delay, packet jitter and packet loss.
- DDL source:
The probe client runs as a command-line utility. The output is displayed on a terminal directly - thus, there is no ODL code for this application. The user enters the following command:
probe ip-address probe-name print-option
The management component runs on the Routing Engine. Its functions manage the following sub-components:
ip-address is the IP address of the target router
probe-name is the name of the probe packet in the configuration (see Configuration for the IP Probe Application)
print-option is one of
packet, to display packet detail
statistics, to display statistics detail
interface, to display interface statistics
all, to display all the information in the previous options
- The probe manager is a TCP server running on the probe target. It receives and accepts the connection from the probe initiator and then starts a TCP session. It then sends probe user information to the authentication server.
- The probe authentication server authenticates the request and creates a responder if authentication succeeds.
When the probe is completed, the initiator closes the connection to the probe manager. The probe manager then closes both the responder and the session.
- The probe responder receives the probe packet, puts a timestamp into the packet, and sends the packet back to the initiator.
Configuration for the IP Probe Application
© 2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:47 2010 for Juniper Networks Partner Solution Development Platform JUNOS SDK 10.2R1 by Doxygen 1.4.5