Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure SR-TE for Uncolored Ingress LSPs

Enable SR-TE telemetry statistics by first configuring SR-TE on a device.

Supporting Uncolored Sensor Paths

Segment routing uses a segment list to enable static segment routing LSPs to steer traffic based on segment routing policies. When a segment list is used by a protocol, the protocol validates these segment identifiers and selects valid segments for traffic engineering.

When configured, the segment-list of a segment routing traffic engineering (SR-TE) LSP accepts both IP addresses and labels. There are two models based on these options:

  1. Direct resolution- In this model, LSP accepts the IP address as the first hop.
  2. Indirect resolution- This model uses only labels.

Table 1 shows the segment routing traffic engineering (SR-TE) ingress sensors that would be installed on the packet forwarding engine In order to view the statistics that are being enabled in an SR-TE configuration.

Table 1: SR-TE Ingress Sensors

Path

Sensor

Sensor Name

Sensor Subtype

Description

2

/junos/services/segment-routing/traffic-engineering/tunnel/ingress/usage/

ingress-lsp1

SRTE TUNNEL INGRESS

Streams uncolored SR-TE tunnel statistics.

3

/junos/services/segment-routing/traffic-engineering/tunnel/lsp/ingress/usage/

i;st;0;f;lsp1;path1

i;st;0;f;lsp1;path2

SRTE PER-TUNNEL PER-LSP INGRESS

Streams uncolored SR-TE per-tunnel statistics.

In order to stream statistics for these sensors, you must configure SR-TE for each path and enable statistics in order to collect data that can be streamed through a sensor subscription from a device to a collector. See the sections below for sample configurations and operational mode output.

Configure SR-TE for Uncolored SR-TE Tunnel Statistics

To stream uncolored SR-TE tunnel statistics, refer to the uncolored SR-TE configuration below to create a segment list and enable static segment routing LSPs to steer traffic based on segment routing policies.

Configure Path 2

Use the show agent sensors detail operational mode command to display ingress-lsp1 sensor details.

Configure SR-TE for Uncolored SR-TE Per-tunnel Statistics

To stream uncolored SR-TE per-tunnel statistics, refer to the uncolored SR-TE configuration below to create a segment list and enable static segment routing LSPs to steer traffic based on segment routing policies.

Configure Path 3

Use the show agent sensors detail operational mode command to display sensor i;st;0;f;lsp1;path1 and sensor i;st;0;f;lsp1;path2 details.