It is assumed that your infrastructure is set up with a gNMI client. Its configuration is beyond the scope of this document.
Configuring a port for the gNMI server to listen on enables securing incoming connection.
SLX# SLX# config terminal SLX (config)#
SLX (config)# gnmi server SLX (config-gNMI-server)#
SLX (config-gNMI-server)# secure-port 48151 SLX (config-gNMI-server)#
The gNMI server will start listening to incoming connections on port number 48151