API Guide

Supported
releases
10.4.3.0 or later
encoding
Configures the encoding format used to stream telemetry data to a destination device.
Syntax
encoding format
Parameters format Enter the gpb (Google protocol buffer) encoding format in which data is streamed.
Default None
Command mode SUBSCRIPTION-PROFILE
Usage
information
The no version of the command removes the configured encoding format from a subscription profile.
Example
OS10(conf-telemetry)# subscription-profile subscription-1
OS10(conf-telemetry-sp-subscription-1)# encoding gpb
Supported
releases
10.4.3.0 or later
transport
Configures the transport protocol used to stream telemetry data to a remote management device.
Syntax
transport protocol [no-tls]
Parameters
protocol Enter the gRPC (Google remote procedure call) transport protocol used for telemetry
sessions.
no-tls (Optional) Disable Transport Security Layer (TLS) certificate exchange with gRPC
transport.
Default OS10 telemetry uses the gRPC protocol for transport with TLS certificates enabled.
Command mode SUBSCRIPTION-PROFILE
Usage
information
gRPC with TLS transport is enabled by default. To use gRPC over TLS transport, you must install a
X.509v3 certificate on the switch. To disable TLS certificate exchange, use the transport grpc no-
tls command.
NOTE: gRPC with TLS transport does not support host certificates. To use a CA certificate, see
Request and install host certificates.
The no version of the command removes the configured transport protocol from a subscription profile.
Example
OS10(conf-telemetry)# subscription-profile subscription-1
OS10(conf-telemetry-sp-subscription-1)# transport grpc
Supported
releases
10.4.3.0 or later
source-interface
Configures the source interface used to stream telemetry data to a destination device.
Syntax
source-interface interface
Parameters interface One of the following values:
Telemetry 1379