DETAILED STEPS Procedure Example The following is sample output from the show gnxi state command: gNMI Protocol Enabling gNMI in Secure Mode Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 gnxi Example: Device(config)# gnxi Starts the gNxI process. Step 4 gnxi secure-trustpoint trustpoint-name Example: Device(config)# gnxi secure-trustpoint trustpoint1 Specifies the trustpoint and cert set that gNxI uses for authentication. Step 5 gnxi secure-server Example:
Device(config)# gnxi secure-server Enables the gNxI server in secure mode. Step 6 gnxi secure-client-auth Example: Device(config)# gnxi secure-client-auth (Optional) The gNxI process authenticates the client certificate against the root certificate. Step 7 gnxi secure-port Example: Device(config)# gnxi secure-port (Optional) Sets the gNxI port to listen to. • The default secure gNxI port is 9339. Step 8 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Step 9 show gnxi state Example: Device# show gnxi state Displays the status of gNxI servers. gNMI Protocol 18