Mailing List Archive

telemetry on IOS XE
Hi
I'm trying to run telemetry on IOS XE (Catalyst 9300) but without lack.

My config:

test#sh run | sec tele
telemetry ietf subscription 1
encoding encode-kvgpb
filter xpath
/process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
source-address 10.0.0.147
source-vrf Mgmt-vrf
stream yang-push
update-policy periodic 500
receiver ip address 10.0.3.16 12345 protocol grpc-tcp

But it's not working:
#show telemetry ietf subscription all
The process for the command is not responding or is otherwise unavailable

Any ideas ?

Running IOS XE 17.02.01

Rob
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: telemetry on IOS XE [ In reply to ]
Have you enabled netconf-yang?

On Fri, 19 Jun 2020 at 20:46, Robert Hass <robhass@gmail.com> wrote:

> Hi
> I'm trying to run telemetry on IOS XE (Catalyst 9300) but without lack.
>
> My config:
>
> test#sh run | sec tele
> telemetry ietf subscription 1
> encoding encode-kvgpb
> filter xpath
> /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
> source-address 10.0.0.147
> source-vrf Mgmt-vrf
> stream yang-push
> update-policy periodic 500
> receiver ip address 10.0.3.16 12345 protocol grpc-tcp
>
> But it's not working:
> #show telemetry ietf subscription all
> The process for the command is not responding or is otherwise unavailable
>
> Any ideas ?
>
> Running IOS XE 17.02.01
>
> Rob
> _______________________________________________
> cisco-nsp mailing list cisco-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: telemetry on IOS XE [ In reply to ]
Yes I did

#sh run | inc netconf
netconf-yang

#show platform software yang-management process
confd : Running
nesd : Running
syncfd : Running
ncsshd : Running
dmiauthd : Running
nginx : Running
ndbmand : Running
pubd : Running
gnmib : Not Running

On Sat, Jun 20, 2020 at 12:02 AM Dave Bell <dave@geordish.org> wrote:

> Have you enabled netconf-yang?
>
> On Fri, 19 Jun 2020 at 20:46, Robert Hass <robhass@gmail.com> wrote:
>
>> Hi
>> I'm trying to run telemetry on IOS XE (Catalyst 9300) but without lack.
>>
>> My config:
>>
>> test#sh run | sec tele
>> telemetry ietf subscription 1
>> encoding encode-kvgpb
>> filter xpath
>> /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
>> source-address 10.0.0.147
>> source-vrf Mgmt-vrf
>> stream yang-push
>> update-policy periodic 500
>> receiver ip address 10.0.3.16 12345 protocol grpc-tcp
>>
>> But it's not working:
>> #show telemetry ietf subscription all
>> The process for the command is not responding or is otherwise unavailable
>>
>> Any ideas ?
>>
>> Running IOS XE 17.02.01
>>
>> Rob
>> _______________________________________________
>> cisco-nsp mailing list cisco-nsp@puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>
>
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: telemetry on IOS XE [ In reply to ]
A while back when I was experimenting this is the configuration I had
running on a CSR1k 16.12.0

netconf-yang

telemetry ietf subscription 1
encoding encode-kvgpb
filter xpath /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
source-address 192.168.0.2
stream yang-push
update-policy periodic 5000
receiver ip address 10.0.2.1 57000 protocol grpc-tcp


Apart from the VRF statement that is exactly what you have.

Coincidently I’m trying to get this working on IOS XR with no success. A
variety of versions, and I’m also having issues. I’m using the same config
I tested a while back, but as with you I’m trying to source it in a VRF.

I’ve got a TAC case open, however I’ve got a feeling it’s going to come
back as unsupported.

On Sat, 20 Jun 2020 at 06:42, Robert Hass <robhass@gmail.com> wrote:

> Yes I did
>
> #sh run | inc netconf
> netconf-yang
>
> #show platform software yang-management process
> confd : Running
> nesd : Running
> syncfd : Running
> ncsshd : Running
> dmiauthd : Running
> nginx : Running
> ndbmand : Running
> pubd : Running
> gnmib : Not Running
>
> On Sat, Jun 20, 2020 at 12:02 AM Dave Bell <dave@geordish.org> wrote:
>
>> Have you enabled netconf-yang?
>>
>> On Fri, 19 Jun 2020 at 20:46, Robert Hass <robhass@gmail.com> wrote:
>>
>>> Hi
>>> I'm trying to run telemetry on IOS XE (Catalyst 9300) but without lack.
>>>
>>> My config:
>>>
>>> test#sh run | sec tele
>>> telemetry ietf subscription 1
>>> encoding encode-kvgpb
>>> filter xpath
>>> /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
>>> source-address 10.0.0.147
>>> source-vrf Mgmt-vrf
>>> stream yang-push
>>> update-policy periodic 500
>>> receiver ip address 10.0.3.16 12345 protocol grpc-tcp
>>>
>>> But it's not working:
>>> #show telemetry ietf subscription all
>>> The process for the command is not responding or is otherwise unavailable
>>>
>>> Any ideas ?
>>>
>>> Running IOS XE 17.02.01
>>>
>>> Rob
>>> _______________________________________________
>>> cisco-nsp mailing list cisco-nsp@puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>>
>>
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: telemetry on IOS XE [ In reply to ]
For XR - make sure you specify src addr in TPA context -
tpa
vrf abc
address-family ipv4
update-source MgmtEth0/RP0/CPU0/0

Have not played with XE telemetry but I would check subsystem components:
show platform software yang-management process

HTH

On Sat, Jun 20, 2020 at 3:43 AM Dave Bell <dave@geordish.org> wrote:

> A while back when I was experimenting this is the configuration I had
> running on a CSR1k 16.12.0
>
> netconf-yang
>
> telemetry ietf subscription 1
> encoding encode-kvgpb
> filter xpath
> /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
> source-address 192.168.0.2
> stream yang-push
> update-policy periodic 5000
> receiver ip address 10.0.2.1 57000 protocol grpc-tcp
>
>
> Apart from the VRF statement that is exactly what you have.
>
> Coincidently I’m trying to get this working on IOS XR with no success. A
> variety of versions, and I’m also having issues. I’m using the same config
> I tested a while back, but as with you I’m trying to source it in a VRF.
>
> I’ve got a TAC case open, however I’ve got a feeling it’s going to come
> back as unsupported.
>
> On Sat, 20 Jun 2020 at 06:42, Robert Hass <robhass@gmail.com> wrote:
>
> > Yes I did
> >
> > #sh run | inc netconf
> > netconf-yang
> >
> > #show platform software yang-management process
> > confd : Running
> > nesd : Running
> > syncfd : Running
> > ncsshd : Running
> > dmiauthd : Running
> > nginx : Running
> > ndbmand : Running
> > pubd : Running
> > gnmib : Not Running
> >
> > On Sat, Jun 20, 2020 at 12:02 AM Dave Bell <dave@geordish.org> wrote:
> >
> >> Have you enabled netconf-yang?
> >>
> >> On Fri, 19 Jun 2020 at 20:46, Robert Hass <robhass@gmail.com> wrote:
> >>
> >>> Hi
> >>> I'm trying to run telemetry on IOS XE (Catalyst 9300) but without lack.
> >>>
> >>> My config:
> >>>
> >>> test#sh run | sec tele
> >>> telemetry ietf subscription 1
> >>> encoding encode-kvgpb
> >>> filter xpath
> >>> /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
> >>> source-address 10.0.0.147
> >>> source-vrf Mgmt-vrf
> >>> stream yang-push
> >>> update-policy periodic 500
> >>> receiver ip address 10.0.3.16 12345 protocol grpc-tcp
> >>>
> >>> But it's not working:
> >>> #show telemetry ietf subscription all
> >>> The process for the command is not responding or is otherwise
> unavailable
> >>>
> >>> Any ideas ?
> >>>
> >>> Running IOS XE 17.02.01
> >>>
> >>> Rob
> >>> _______________________________________________
> >>> cisco-nsp mailing list cisco-nsp@puck.nether.net
> >>> https://puck.nether.net/mailman/listinfo/cisco-nsp
> >>> archive at http://puck.nether.net/pipermail/cisco-nsp/
> >>>
> >>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/