google gNMI Protocol Version 0.4.0 — Enabling gNMI in Secure Mode

Enabling gNMI in Secure Mode This task is applicable in Cisco IOS XE Amsterdam 17.3.1 and later releases. Note To stop gNxI in secure mode, use the no gnxi secure-server command. gNxI insecure and secure servers can simultaneously run on a device. Note The gnxi commands apply to both gNMI and gRPC Network Operations Interface (gNOI) services. gNxI tools are a collection of tools for Network Management that use the gNMI and gNOI protocols. Note SUMMARY STEPS 1. enable 2. configure terminal 3. gnxi 4. gnxi secure-trustpoint trustpoint-name 5. gnxi secure-server 6. gnxi secure-client-auth 7. gnxi secure-port 8. end 9.

show gnxi state gNMI Protocol Enabling gNMI in Secure Mode Command or Action Purpose Step 4 gnxi server Example: Device(config)# gnxi server Enables the gNxI server in insecure mode. Step 5 gnxi port port-number Example: (Optional) Device(config)# gnxi port 50000 Sets the gNxI port to listen to. • The default insecure gNxI port is 50052. Step 6 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Step 7 show gnxi state Example: Device# show gnxi state Displays the status of gNxI interfaces. gNMI Protocol 17