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

Configure Ethernet SLA statistics measurement in a profile

Want to summarize with AI?

Log in

This topic describes how to configure SLA statistics measurement in a profile by creating an SLA operation profile, enabling collection of SLA statistics, configuring aggregation bins, and configuring bucket size and archive.


To configure SLA statistics measurement in a profile, perform these steps:

Procedure

1.

Enter the Ethernet SLA configuration mode, using the ethernet sla command in Global Configuration mode.

Example:

Router(config)# ethernet sla
2.

Create an SLA operation profile with the profile profile-name type cfm-delay-measurement command.

Example:

Router(config-sla)# profile test type cfm-delay-measurement
3.

Enable the collection of SLA statistics using the statistics measure {one-way-delay-ds | one-way-delay-sd | one-way-jitter-ds | one-way-jitter-sd | round-trip-delay | round-trip-jitter | one-way-loss-ds | one-way-loss-sd} command.

Example:

Router(config-sla-prof)# statistics measure round-trip-delay
4.

Configure the size and number of bins into which to aggregate the results of statistics collection. For delay measurements and data loss measurements, the default is that all values are aggregated into 1 bin. For synthetic loss measurements, by default the aggregation is disabled. Use the aggregate {bins count width [usec] width | none} command to configure the bins.

Example:

Router(config-sla-prof-stat-cfg)# aggregate bins 5 width usec 123
  • For delay and jitter measurements, you can configure a width value from 1 to 10000 milliseconds, if the number of bins is at least 2. To configure the width value in microseconds, use the usec option. You can configure the width value from 1 to 10000000 microseconds.

  • For data loss and synthetic loss measurements, you can configure a width value from 1 to 100 percentage points, if the number of bins is at least 2.

5.

Configure the size of the buckets in which statistics are collected, using the buckets size number probes command.

Example:

Router(config-sla-prof-stat-cfg)# buckets size 1 probes
6.

Configure the number of buckets to store in memory using the buckets archive number command.

Example:

Router(config-sla-prof-stat-cfg)# buckets archive 50
7.

Save the configuration changes using the end or commit command.

Example:

Router(config-sla-prof-stat-cfg)# commit
8.

Verify the configuration.

Example:

/* This example displays aggregate bins configured with a range of 123 microseconds */
Router# show ethernet sla statistics detail
Tue Sep 28 07:59:22.340 PDT
Source: Interface GigabitEthernet0/0/0/2, Domain dom1
Destination: Target MAC Address 0012.0034.0056
================================================================================
Profile 'test', packet type 'cfm-delay-measurement'
Scheduled to run every 1min first at 00:00:31 UTC for 10s
Round Trip Delay
~~~~~~~~~~~~~~~~
1 probes per bucket
No stateful thresholds.
Bucket started at 07:56:31 PDT Tue 28 September 2021 lasting 10s
Pkts sent: 10; Lost: 0 (0.0%); Corrupt: 0 (0.0%);
Misordered: 0 (0.0%); Duplicates: 0 (0.0%)
Result count: 10
Min: 0.000ms, occurred at 07:56:32 PDT Tue 28 September 2021
Max: 1.000ms, occurred at 07:56:31 PDT Tue 28 September 2021
Mean: 0.100ms; StdDev: 0.300ms
Bins:
Range Samples Cum. Count Mean
----------------- ---------- ----------- -------
0 to 0.123 ms 9 (90.0%) 9 (90.0%) 0.000ms
0.123 to 0.246 ms 0 (0.0%) 9 (90.0%) -
0.246 to 0.369 ms 0 (0.0%) 9 (90.0%) -
0.369 to 0.492 ms 0 (0.0%) 9 (90.0%) -
> 0.492 ms 1 (10.0%) 10 (100.0%) 1.000ms
/* This example displays aggregate bins configured with a range of 10 milliseconds */
Router# show ethernet sla statistics detail
Tue Sep 28 08:00:57.527 PDT
Source: Interface GigabitEthernet0/0/0/2, Domain dom1
Destination: Target MAC Address 0012.0034.0056
================================================================================
Profile 'test', packet type 'cfm-delay-measurement'
Scheduled to run every 1min first at 00:00:31 UTC for 10s
Round Trip Delay
~~~~~~~~~~~~~~~~
1 probes per bucket
No stateful thresholds.
Bucket started at 08:00:32 PDT Tue 28 September 2021 lasting 10s
Pkts sent: 9; Lost: 0 (0.0%); Corrupt: 0 (0.0%);
Misordered: 1 (11.1%); Duplicates: 0 (0.0%)
Result count: 9
Min: 0.000ms, occurred at 08:00:32 PDT Tue 28 September 2021
Max: 0.000ms, occurred at 08:00:32 PDT Tue 28 September 2021
Mean: 0.000ms; StdDev: 0.000ms
Results suspect due to a probe starting mid-way through a bucket
Bins:
Range Samples Cum. Count Mean
----------- ---------- ---------- -------
0 to 10 ms 9 (100.0%) 9 (100.0%) 0.000ms
10 to 20 ms 0 (0.0%) 9 (100.0%) -
20 to 30 ms 0 (0.0%) 9 (100.0%) -
30 to 40 ms 0 (0.0%) 9 (100.0%) -
> 40 ms 0 (0.0%) 9 (100.0%) -