Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Per-Path or Per-Segment-List Traffic Statistics

The Segment Routing Traffic Engineering (SRTE) Traffic Statistics Collection feature enables you to gather traffic statistics for both ingress IP traffic and transit MPLS traffic traversing SRTE tunnels. This functionality allows you to configure statistics at both the tunnel level and the per-path level, providing granular insights into traffic flow. This section describes about the applied per-path or per-segment-list traffic statistics that is unique for each sub candidate path of a SRTE tunnel.

You can configure per-segment-list to enable SRTE to generate a sensor ID and statistics handler. SRTE route gateways download the statistics handler, including the sensor ID. The handler operates the gateway during route programming, pushing sensor information to the Packet Forwarding Engine (PFE) if the system downloads the route to the Forwarding Information Base (FIB). To collect traffic statistics from the PFE, two optional path-level sensors are available: Ingress and Transit.

Sensor name generation varies for colored and uncolored tunnels.

  • For colored tunnels, the sensor name format remains unchanged. The segment ID, previously filled with the sub-candidate path ID, now uses the segment-list ID.

  • For uncolored tunnels, reuse the last component of the sensor name (lsp-name) to fill the segment-list ID instead of the sub-candidate path name. The segment ID uses a hexadecimal format for both tunnel types.

A sample shows the sensor name format and highlights changes in that format.

Table 1: Sensor Name Format
Tunnel Type Sensor Type Current Format Format after the change
Colored Ingress 4.4.4.4-2-1e-0-0.0.0.0-0-80 4.4.4.4-2-1e-0-0.0.0.0-0-80
Transit 4.4.4.4-2-1e-0-0.0.0.0-0-80-f4241 4.4.4.4-2-1e-0-0.0.0.0-0-80-f4241
Uncolored Ingress i;st;0;f;tunnel-1;SCpath1 i;st;0;f;tunnel-1;80
Transit t;st;0;f;tunnel-1;SCpath1 t;st;0;f;tunnel-1;80

Configuring Per-Path Traffic Statistics

Configuration

By configuring per-segment-list sensor, a unique telemetry sensor is created for each segment-list.

The output of the above configuration is as shown here: