Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
ContentIndex
  
[+] Expand All
[-] Collapse All

No index entries found.

Set Up Network Traffic Analysis and Analyze Traffic

Network Traffic Analysis is a monitoring technology for high-speed switched or routed networks. Network Director uses Cloud Analytics Engine to perform flow analysis. The Compute Agent component of Cloud Analytics Engine creates a probe, or synthetic packet that traces the path of the application flow through the network. When a device detects the probe, it collects various metrics that are sent to the Compute Agent, which then sends the metrics to the Data Learning Engine (DLE) component of the Cloud Analytics Engine. Network Director, in turn, obtains this information from DLE. For more information about Cloud Analytics Engine, see Understanding Cloud Analytics Engine and Network Director.

After you install and configure Cloud Analytics Engine, you can enable network traffic analysis on all devices except wireless devices that are managed by Network Director.

Installing and Configuring Cloud Analytics Engine Compute Agent

To install and configure Cloud Analytics Engine:

  1. Download the Cloud Analytics Engine .rpm package from the Software Download page.

    You install it using the operating system’s standard package installation procedure.

  2. After installing Compute Agent, run the interactive setup program and enter configuration parameters. For step-by-step instructions, see Configuring Compute Agent by Running the Interactive Setup Program.

    Alternatively, you can create a configuration file that the Compute Agent installer will use to configure Compute Agent during installation. For more details, see Creating a Compute Agent Configuration File and Configuring Compute Agent Initial Configuration by Using a Configuration File. The Compute Agent installer detects the configuration file and use the configuration defined in it instead of running the interactive setup program.

  3. Install the DLE. For step-by-step instructions, see Installing and Configuring Cloud Analytics Engine Data Learning Engine.
  4. By default, supported networking devices accept and process the network probes that the Compute Agent sends to communicate with networking devices. To enable Cloud Analytics Engine probes on the device, run the following command from the device CLI:
    set services analytics probe enable

Integrating Cloud Analytics Engine with Network Director

Cloud Analytics Engine can integrate with Junos Space Network Director (Network Director) to enable Network Director to configure analytics data collection and visualize network analytics data.

To integrate Cloud Analytics Engine with Network Director:

  1. Click in the Network Director banner and select Preferences as shown in Figure 2.

    Figure 2: Accessing the Preferences Page

    Accessing the Preferences
Page

    The Preferences page opens displaying User Preferences as the default tab.

  2. Click the Monitor tab and select the Data Learning Engine Settings sub-tab.
  3. Enter the IP address of the DLE server.
  4. If you want to change the ports used by the DLE, click View/Edit DLE Ports to edit the ports and then click OK.

    Table 2 describes the DLE ports.

    Table 2: DLE Port Descriptions

    Port

    Description

    Flow Analysis API Port

    Used by the flow path analysis feature and network traffic analysis feature to communicate with the DLE. Port 8082 is the default port.

    HFS API Port

    Used by the high-frequency statistics feature to communicate with the DLE. Port 8081 is the default port.

    HFS Control Channel Port

    Used by the high-frequency statistic feature for communication with the DLE about threshold-related events. Port 50006 is the default port.

    Note: If you change the default DLE ports, you must ensure that the new ports are open between the DLE and the Junos Space Network Management Platform.

  5. Click Add Another to add a new DLE server.
  6. Click OK to save the DLE settings.

Configuring High-Frequency Statistics and Flow Analysis in Network Director

To configure high-frequency statistics and perform network traffic and flow analysis:

  1. To configure high-frequency statistics, you must enable the collection of statistics on specific devices or ports. In Deploy mode, select Configuration Deployment > Enable High Frequency Stats in the Tasks pane. For more information, see Enabling High-Frequency Traffic Statistics Monitoring on Devices.
  2. To perform network traffic analysis using the high-frequency statistics, follow the steps given in Performing Network Traffic Analysis and Viewing Results.
  3. To configure flow analysis, you must enable LLDP on the bare-metal servers (BMSs), on the servers hosting the virtual machines (VMs), and on the connecting switches. In addition, the switches must be discovered by using the SNMP option in Network Director. For more information about discovering devices using the SNMP option, see Discovering Devices.

    To perform a flow analysis, follow the steps given in Performing Flow Analysis and Viewing Results.

Enabling High-Frequency Traffic Statistics Monitoring on Devices

To use Network Director monitoring analytics features such as latency heat maps and congestion monitoring on devices, you must enable high-frequency traffic statistics monitoring on the devices.

To enable high-frequency traffic statistics monitoring on devices:

  1. Click Deploy in the Network Director banner to open Deploy mode.
  2. Select the task Configuration Deployment > Enable High Frequency Stats in the Tasks pane.

    The Enable High Frequency Stats page opens. It displays a table that lists the devices in inventory that support high-frequency traffic statistics monitoring.

  3. You can enable high-frequency traffic statistics monitoring on a device as a whole or on selected ports of a device. For more details, see Enabling High-Frequency Traffic Statistics Monitoring on Devices.

Performing Network Traffic Analysis and Viewing Results

Network Traffic Analysis is a monitoring technology for high-speed switched or routed networks. Once enabled, Network Director randomly samples network packets and sends the samples to the DLE for analysis. Network traffic analysis uses packet-based sampling. Network Director samples one packet out of a specified number of packets from an interface enabled for network traffic analysis and sends the packet to the DLE. The DLE uses this sampling information to create a picture of the network traffic, which includes the applications that contribute to the traffic, traffic statistics, and the top applications.

To perform network traffic analysis and view the results:

  1. Click Deploy in the Network Director banner.
  2. In the Tasks pane, select Configuration Deployment > Enable Network Traffic Analysis.

    The Enable Network Traffic Analysis page opens.

  3. Select the check box adjacent to Enable Traffic Analysis on Devices when Port Utilization exceeds certain percentage to enable network traffic analysis. The default port utilization percentage value is 90%. You can change the default value to a value that is appropriate for your network.
  4. Enter the number of packets from which a packet must be sampled in the Sample rate field.
  5. Click Add Devices to add new devices for network traffic analysis.

    The Add Devices window opens.

  6. In the Add Devices window, select the devices for which you want to enable network traffic analysis.
  7. Click Add.

    Network Director adds the selected devices to the list in the Enable Network Traffic Analysis page.

    To remove a device, select a device from the list and click Remove.

  8. Click Save to save the network traffic analysis configuration details.

    Network Director initiates traffic analysis when traffic utilization on any interface of the devices added to the Enable Network Traffic Analysis page exceeds the port utilization that you specified. You can view the traffic analysis details from the Monitor mode > Traffic Analysis or the Device & Port Utilization dashboard widget.

    For more details, see Monitoring Port Traffic Statistics and Device & Port Utilization Widget.

Performing Flow Analysis and Viewing Results

The Recent Flow Analysis dashboard widget enables you to view the results of all analyses of application flows that have been initiated by Network Director in your network. It also enables you to simulate and analyze a flow between VMs and between BMSs to determine the best placement for a new application in your data center.

Flow analysis provides you with the number of hops, latency per hop, and end-to-end latency. For each hop, you can view information about the device—for example, CPU utilization, traffic statistics, and ingress and egress ports used. The information provided enables you to determine congestion points in the network that might be affecting application performance.

To perform flow analysis by using Network Director, you must:

  • Ensure that the components of Cloud Analytics Engine are installed on your network devices and that the Compute Agent discovery file has been created and uploaded to the DLE.
  • Specify the DLE server IP address under Preferences > Monitoring> Data Learning Engine Settings.
  • Enable LLDP on the servers hosting the VMs, on the BMSs, and on the connecting switches. In addition, the switches must be discovered by using the SNMP option in Network Director. For more information about discovering devices using the SNMP option, see Discovering Devices.

To perform flow analysis and view the results:

  1. Click Dashboard in the Network Director banner.

    The Dashboard view opens. You can customize the Dashboard view for viewing information about the network. You select monitoring widgets to display on the Dashboard that show various information about the network.

  2. If the Recent Flow Analysis monitor widget is not available in the dashboard, you must add it to the dashboard.

    To add a monitor widget to the dashboard:

    1. Select Add Widgets. Thumbnails of the available widgets appear.
    2. To add a widget to the Dashboard, mouse over the widget’s thumbnail, then click the Add button that appears on the widget.
    3. When you are finished adding widgets, click Done. The new widgets appear on the Dashboard page.
  3. Follow the instructions given in Recent Flow Analysis Widget or watch this video-based tutorial.

    Video 3: Juniper CAE Application flow path analysis

Related Documentation

Modified: 2016-12-18