API Guide

Table 135. Pre-configured sensor group (continued)
Pre-configured sensor group Minimum sampling interval (milliseconds)
System 15000
Configure a destination group
A destination group defines the destination servers to which streaming telemetry data is sent.
1. Enter the destination group name in TELEMETRY mode. A maximum of 32 characters.
OS10(conf-telemetry)# destination-group group-name
2. Enter the IPv4 or IPv6 address and transport-service port number in DESTINATION-GROUP mode. Only one destination is
supported in the 10.4.3.0 release. You can enter a fully qualified domain name (FQDN) for ip-address. The destination domain
name resolves to an IP address see System domain name and list.
OS10(conf-telemetry-dg-dest)# destination ip-address port-number
3. Return to TELEMETRY mode.
OS10(conf-telemetry-dg-dest)# exit
Configure a subscription profile
A subscription profile associates destination groups and sensor groups, and specifies the data encoding format and transport
protocol.
1. Enter the subscription profile name in TELEMETRY mode. A maximum of 32 characters.
OS10(conf-telemetry)# subscription-profile profile-name
2. Enter the name of a pre-configured sensor group and sampling interval in SUBSCRIPTION-PROFILE mode. Valid sensor-
group names are: bgp, bgp-peer, buffer, device, environment, interface, lag, and system. To view the data
contents of a pre-configured sensor group, use the show telemetry sensor-group command. The interface
sensor group supports only physical and port-channel interfaces.
The sampling interval is in milliseconds, from 0 (whenever an event occurs; near real-time) to 4294967295. The default is
15000. Repeat this step to add sensor groups to the subscription profile.
OS10(conf-telemetry-sp-subscription)# sensor-group group-name sampling-interval
3. Enter the name of a destination group in SUBSCRIPTION-PROFILE mode. Telemetry data is sent to the IP address and port
specified in the destination group. Repeat this step to add destination groups to the subscription profile.
OS10(conf-telemetry-sp-subscription)# destination-group name
4. Enter the source interface in SUBSCRIPTION-PROFILE mode. The system uses the source interface to derive the VRF
instance and IP address used to communicate with destination devices. For gRPC transport, source interface configuration is
optional.
OS10(conf-telemetry-sp-subscription)# source-interface interface
Where interface is one of the following values:
ethernet node/slot/port[:subport] Enter a physical Ethernet interface.
loopback number Enter a Loopback interface, from 0 to 16383.
management 1/1/1 Enter the management interface.
port-channel channel-id Enter a port-channel ID, from 1 to 28.
vlan vlan-id Enter a VLAN ID, from 1 to 4093.
5. Configure the gpb encoding format in which data is streamed in SUBSCRIPTION-PROFILE mode.
OS10(conf-telemetry-sp-subscription)# encoding format
1372
Telemetry