server (HTTP Servers)
Syntax
server name { grpc [service1 service2 ... ]; listen-address address; max-connections max-connections; port port; routing-instance routing-instance; tls { local-certificate certificate-id; mutual-authentication { authentication-type (dont-request-cert | request-and-require-cert-and-verify | request-and-require-cert-but-dont-verify | request-cert-and-verify | request-cert-but-dont-verify); certificate-authority certificate-authority-profile-name; } } }
Hierarchy Level
[edit system services http servers]
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.
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:
|
listen-address address |
(Optional) Specify the IPv4 or IPv6 address on which the server listens for incoming connections.
|
max-connections max-connections |
(Optional) Define the maximum number of client connections accepted by the server.
|
port port |
Define the port on which the server listens for incoming connections. You must configure a unique port for each server.
|
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.