Three profiles can be configured for telemetry streaming.
Complete the following steps to configure the device to perform telemetry streaming for the MPLS traffic statistics data.
device# configure
device(config)# telemetry profile <profile-type> <telemetry-profile-name>
device(config-mpls-traffic-lsp-default_mpls_traffic_lsp_statistics)# lsp <lsp-name>
device(config-mpls-traffic-bypass-default_mpls_traffic_bypass_statistics)# bypass-lsp <bypass-lsp-name>
device(config-mpls-traffic-fec-default_mpls_traffic_fec_statistics)# fec <fec-address>
device(config-mpls-traffic-fec-default_mpls_traffic_fec_statistics)# add out-packets
For example, you can set the interval to 325.
device(config-mpls-traffic-fec-default_mpls_traffic_fec_statistics)# interval 325
The following example shows how to display the MPLS Traffic LSP Profile.
device# show running-config telemetry profile mpls-traffic-lsp default_mpls_traffic_lsp_statistics telemetry profile mpls-traffic-lsp default_mpls_traffic_lsp_statistics interval 240 lsp lsp1 lsp lsp2 add out-packets add out-bytes
The following example shows how to display the MPLS Traffic Bypass LSP Profile.
device# show running-config telemetry profile mpls-traffic-bypass default_mpls_traffic_bypass_statistics telemetry profile mpls-traffic-bypass default_mpls_traffic_bypass_statistics interval 240 bypass-lsp byp1 bypass-lsp byp2 add out-packets add out-bytes
The following example shows how to display the MPLS Traffic FEC Profile.
device# show running-config telemetry profile mpls-traffic-fec default_mpls_traffic_fec_statistics telemetry profile mpls-traffic-fec default_mpls_traffic_fec_statistics interval 240 fec 10.20.30.1 fec 10.19.30.3 add out-packets add out-bytes