Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure gRPC service for Dial-out over TCP Connections

Dial-out over TCP connections use the outgoing interface IP address as the source address. Starting from release 24.2, you can configure a source IP address and a routing instance for dial-out over TCP connections. This section describes the procedures for configuring the source IP address and routing instance for dial-out over TCP connections.

Configure an IP Source Address for Dial-out over TCP Connections

Starting from Junos OS Evolved Release 24.2R1, Junos Telemetry supports configuring a source IP address for dial-out over TCP connections on ACX Series routers, PTX Series routers, and QFX Series switches. In earlier releases that dial-out over TCP connections, the outgoing interface IP address is used as the source address without an option to configure a source IP address. This feature supports FLEX Deployments, providing the ability to send dial-out from the router's specified IP address or interface address (such as a loopback0 address).

If you do not configure a local address, the default local address is used.

Note:

Starting with Junos OS release 25.4R1, the format and transport options are deprecated. Use the CLI option dialout-type at the [edit services analytics export-profile name] hierarchy to specify the type of dial-out connection. Select the option native-grpc-gpb for gpb-gnmi message format.

To configure a local address:

  1. In configuration mode, go to the [edit services analytics export-profile] hierarchy level and add the name of your export profile (here ep1).
  2. Include the local-address statement (here, with IPv6 address 2000:200::20).

    You can only use an IPv6 address for dial-out over TCP connections . IPv6 addresses are not supported by UDP transport.

  3. Use the following operational mode command to confirm the local address configuration.

    The export file ep1 shows the IPv6 address 2000:200::20 as the local address.

Configure a Routing Instance for Dial-out over TCP Connections

Starting with Junos OS Evolved Release 24.2R1, Junos Telemetry supports configuring a routing instance for dial-out over TCP connections on ACX Series routers, PTX Series routers, and QFX Series switches.

If you do not configure a routing instance, the default routing instance is used.

Note:

Starting with Junos OS release 25.4R1, the format and transport options are deprecated. Use the CLI option dialout-type at the [edit services analytics export-profile name] hierarchy to specify the type of dial-out connection. Select the option native-grpc-gpb for gpb-gnmi message format .

To configure a routing instance:

  1. In configuration mode, go to the [edit services analytics export-profile] hierarchy level and add the name of your export profile (here ep1).
  2. Include the routing-instance statement (here, with routing instance mgmt-1).

    You can only configure a routing instance for dial-out over TCP connections .

  3. Use the following operational mode command to confirm the routing instance configuration.

    The export file ep1 displays the routing instance as mgmt-1.