10. end DETAILED STEPS Procedure Model-Driven Programmability Configuring a gRPC Tunnel 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 grpctunnel destination destination-name Example: Device(config)# gnxi grpctunnel destination foobar Configures a gRPC tunnel destination and enters destination configuration mode. Step 4 enable Example: Device(config-destination)# enable % node-1:dbm:gnmi:Destination address must be set when destination is enabled Enables the tunnel destination.
Step 5 address IP-address Example: Device(config-destination)# address 209.165.200.225 Configures the destination IP address. Step 6 port port-number Example: Device(config-destination)# port 1234 Configures the destination port. • Valid values for the port-number argument are from 0 to 65535. Step 7 identity-trustpoint trustpoint-name Example: Device(config-destination)# identity-trustpoint trustpoint1 Configures the specified trustpoint certificate as the TLS identity when connecting securely to a destination. Step 8 source-address IP-address Example:
Device(config-destination)# source-address 209.165.201.30 Configures the outgoing source address to use when connecting to the tunnel server or destination. Programmability Configuration Guide, Cisco IOS XE 17.16.x 299