cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1184
Views
0
Helpful
1
Replies

gRPC server configuration for eXR 6.6.3 on asr9k

patoh
Level 1
Level 1

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

 

1 Accepted Solution

Accepted Solutions

patoh
Level 1
Level 1

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.

View solution in original post

1 Reply 1

patoh
Level 1
Level 1

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: