gNMI Server Configuration

Configures the secure gNMI server.

Syntax

gNMI server
no gNMI server

Command Default

By default, non TLS gNMI server runs on port 9339.

Examples

This configures a secure-port for TLS gNMI server. Choose a unique port in the range of 1024 to 49151. TLS certificates are to be imported for gNMI server should be imported before configuring the secure-port. For importing TLS server certificate, refer to crypto ca import-pkcs section.

SLX# configure terminal
Entering configuration mode terminal
SLX(config)# gNMI server
SLX(config-gNMI-server)# secure-port ?
Possible completions:
<NUMBER:1024-49151>   Port range from 1024 to 49151
SLX(config-gNMI-server)# secure-port <NUMBER>

Example

Example.

SLX(config-gNMI-server)# secure-port 9449
Use the show running-config gNMI command to view the configuration.

Example

Unconfigures the secure gNMI server. Henceforth, non-TLS gNMI server will be running.

SLX(config-gNMI-server)# no secure-port