secure-port

Configures the port on which the SLX-OS device will listen for incoming secure connections. Configure a port in the range 1024-49151.

Syntax

secure-port port-number
[no] secure-port

Command Default

By default, the gNMI server listens on port 9339. Connections on this port are not secured.

Parameters

port-number
Configures the port on which the gNMI server will listen for incoming connections. Configure a port in the range 1024-49151.

Modes

gNMI Server mode.

Usage Guidelines

The presence of this configuration indicates that gNMI access is secure. If this configuration is not present, then the access is insecure. You can also use the default port 9339 as a secure port. To do so, configure the port as the secure port. This configuration works along with the minimum TLS version support to enhance security.

Examples

This example configures the secure gNMI port as 48151

SLX (config)# gnmi server 
SLX (config-gNMI-server)#  secure-port 48151