[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring TCP and UDP Probes

To configure RPM using TCP and UDP probes, in addition to the basic RPM properties, you must configure both the host device and the remote device to act as TCP and UDP servers.

If you are using class of service (CoS) and want to classify probes, you must also set a destination interface. The destination interface is the output interface for sending packets to the forwarding plane. Classified packets are sent to the output queue on the output interface specified by the CoS scheduler map configured on the interface.

For information about CoS, see the JUNOS Software Interfaces and Routing Configuration Guide.

Caution: Use probe classification with caution, because improper configuration can cause packets to be dropped.

The destination interface must support looping of probe packets to an input interface without adding any encapsulation. The device's destination interface must be an lt services interface.

In this sample use of RPM, a probe is configured for one customer: Customer C. The probe for Customer C uses TCP packets. The remote device is configured as an RPM server for both TCP and UDP packets, using an lt services interface as the destination interface, and ports 50000 and 50037, respectively. Router A is the host device in this example, and Router B is the remote device. To configure this RPM probe:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 229.
  3. If you are finished configuring the network, commit the configuration.
  4. Go on to one of the following procedures:

Table 229: Configuring TCP and UDP Probes

Task

J-Web Configuration Editor

CLI Configuration Editor

Router A Configuration 

Navigate to the Services>RPM level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Services, click Configure or Edit.
  3. Next to Rpm, select the Yes check box.
  4. Click Configure.

From the [edit] hierarchy level, enter

edit services rpm

Configure the RPM owner customerC.

  1. In the Probe box, click Add new entry.
  2. In the Owner box, type customerC.
  3. Click OK.

Enter

set probe customerC

Configure the RPM test tcp-test for the RPM owner customerC.

The sample RPM test is a TCP probe with a test interval (probe frequency) of 5, a probe type of tcp-ping, and a target address of 192.162.45.6.

  1. On the Rpm page, select customerC.
  2. In the Test box, click Add new entry.
  3. In the Name box, type tcp-test.
  4. In the Test interval box, type 5.
  5. In the Probe type box, select tcp-ping.
  6. In the Target box, select the Yes check box, and click Configure.
  7. In the Target type box, select Address.
  8. In the Address box, type 192.162.45.6.
  9. Click OK.
  1. From the [edit] hierarchy level, enter

    edit services rpm probe customerC

  2. Enter

    set test tcp-test probe-frequency 5

  3. Enter

    set test tcp-test probe-type tcp-ping

  4. Enter

    set test tcp-test target address 192.162.45.6

Configure the destination interface.

Note: On Services Routers the destination interface must be an lt services interface.

In the Destination interface box, type lt-0/0/0

Enter

set test tcp-test destination-interface lt-0/0/0

Configure port 50000 as the TCP port to which the RPM probes are sent.

In the Destination port box, type 50000.

Enter

set test tcp-test destination-port 50000

Router B Configuration 

Navigate to the Services>RPM level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Services, click Configure or Edit.
  3. Next to Rpm, select the Yes check box.
  4. Click Configure.

From the [edit] hierarchy level, enter

edit services rpm

Configure Router B to act as a TCP server, using port 50000 to send and receive TCP probes.

  1. Next to Probe server, click Configure.
  2. In the Tcp box, click Configure.
  3. In the Port box, type 50000.
  4. Click OK.

Enter

set probe-server tcp port 50000

Configure Router B to act as a UDP server, using port 50037 to send and receive UDP probes.

  1. Next to Probe server, click Edit.
  2. In the Udp box, click Configure.
  3. In the Port box, type 50037.
  4. Click OK.

Enter

set probe-server udp port 50037


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]