Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

grpc-tunnel

Syntax

Hierarchy Level

Description

Configure gRPC tunnel settings.

Options

retry-interval

Optional. Specify the time after which the target retries to connect again if the tunnel-server is not reachable. There is no limit on the number of times the target tries to connect to the server.

  • Range: 10-300

  • Default: 30 seconds

server

Specify the tunnel server name. A maximum of 10 tunnel servers can be configured at a time.

address

Specify the dial-to IPv4/IPv6 address or hostname of the tunnel server.

port

Specify the port number the tunnel server listens to.

credentials

Configure options for TLS based authentication.

tls

Configure TLS certificate related options.

certificate-id

Optional. Specify the local tunnel client certificate-id loaded in the PKI hierarchy.

Mandatory in cases where mutual authentication is required and the client must present the certificate to the server.

ca-profiles

Optional. Specify the list of CAs to validate the certificate of the tunnel server. If

not specified, the gRPC tunnel utilizes the loaded Cas through PKI hierarchy to validate the server certificate.

targets

Specify the list of target applications that are to be made available. It may contain one or more target types.

  • Values: ssh, netconf-ssh, gnmi-gnoi

target-string-option

Optional. Configure to modify the target string that gets registered with the tunnel server.

pattern

Optional. Specify the list of supported options. You can use this statement to select the string to be created using the options.

  • Default: hostname

  • Values: hostname, vendor, model, version, custom

custom-string

Specify the string to be used when pattern contains custom as one of the options.

delimiter

Specify a character to act as the delimiter.

  • Default: | (pipe character)

Required Privilege Level

system— To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS and Junos OS Evolved Release 22.4R1.