04-19-2020 01:07 AM
Hello All,
Could anyone suggest what is the proper way to enable gRPC server on asr9k running IOSXR 6.6.3 64-bit?
My setup:
asr9k router - {other routers} - servers running VM with telegraf docker
- VM is able to reach asr9k Loopback in VRF (ping/ssh)
- gRPC connection times out from telegraf and also telnet/nc test from VM to asr9k IP:port times out
asr9k config:
#sh run int lo10
interface Loopback10
vrf test1
ipv4 address 10.0.0.10 255.255.255.255
#sh run tpa tpa vrf test1 address-family ipv4 update-source dataports Loopback10 ! #sh run grpc grpc vrf test1 port 57777 no-tls address-family ipv4 !
I don't see asr9k listening on tcp/57777
#sh tcp brief | i 5777 #
telnet tcp/57777 from VM:
$ nc -vz 10.0.0.10 57777 nc: connect to 10.0.0.10 port 57777 (tcp) failed: Connection timed out
Is something wrong with the config? something missing? any suggestions?
thanks
Solved! Go to Solution.
04-20-2020 07:31 AM
I got confirmation from Cisco Engineer that this setup gRPC in VRF is not fully supported at the moment.
there are two workarounds:
1) use gRPC server in VRF using MGMT port as source interface, collector also has to be reachable via MGMT interface.
there might be some feature/scaling limitations so consult with cisco if you want to deploy it this way.
2) use gRPC in GRT -> this is fully supported and there should be no limitations.
04-20-2020 07:31 AM
I got confirmation from Cisco Engineer that this setup gRPC in VRF is not fully supported at the moment.
there are two workarounds:
1) use gRPC server in VRF using MGMT port as source interface, collector also has to be reachable via MGMT interface.
there might be some feature/scaling limitations so consult with cisco if you want to deploy it this way.
2) use gRPC in GRT -> this is fully supported and there should be no limitations.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide