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 
[+] Expand All
[-] Collapse All

No index entries found.

Related Documentation

    Traffic Aggregation

    After collecting traffic via the Traffic Collection Manager, there are two ways of aggregating traffic information to create an interface traffic file:

    • Aggregation by hour: Create a 24-hour interface traffic file, for each hour aggregating the data for that particular hour across multiple days. The resulting file can be used as input into the traffic matrix solver. Refer to the Router Guide chapter, “Traffic Matrix Solver.”
    • Aggregation along a timeline: Each period of the interface traffic file corresponds to a consecutive period of time. For example, if this interval is a day, then each day (up to a maximum of 24) is aggregated to one data point, and you can use it to playback 24 consecutive days.

    Aggregation by Hour: Method 1

    1. For the first approach, a 24-hour interface load file is created by switching to offline mode and selecting Traffic > Traffic Aggregation.
    2. The prerequisite for this method is that traffic has been collected by the Traffic Collection Manager and has been aggregated into the /u/wandl/data/traffic_history/dbinterface directory. This is performed daily by a cron job at 00:30. To trigger this at a different time, run the /u/wandl/bin/ /u/wandl/db/config/aggconfig” command. Check the crontab using “crontab -l” to view the complete command used.

      Figure 229: Traffic Aggregation

      Traffic Aggregation
    3. Select the date range that you want to aggregate by hour.
    4. Select the statistic to use for the aggregation, for example, average, max, 99, 95, 90, 80 percent.
    5. Enter the Output Directory, in which the resulting interface traffic file will be created, and a runcode (file extension) to use for saving that file.
    6. By selecting “Load traffic data”, the resulting output file will automatically be loaded into the network model. After clicking OK, the results can be viewed graphically from the Standard map via the Utilization Legends > Measured Link Util legend.
    7. This method of aggregation can also be run in text mode. An example command is:
      ./ -yesterday -o /tmp -s 95pct -r test

    Aggregation by Hour: Method 2

    Alternatively, if you need to perform aggregation for specific, non-consecutive dates, use the Traffic > Traffic Import wizard.

    1. First, use method IP/MPLSView Traffic Data to perform the aggregation, using Import Directory: /u/wandl/data/traffic_history/dbinterface for interface traffic (or /u/wandl/data/traffic_history/dbtunnel for tunnel traffic).
    2. Check the Include subdirectories option, and select the desired dates.
    3. For the “Specify Aggregate Directory” option, type in the subdirectory name, for example, “agg”
    4. Click “Next” and select the desired dates and move them to the right hand side panel.
    5. The aggregation is performed and the resulting files are in binary format. Click Next.
    6. In the next step, the IP/MPLSView Aggregate Traffic Data method is used, which will convert binary data to text, and perform the desired aggregation statistic.
    7. For the input directory, use the subdirectory created before, for example, “agg”, which contains binary data.
    8. Select a new Output dir where the resulting interface traffic output file will be stored. Click Next.
    9. Specify the Aggregation Statistic (for example, 95%).
    10. Specify the Traffic Type (interface or tunnel, depending on which import directory you used (/u/wandl/data/traffic_history/dbinterface for interface traffic or /u/wandl/data/traffic_history/dbtunnel for tunnel traffic). Click Next.
    11. The resulting interface and interfacei files that are created can be loaded in automatically if “Load traffic data” is checked in the next screen. Click Finish to continue.
    12. Otherwise, this file can be loaded in at a later time via the File > Load Network Files menu.
    13. To view the results, select Utilization Legends > Measured Link Util from the Standard map legend.

    Aggregation Along Timeline (Web)

    1. After the traffic collection has been scheduled, and aggregated at 00:30 according to the cron job via the command /u/wandl/bin/ /u/wandl/db/config/aggconfig, the /u/wandl/data/traffic_history is created.
    2. Consequently, the Web report can be used to view aggregation along the timeline with a user-definable interval.
    3. Select Performance Management > Historical Traf Reports.
    4. For example, view the Interface Traffic Summary Report (Hourly Aggregation) report.

      Figure 230: Historical Traffic Report Options

      Historical Traffic Report Options
    5. The Aggregation Interval can be set by number of hours. For example, you could aggregate every 12 hours into one point, across a one week period.
    6. The Aggregate Method can be used to select the statistic to use: Maximum, Average, 80%, 90%, 95%, or 99%.
    7. After submitting the query, the results can be saved to Excel via the Export to Excel functionality.
    8. A Trending option is also available from this page to predict future points based on the existing traffic points.

    Aggregation Along Timeline (Java Graphical Interface)

    A second method for aggregation along the timeline is via the Java GUI.

    1. Switch to Offline mode and select Traffic > Traffic Load. Then, select the Interface option.
    2. In the database query section in the bottom of this window, select the start date/time and the Interval.
    3. The aggregation statistic used will be the Average.

      Figure 231: Interface Traffic Load Database Query

      Interface Traffic Load Database Query
    4. Click Fetch to fetch the data from the database. Then click Run to view the results graphically on the Standard map.
    5. In order to save the interface traffic load results, select File > Save Network.
    6. Trending can also be performed from the Java interface via Traffic > Trending. The prerequisite is that the interface traffic load data is loaded into the network via File > Load Network Files, ingress/egress file options under the Traffic Files category.
    7. After the trending is performed, click “Save as Intf Traffic” to create an interface traffic load file. For more information on trending, refer to the Reference Guide chapter, “The Traffic Menu.”

    Modified: 2015-12-29