In dynamic telemetry subscription, an IPv6 collector functioning as a client initiates a connection to a device functioning as a server, and the device collects and reports data.
If an IPv6 collector functioning as a client initiates a connection to a device functioning as a server, the data sampled is dynamically subscribed to. In this case, you need to configure the source IPv6 address and port number for listening, and enable the gRPC service.
If the connection that carries dynamic telemetry subscription is interrupted, the device automatically cancels the subscription and stops data sampling and reporting. The configuration cannot be restored unless the collector sends a connection request again. For example, if a user wants to monitor an interface for a period of time, configure dynamic telemetry subscription. To stop monitoring, tear down the connection. The subscription is automatically canceled and cannot be restored. This avoids the long-term load on devices and simplifies the interaction between users and devices.
Before configuring dynamic telemetry subscription, complete the following tasks:
configure a dynamic routing protocol or static routes to ensure that devices can communicate at the network layer.
Create an ACL if you need to configure an ACL for the gRPC IPv6 service to control which clients can connect to the server. For details about how to create an ACL, see "ACL6 Configuration" in Configuration Guide > IP Services.
Create an SSL policy if you need to configure an SSL policy for the gRPC IPv6 service so that a secure SSL connection can be established between the server and client. For details about how to create an SSL policy, see "Configuring and Binding an SSL Policy" in Configuration Guide > Basic Configuration.
The system view is displayed.
The gRPC view is displayed.
The IPv6 gRPC server view is displayed.
The source IPv6 address to be listened for during dynamic telemetry subscription is configured.
The number of the port to be listened for during dynamic telemetry subscription is configured.
An IPv6 ACL is configured for the gRPC service during dynamic telemetry subscription.
The idle timeout interval of the gRPC IPv6 service during dynamic telemetry subscription is set.
An SSL policy is configured for the gRPC IPv6 service during dynamic telemetry subscription.
The server is configured to perform SSL verification on a client during dynamic telemetry subscription.
A DSCP value is set for data packets to be sent.
The gRPC IPv6 service is enabled.
Return to the gRPC view.
Return to the system view.
The telemetry view is displayed.
A maximum usage is configured for the main control board's CPU used when telemetry collects data.
This command is supported only by the admin VS.
The configuration is committed.
After the preceding configurations are performed and the collector delivers the data sampled, verify the configuration.
Run the display telemetry dynamic-subscription [ subName ] command to check the dynamic subscription information.