パス単位またはセグメントリスト単位のトラフィック統計情報
セグメントルーティングトラフィックエンジニアリング(SRTE)トラフィック統計収集機能により、SRTEトンネルを通過するイングレスIPトラフィックとトランジットMPLSトラフィックの両方のトラフィック統計を収集できます。この機能により、トンネルレベルとパスごとのレベルの両方で統計情報を設定でき、トラフィックフローに関する詳細なインサイトを得ることができます。このセクションでは、SRTE トンネルの各サブ候補パスに固有の、適用されるパスごとまたはセグメントリストごとのトラフィック統計について説明します。
セグメントごとのリストを設定して、SRTEがセンサーIDと統計ハンドラーを生成できるようにすることができます。SRTE ルート ゲートウェイは、センサー ID を含む統計情報ハンドラーをダウンロードします。ハンドラーはルートプログラミング中にゲートウェイを操作し、システムがパケット転送エンジン(FIB)にルートをダウンロードすると、センサー情報をパケット転送エンジン(PFE)にプッシュします。PFE からトラフィック統計を収集するために、イングレスとトランジットの 2 つのオプションのパスレベルセンサーを使用できます。
センサー名の生成は、色付きトンネルと色なしトンネルによって異なります。
-
色付きトンネルの場合、センサー名の形式は変更されません。以前はサブ候補パスIDで入力されていたセグメントIDが、セグメントリストIDを使用するようになりました。
-
色付けされていないトンネルの場合は、サブ候補のパス名ではなく、センサー名の最後のコンポーネント(lsp-name)を再利用してセグメントリストIDを埋めます。セグメントIDは、両方のトンネルタイプで16進形式を使用します。
サンプルは、センサー名の形式を示し、その形式の変更を強調表示します。
| トンネルタイプ | センサータイプ | 現在のフォーマット | 変更後のフォーマット |
| カラー | イングレス | 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 |
| トランジット | 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 | |
| 無色 | イングレス | i;st;0;f;トンネル-1;SCpath1 | i;st;0;f;トンネル-1;80 |
| トランジット | t;セント;0;f;トンネル-1;SCpath1 | t;セント;0;f;トンネル-1;80 |
パスごとのトラフィック統計の設定
設定
セグメントリストごとのセンサーを設定することで、セグメントリストごとに固有のテレメトリセンサーが作成されます。
user@host# show protocols source-packet-routing telemetry
statistics {
per-source {
per-segment-list;
}
}
user@host# show protocols source-packet-routing segment-list SCpath2
hop1 label 400300;
hop2 label 400400;
{master}[edit]
user@host# show protocols source-packet-routing segment-list SCpath1
hop1 label 400400;
user@host# show protocols source-packet-routing source-routing-path tunnel-1
to 4.4.4.4;
binding-sid 1000010;
primary {
SCpath1;
SCpath2;
}
user@host# show spring-traffic-engineering lsp name tunnel-1 detail
Name: tunnel-1
Tunnel-source: Static configuration
Tunnel Forward Type: SRMPLS
To: 4.4.4.4-10<c>
Binding SID Label:1000010
20 Bit MPLS Label, State: Allocated
State: Up
Path: SCpath1
Path Status: Up
Outgoing interface: NA
Auto-translate status: Disabled Auto-translate result: N/A
Compute Status:Enabled , Compute Result:success , Compute-Profile Name:pro1
Total number of computed paths: 2
Segment ID : 128
Telemetry Ingress statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-80, Id: 3758096417
Telemetry transit statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-80-f424a, Id: 3758096418
Computed-path-index: 1
BFD status: N/A BFD name: N/A
BFD remote-discriminator: N/A
TE metric: 30, IGP metric: 30
Delay metrics: Min: 50331645, Max: 50331645, Avg: 50331645
Metric optimized by type: TE
computed segments count: 3
computed segment : 1 (computed-adjacency-segment):
label: 400103
source router-id: 1.1.1.1, destination router-id: 2.2.2.2
source interface-address: 11.2.1.1, destination interface-address: 11.2.1.2
computed segment : 2 (computed-adjacency-segment):
label: 400202
source router-id: 2.2.2.2, destination router-id: 3.3.3.3
source interface-address: 22.1.1.2, destination interface-address: 22.1.1.3
computed segment : 3 (computed-adjacency-segment):
label: 400301
source router-id: 3.3.3.3, destination router-id: 4.4.4.4
source interface-address: 33.1.1.3, destination interface-address: 33.1.1.4
Segment ID : 129
Telemetry Ingress statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-81, Id: 3758096419
Telemetry transit statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-81-f424a, Id: 3758096420
Computed-path-index: 2
BFD status: N/A BFD name: N/A
BFD remote-discriminator: N/A
TE metric: 30, IGP metric: 30
Delay metrics: Min: 50331645, Max: 50331645, Avg: 50331645
Metric optimized by type: TE
computed segments count: 3
computed segment : 1 (computed-adjacency-segment):
label: 400105
source router-id: 1.1.1.1, destination router-id: 2.2.2.2
source interface-address: 11.4.1.1, destination interface-address: 11.4.1.2
computed segment : 2 (computed-adjacency-segment):
label: 400202
source router-id: 2.2.2.2, destination router-id: 3.3.3.3
source interface-address: 22.1.1.2, destination interface-address: 22.1.1.3
computed segment : 3 (computed-adjacency-segment):
label: 400301
source router-id: 3.3.3.3, destination router-id: 4.4.4.4
source interface-address: 33.1.1.3, destination interface-address: 33.1.1.4
Path: SCpath2
Path Status: Up
Outgoing interface: NA
Auto-translate status: Disabled Auto-translate result: N/A
Compute Status:Enabled , Compute Result:success , Compute-Profile Name:pro2
Total number of computed paths: 2
Segment ID : 256
Telemetry Ingress statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-100, Id: 3758096421
Telemetry transit statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-100-f424a, Id: 3758096422
Computed-path-index: 1
BFD status: N/A BFD name: N/A
BFD remote-discriminator: N/A
TE metric: 30, IGP metric: 30
Delay metrics: Min: 50331645, Max: 50331645, Avg: 50331645
Metric optimized by type: Minimum-Delay
computed segments count: 3
computed segment : 1 (computed-adjacency-segment):
label: 400103
source router-id: 1.1.1.1, destination router-id: 2.2.2.2
source interface-address: 11.2.1.1, destination interface-address: 11.2.1.2
computed segment : 2 (computed-adjacency-segment):
label: 400202
source router-id: 2.2.2.2, destination router-id: 3.3.3.3
source interface-address: 22.1.1.2, destination interface-address: 22.1.1.3
computed segment : 3 (computed-adjacency-segment):
label: 400301
source router-id: 3.3.3.3, destination router-id: 4.4.4.4
source interface-address: 33.1.1.3, destination interface-address: 33.1.1.4
Segment ID : 257
Telemetry Ingress statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-101, Id: 3758096423
Telemetry transit statistics:
Sensor-name: 4.4.4.4-a-1e-0-0.0.0.0-0-101-f424a, Id: 3758096424
Computed-path-index: 2
BFD status: N/A BFD name: N/A
BFD remote-discriminator: N/A
TE metric: 30, IGP metric: 30
Delay metrics: Min: 50331645, Max: 50331645, Avg: 50331645
Metric optimized by type: Minimum-Delay
computed segments count: 3
computed segment : 1 (computed-adjacency-segment):
label: 400105
source router-id: 1.1.1.1, destination router-id: 2.2.2.2
source interface-address: 11.4.1.1, destination interface-address: 11.4.1.2
computed segment : 2 (computed-adjacency-segment):
label: 400202
source router-id: 2.2.2.2, destination router-id: 3.3.3.3
source interface-address: 22.1.1.2, destination interface-address: 22.1.1.3
computed segment : 3 (computed-adjacency-segment):
label: 400301
source router-id: 3.3.3.3, destination router-id: 4.4.4.4
source interface-address: 33.1.1.3, destination interface-address: 33.1.1.4