Description

Router not sending any telemetry data with transport type as UDP

Symptoms

Non receipt of telemetry data at the collector/receiver with UDP as mode of transport.

Solution

There can be many reasons for non receipt of data at the collecor/receievr, however the current KB talks about one of the scenario where data can't be streamed. 
In the below config  

services {
    analytics {
        streaming-server netarchdevops {
            remote-address aaa.bbb.ccc.ddd; <<<<< Collector/remote server address
            remote-port xxxxx; <<<< port number at the collector/remote server 
        }
        export-profile export-profile-default {
            local-address aaa.bbb.ccc.ddd; <<<<< IP address at the local router 
            local-port yyyyy;  <<<<< Port number at the local router 
            reporting-rate 30;
            format gpb;
            transport udp;
        }
        sensor data-interfaces {
            server-name netarchdevops;
            export-name export-profile-default;
            resource /interfaces/interface;
        }

If you refer the above config,

  1. Remote address and Local address are configured as same.
  2. If both of them are configured as same, there won't be any telemetry data being received at the Collector.

Solution: Local Address and Remote Address must be configured differently.

Modification History

2024-09-06 : Article Created