Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Minimum delay bin

Want to summarize with AI?

Log in

This topic describes how Y.1731 Ethernet SLA collects and optionally aggregates performance metrics over time, and how the minimum-delay bin feature lets you configure a distinct width for the first bin to prevent wastage of bins that might otherwise be empty due to inherent speed of light delays.


The Y.1731 Ethernet SLA is a performance monitoring feature that

  • collects and aggregates performance metrics over time

  • organizes data into buckets, and

  • utilizes bins to reduce memory consumption.

The system manages performance data through these mechanisms:

  • The system organizes data collected during specific timeframes into buckets.

  • The system utilizes bins to store aggregated data, which reduces overall memory consumption.

  • The minimum-delay bin feature allows the administrator to configure a distinct width for the first bin to prevent the wastage of empty bins.

  • The remaining bins capture variations in observed delays.

Table 1. Feature History Table

Feature Name

Release Information

Feature Description

Minimum-delay bin

Release 26.1.1

Introduced in this release on: Centralized Systems (8400 [ASIC: K100]) (select variants only*)

*This feature is supported on Cisco 8404-SYS-D router.

Minimum-delay bin

Release 25.1.1

Introduced in this release on: Fixed Systems (8200 [ASIC: Q200, P100], 8700 [ASIC: P100, K100]); Centralized Systems (8600 [ASIC:Q200]); Modular Systems (8800 [LC ASIC: Q100, Q200, P100]).

For statistics aggregation, you can now configure a distinct width for the first bin to adjust for large propagation delay. By using this feature, you can avoid wasting several bins that would be empty in some unavoidable situations such as delay due to speed of light limitations.

The feature introduces these changes:

CLI:

YANG Data Models: New XPaths for

  • Cisco-IOS-XR-infra-sla-cfg.yang

  • Cisco-IOS-XR-um-ethernet-sla-cfg.yang

  • Cisco-IOS-XR-infra-sla-oper.yang

(see GitHub, YANG Data Models Navigator)

Information about minimum-delay bin

In situations where a delay is expected in first few iterations, you can specify the width of the first bin independently using the minimum-delay keyword in statistics aggregation configuration. See below examples to configure aggregation with and without minimum-delay support.

The below figure shows the comparision between statistics aggregation before and after minimum-delay configuration.

Figure 1. Comparision diagram before and after minimum-delay configuration

Example 1: Configuring aggregation without minimum-delay

statistics measure round-trip-delay aggregate bins 10 width 150

This configuration has 10 bins and the results being aggregated into the ranges 0-150, 150-300, 300-450 and so on, until 1350+, where the last bin has infinite width to hold all values greater than 1350.

Example 2: Configuring aggregation with minimum-delay

statistics measure round-trip-delay aggregate bins 10 width 55 minimum-delay 1000

Here, the width of the first bin is 1000ms and not 150ms. The width of the other nine bins are aggregated into 1000-1055, 1055-1110, 1110-1165, and so on. This leads to increased resolution with the same number of bins, as all the bins are utilized.

Note

To specify the values of width and minimum-delay in microseconds instead of milliseconds, you must use the usec keyword. For more information, see aggregate and cfm-delay-measurement probe commands.


Configure minimum delay bin support

Before you begin

Make sure that the number of bins for aggregate configuration is at least two.

Procedure

1.

Configure an SLA Operation profile and statistics measurement for the Profile.

Example:

Configure Ethernet Frame Delay Measurement for L2VPN Services.

Router(config)# ethernet sla
Router(config-sla)# profile EVC-1 type cfm-delay-measurement
Router(config-sla-prof)# probe
Router(config-sla-prof-pb)# send packet every 1 seconds
Router(config-sla-prof-pb)# schedule
Router(config-sla-prof-schedule)# every 3 minutes for 120 seconds
Router(config-sla-prof-schedule)# statistics
Router(config-sla-prof-stat)# measure round-trip-delay
Router(config-sla-prof-stat-cfg)# buckets size 1 probes
Router(config-sla-prof-stat-cfg)# buckets archive 5
Router(config-sla-prof-stat-cfg)# commit
2.

Configure aggregation for the SLA profile and then configure the width of the first bin by using the minimum-delay keyword.

Example:

Configure aggregation with bin count of 10 and the width of the first bin as 5 ms.

Router(config-sla-prof-schedule)# statistics
Router(config-sla-prof-stat)# measure round-trip-delay
Router(config-sla-prof-stat-cfg)# aggregate bins 5 width 10 minimum-delay 30
Router(config-sla-prof-stat-cfg)# buckets size 1 probes
Router(config-sla-prof-stat-cfg)# buckets archive 5
Router(config-sla-prof-stat-cfg)# commit
3.

View the running configuration using the show running-config command.

Example:

ethernet sla
 profile EVC-1 type cfm-delay-measurement
  probe
   send packet every 1 seconds
  !
  schedule
   every 3 minutes for 120 seconds
  !
  statistics
   measure round-trip-delay
    aggregate bins 10 width 2 minimum-delay 5
    buckets size 1 probes
    buckets archive 5
   !
4.

Verify the output by using these show commands.

  • show protocol sla operations detail

  • show protocol sla probes

  • show protocol sla statistics

Example:

router# show ethernet sla statistics history detail on-demand
Bucket started at 15:38 on Tue 02 Jul 2024, lasting 1 hour:
    Pkts sent: 1200; …
    Result count: 30
    Min: 13ms; Max: 154ms; Mean: 28ms; StdDev: 11ms
    Bins:
    Range               Samples    Cum. Count      Mean
    -------------  ------------  ------------  --------
     0 to 30 ms        20 (2%)       20 (2%)       37ms
    30 to 35 ms       909 (61%)     929 (77%)      67ms
    35 to 40 ms       212 (18%)    1141 (95%)      75ms
    40 to 45 ms        98 (11%)    1141 (95%)      75ms
     > 45 ms           55  (5%)    1196 (85%)      90ms