cisco IOS XE 17.16.x — Configuring and Enabling a Target

Connecting to GNMIB Using the gRPC Tunnel In the gRPC tunnel design, the traditional flow is reversed. The network device dials out to the gRPC tunnel server. This leads to the gRPC tunnel server and any gNMI or gNOI clients to be unaware of the network device addresses and locations. Also, the network devices can access the gRPC tunnel server even if its outgoing connections are blocked. Figure 10: A New Method of Connecting to GNMIB How to Configure gNMI Dial-Out Using gRPC Tunnel Service The following sections provide detailed information about the configurations that comprise the larger gNMI dial-out using gRPC tunnel service configuration.

Configuring and Enabling a Target Run the following commands on a network device to configure and enable the target: SUMMARY STEPS 1. enable 2. configure terminal 3. gnxi grpctunnel target { GNMI_GNOI | GNMI_GNOI_INSECURE } 4. enable 5. end Model-Driven Programmability Connecting to GNMIB Using the gRPC Tunnel Programmability Configuration Guide, Cisco IOS XE 17.16.x 297