API Guide

Command mode SUBSCRIPTION-PROFILE
Usage
information
A subscription profile associates destination groups and sensor groups. A destination group defines the
destination servers to which streaming telemetry data is sent. The no version of this command removes
the configured group from the subscription profile.
Example
OS10(conf-telemetry)# subscription-profile subscription-1
OS10(conf-telemetry-sp-subscription-1)# destination-group dest1
Supported
releases
10.4.3.0 or later
sensor-group (subscription-profile)
Assigns a sensor group with sampling interval to a subscription profile for streaming telemetry.
Syntax
sensor-group {bgp | bgp-peer | buffer | device | environment | interface |
lag | system | oc-bfd} group-name sampling-interval
Parameters
bgp Enter bgp to assign a BGP statistics sensor group to the subscription profile.
bgp-peer Enter bgp-peer to assign BGP peer statistics sensor group to the subscription profile.
buffer Enter buffer to assign buffer statistics sensor group to the subscription profile.
device Enter device to assign device statistics sensor group to the subscription profile.
environment Enter environmnet to assign environment statistics sensor group to the
subscription profile.
interface Enter interface to assign interface statistics sensor group to the subscription
profile.
lag Enter lag to assign LAG statistics sensor group to the subscription profile.
system Enter system to assign system statistics sensor group to the subscription profile.
sampling-interval Enter the interval in milliseconds used to collect data samples. The range is
0 to 4294967295. The default is 15000.
Default Not configured
Command mode SUBSCRIPTION-PROFILE
Usage
information
This command assigns the sensors from which data is collected for streaming telemetry to a subscription
profile and specifies the sampling rate. To add sensor groups to the subscription profile, reenter the
command. The interface sensor group supports only physical and port channel interfaces. The no
version of this command deletes the sensor group from the subscription profile.
NOTE: The subscription profile should contain either OS10 sensor groups or openconfig sensor
groups. Both sensor groups cannot co-exist in a single subscription profile.
Example
OS10(conf-telemetry)# subscription-profile sp01
OS10(conf-telemetry-sp-sp01)#
OS10(conf-telemetry-sp-sp01)# sensor-group
bgp BGP statistics sensor
group
bgp-peer BGP Peer statistics sensor group
buffer QOS Buffer statistics sensor group
device Device statistics sensor group
environment Switch peripheral statistics sensor group
interface Interface statistics sensor group
lag Lag statistics sensor group
system System statistics sensor group
OS10(conf-telemetry)# subscription-profile subscription-1
OS10(conf-telemetry-sp-subscription-1)# sensor-group bgp 30000
OS10(conf-telemetry-sp-subscription-1)# sensor-group environment 415000
1378 Telemetry