Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

server (HTTP Servers)

Syntax

Hierarchy Level

Description

Configure gRPC server settings. You can configure multiple servers that host different sets of services on unique ports. Distributing services across different ports allows for better allocation of network resources, reducing the risk of port conflicts and optimizing server performance.

You can optionally customize each server to specify the listening address, routing instance, and certificates.

Note:

The gRPC server configurations at the [edit system services http servers] hierarchy level and the [edit system services extension-service request-response grpc] hierarchy level are mutually exclusive.

Options

name

User-defined identifier for the server. You can configure a maximum of 5 servers.

grpc service

Specify one or more gRPC services hosted by this server. Configure multiple services as a space-separated list enclosed in square brackets. You can include the following services:

  • all-grpc—All gRPC services

  • enrollz-attestz—Enrollz and Attestz services

  • gnmi—gNMI services

  • gnoi—gNOI services

  • gribi—gRIBI services

  • p4—p4 services

listen-address address

(Optional) Specify the IPv4 or IPv6 address on which the server listens for incoming connections.

  • Default: 0.0.0.0 or ::

max-connections max-connections

(Optional) Define the maximum number of client connections accepted by the server.

  • Default: 5

  • Range:

    (Junos OS) 1 through 30
    (Junos OS Evolved) 1 through 300

port port

Define the port on which the server listens for incoming connections. You must configure a unique port for each server.

  • Range: 1 through 65535

routing-instance routing-instance

(Optional) Specify the routing instance to use for the server.

The remaining statements are explained separately. See CLI Explorer.

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 Release 25.2R1 and Junos OS Evolved Release 25.2R1.