Configuring Static Telemetry Subscription (IPv6 Collector)
Static telemetry subscription indicates that a device functioning as a client initiates a connection to a collector functioning as a server to send data collected.
Usage Scenario
The controller uses commands to configure devices that support telemetry, subscribe to data sources, and collect data. The protocol used to send data can be gRPC or UDP.
In static telemetry subscription mode, a device initiates a connection to a collector to send data collected.
- If the connection is interrupted, the device connects to the collector and sends data again. However, the data sampled when the connection is being established again is lost.
- After an active/standby switchover is performed or the system saves telemetry service configurations and restarts, the telemetry service reloads its configurations and continues to run. However, the data sampled during the restart or active/standby switchover is lost.
If the device restarts or a master/slave main control board switchover occurs, the system is busy and the CPU usage is high. In this case, you can configure static telemetry subscription for coarse-grained data collection to relieve the device load.
Pre-configuration Tasks
Before configuring static telemetry subscription, configure a dynamic routing protocol or static routes to ensure that devices can communicate at the network layer.
Configuration Procedures
Perform one or more of the following configurations as required.
-
Configuring an IPv6 Destination Collector
-
When you configure static telemetry subscription to the data sampled or a customized event, you need to specify a destination collector to which the data is sent.
-
Configuring the Data to Be Sampled or a Customized Event
-
When you configure static telemetry subscription to the data sampled or a customized event, you need to create a sampling sensor group and specify a sampling path and filter criteria.
-
Creating a Subscription
-
When you configure static telemetry subscription to the data sampled or a customized event, you need to create a subscription to associate the configured destination group with the configured sampling sensor group so that data can be sent to the collector.
-
Verifying the Telemetry Configuration
-
After configuring static telemetry subscription to the data sampled or a customized event, verify information about the sampling sensor group, destination group, and subscription.