I am using a virtual router using Cisco ISO image (c8000v-universalk9.17.05.01a) deployed on a VM. The version information on the virtual router is as below -
Cisco IOS XE Software, Version 17.05.01a
Cisco IOS Software [Bengaluru], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.5.1a, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2021 by Cisco Systems, Inc.
Compiled Sun 11-Apr-21 17:14 by mcpre
I created a few Telemetry subscriptions (on Cisco-IOS-XE-process-cpu-oper.yang, Cisco-IOS-XE-process-memory-oper.yang) following the steps from the Cisco document. It worked and telemetry data was received on the configured receiver.
Next, I created a subscription on MIB yang (CISCO-PROCESS-MIB.yang). I followed similar steps as before -
#enable #conf t Enter configuration commands, one per line. End with CNTL/Z. (config)#telemetry ietf subscription 100 (config-mdt-subs)#stream yang-push (config-mdt-subs)#filter xpath /CISCO-PROCESS-MIB:CISCO-PROCESS-MIB/cpmCPUTotalTable/cpmCPUTotalEntry/cpmCPUMemoryHCFree (config-mdt-subs)#update-policy periodic 500 (config-mdt-subs)#encoding encode-kvgpb (config-mdt-subs)#source-address xx.xx.xx.xx (config-mdt-subs)#receiver ip address xx.xx.xx.xx 57000 protocol grpc-tcp (config-mdt-subs)#end
The subscription is reported valid (show telemetry ietf subscription all). The receiver is reported to be connected (show telemetry ietf subs 100 receiver). But this time receiver is not receiving any data for this subscription. I tried other yang modules from the MIBS folder but again no data was received on the receiver.
Any idea/input on what is going wrong here?