Enterprise Routing Active Testing and Routing Director 2.4.0 API Lab

Overview

Routing Active Testing improves network Performance by using programmable, software-based test agents integrated with Routing Director as the controller that actively generates [synthetic traffic]{.underline} to simulate real-world network conditions. This active testing approach verifies application and service performance continuously throughout the service lifecycle, unlike passive monitoring which only observes existing traffic.

How Routing Active Testing enhances Network wide assurance and Solves Productivity issues in Enterprise

  • Real-time, multi-layer testing: Test agents measure Network or service quality across multiple layers (L2-L7) and technology domains in real time, enabling comprehensive visibility into network and application performance.

  • Proactive comprehensive Testing and Issue detection: Synthetic traffic is sent periodically by monitoring agents across different network locations, enabling continuous assessment of network metrics such as latency, packet loss, jitter, and throughput even when no real user traffic is present. Continuous active monitoring detects and troubleshoots problems before they impact end users, improving incident resolution times.

  • Flexible deployment Options: Test agents can be deployed as virtual machines, containers, software appliances, or embedded in network devices, allowing testing across physical, hybrid, and virtual networks. Routing Director acts as a Controller for these test Agents.

  • Augments Service or Network Changes with synthetic testing: Any additions or modifications of the network to enhance your network is assured to give quicker turnaround time by detecting issues proactively.

  • Comprehensive audit capabilities: Through strategically placed test agents, Routing Active Testing can audit thousands of endpoints simultaneously, providing detailed insights into network performance trends and problematic nodes. These Audits can catch issues related to control plane / data planes or misconfigurations of QOS policies or firewalls.

  • Automation and integration: With REST APIs and YANG models, it integrates with network controllers, orchestrators, and OSS systems to automate testing workflows, reducing manual effort and operational costs.

By actively verifying service configurations before deployment and continuously monitoring live services, Routing Active Testing enables network teams to deliver high-quality, reliable services faster and with fewer errors, ultimately optimizing network performance testing and assurance

Starting Lab

The objective of this Lab is to:

  • Get hands of experience of Routing Director 2.0 family with a concentration on Routing Active Testing.

  • Perform Active Assurance Tests and Monitors using Templates and Observability of test results.

  • Execute various Assurance Use-Cases from Activation Testing to Performance Monitoring.

  • Execute scripts to demonstrate seamless integration with third party applications by using REST APIs.

Note: As you are going to work in a shared environment with write access role, please be careful on the actions performedMake sure not to edit any part of the environment so as not to impact other users.

Lab Topology

Consists of a pair of MX204 or MX304 connected via an Impairment vm with Routing Active Test Agent Application running VM’s to send traffic streams. There is also a direct connection.

A screenshot of a computer AI-generated content may be incorrect.

Enterprise Routing Active Testing

Login to Routing Director via Jumpbox

  1. Using RDP Client, connect to your Labuser assigned IP address/Port

  2. Login using your Lab User credentials

  3. Open Chrome, and navigate to https://100.123.42.100, you should see the login page to Juniper Routing Director GUI

  4. Login using your Lab User credentials

Test1 – Enterprise Service Activation / Reachability – Test DNS, Ping

Once the network or service is built, we need to be assured that this network or service is Up. At this stage we are not worried about performance, but whether the network or service is working at all and be assured that the network or service is functioning at optimal level by way of observing the KPI’s like delay, jitter, loss. so, we test connectivity from Branch to Branch and Branch to Internet.

  1. Navigate to the pre-configured Test Templates, Click on Inventory > Test Templates

  1. This page will show all the pre-configured Templates that we’ll be using for this Lab.

A screenshot of a computer AI-generated content may be incorrect.

  1. Go to Test Templates page and Click on Test 1 – Enterprise Service Activation

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

  1. The test is further divided into Sub tasks. Please don’t change any parameters.

  • Task 1.1: DNS Resolution

    • This test will try to resolve google.com

  • Task 1.2: Ping from Branch to Internet

    • This test will do a PING from the Branch to the Internet (Google).

  • Task 1.3: Ping from Branch to Branch

    • This test will do a PING from one Branch to another Branch

  • Task 2.1: TCP throughput from Branch to Branch

    • This test will perform a Bandwidth test from one Branch LAN to another Branch LAN

  1. Click on Run to execute the tests.

A screenshot of a computer AI-generated content may be incorrect.

  1. All the tests will run in sequence; Task 1.1 > Task 1.2 > Task 1.3 > Task 2.1, we need to wait for the Tests to complete. The screen will need to be refreshed periodically.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

  1. Once all the tests are completed, we can check the Task Status to see whether the tests are Passed or Failed . KPI’s can be visualized by clicking on individual Streams as below.

A screenshot of a computer AI-generated content may be incorrect.

  1. Visualization of KPI’s can be optimized by clicking on both Show All , Compact View as below

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

  1. You can also go to Tests page and check the Status of a particular Test.

  2. Click on Observability > Tests

  1. Click on Test 1 – Enterprise Service Activation

A screenshot of a computer AI-generated content may be incorrect.

  1. To check more details of any test.

  2. Click on a particular Stream > then Enable Show All, Compact View

Note: Each individual stream will show plethora of KPI's

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

Test2 - Cloud Apps Reachability

Once we are assured that the lower layers of the network are working, we want to test application connectivity, there could be firewalls preventing access to application, maybe misconfigs. So Test2 is for checking applications like office365, outlook etc.

Note: Please note that there is a possibility that this test may fail , this is due to security measures that will respond with a different https reply code if the application encounters multiple requests from same source.
  1. Navigate to Inventory > Test Templates

  1. Click on Test 2 – Cloud Apps Reachability / Access

A screenshot of a computer AI-generated content may be incorrect.

  1. Click on Run to execute the test.

A screenshot of a computer AI-generated content may be incorrect.

  1. Go to Tests page to check the Test Status. Click on the latest Test run, and then click on the relevant stream to view the results.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

Test 3 - Performance Monitoring TWAMP

Two-Way Active Measurement Protocol

Periodic Synthetic traffic to assure network or service is at optimal level without impact to revenue traffic by observing the KPI’s

  1. Navigate to Inventory > Test Templates

  1. Click on Test 3 – Enterprise TWAMP

A screenshot of a computer AI-generated content may be incorrect.

  1. Click on Run to execute the test.

A screenshot of a computer AI-generated content may be incorrect.

  1. Go to Tests page to check the status.

A screenshot of a computer AI-generated content may be incorrect.

  1. Click on the relevant Stream to get detailed KPI Visualization

A screenshot of a computer AI-generated content may be incorrect.

Test 4 - Y1731 Monitor

Periodic Synthetic traffic to assure network or service is at optimal level without impact to revenue traffic by observing the KPI’s

Y1731 Monitoring measures loss, delay, and delay variation (jitter) for traffic from the Test Agent towards a Y.1731-capable device. This is targeted towards L2 domains.

  1. Click on Observability > Monitors

  1. Click on Y1731 , there will be 2 streams, iterator_test_dm for delay measurement, iterator_test_slm for synthetic loss measurement. click each individually to view KPI’s

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

  1. Click on the Stream say which says iterator_test_dm and change duration to say 16h which gives meaningful data. Enable Show All, Group Metrics, Compact View to get a overwhelming list of KPI’s.

A screenshot of a computer AI-generated content may be incorrect.

A screenshot of a computer AI-generated content may be incorrect.

Routing Director 2.4.0 API Lab

The objective of this test is to create a API based Test to ping from TestAgent1 towards internet 8.8.8.8 IP and dump the test results via API . Test can be verified from GUI as well once the test run is complete.

In order to demonstrate API we make use of a python script.

  1. Execution of REST API based Tests from Helper VM

  2. Access Helper VM via SSH from Windows Host using PuTTY.

    • Use the IP 100.123.0.8

  3. Click on Open.

A screenshot of a computer AI-generated content may be incorrect.

  1. Login to Helper VM with the following to login:

    • Username - labuser

    • Password - Juniper!1

A screenshot of a computer AI-generated content may be incorrect.

  1. Execute script using the following command:

    python3_paa-api-test-user- { }.py
    
Note: { } -- to be filled as per allocation by the lab instructor. a to f -- whichever roll is allocated to you.
  1. For example, for a participant allocated {a}

A screenshot of a computer AI-generated content may be incorrect.

  1. For example, for a participant allocated {b}

A screen shot of a computer AI-generated content may be incorrect.

  1. Check execution of tests from Routing Director GUI matching the roll {A to H}

You have successfully completed this Hands-On Lab!

Note: A special shout out to Juniper Sales Engineering Labs in building and executing the labs. Do visit for many more labs and demos.

Lab Survey

Please take 2 minutes and complet the Routing Active Testing and Routing Director API Hands-On Lab Survey

ActiveTesting-hol-Survey-qr-code