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.
When static subscription is configured, a device functions as a client and a collector functions as a server. To statically subscribe to the data sampled or a customized event, you need to create a subscription to set up a data sending channel. The protocol used to send data can be gRPC or UDP.
Before configuring an SSL policy on the client to establish a secure SSL connection between the client and server, ensure that the SSL policy has been created. For details about how to create an SSL policy, see "Configuring and Binding an SSL Policy" in Configuration - Basic Configuration - Accessing Other Devices Configuration.
The system view is displayed.
The telemetry view is displayed.
A subscription is created to associate a destination group with a sampling sensor group, and the subscription view is displayed.
A sampling sensor group is associated with the subscription, and a sampling interval, redundancy suppression, and a heartbeat interval are configured for the sampling sensor group.
A destination group is associated with the subscription.
A protocol and encryption mode are configured for the target collector that is associated with this subscription.
If this command has been run, the protocol and encryption mode configured by running this command in the subscription view take effect.
If this command is not run, the protocol and encryption mode configured by running the ipv4-address command in the destination-group view take effect.
A source IP address is configured for gRPC-based data sending.
In the same subscription view, either the source interface or the source IP address can be configured for packets to be sent.
A DSCP value is set for data packets to be sent.
An encoding format is configured for data packets to be sent.
Run quit
Return to the telemetry view.
Run cpu-usage max-percent usage
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 certificate to be loaded must be supported by both the client and server.
Run quit
Return to the system view.
Run grpc
The gRPC view is displayed.
Run grpc client
The gRPC client view is displayed.
Run ssl-policy ssl-policy-name [ verify-cn cn-name | verify-san san ]
An SSL policy is configured for the client during static telemetry subscription.
If the no-tls parameter has been configured by running the ipv4-address port or protocol (subscription view) command, the TLS encryption mode is not used. In this case, the client-specific SSL policy configured by running this command does not take effect.
Run ssl-verify peer
A client is enabled to perform SSL verification on a server during static telemetry subscription.
If the no-tls parameter has been configured by running the ipv4-address port or protocol (subscription view) command, the TLS encryption mode is not used. In this case, the configuration that enables the client to perform SSL verification on a server does not take effect.
A DSCP value is set for data packets to be sent.
This configuration takes effect differently from the dscp command configured in the subscription view. This configuration takes effect on all connections of the gRPC client. If the dscp command is configured in both the gRPC client view and the subscription view, the DSCP value configured in the subscription view takes effect.
The configuration is committed.
The system view is displayed.
The telemetry view is displayed.
A subscription is created to associate a destination group with a sampling sensor group, and the Subscription view is displayed.
A sampling sensor group is associated with the subscription, and a sampling interval, a heartbeat interval, and redundancy suppression are configured for the sampling sensor group.
A destination group is associated with the subscription.
A protocol and encryption mode are configured for the target collector that is associated with this subscription.
If this command has been run, the protocol and encryption mode configured by running this command in the subscription view take effect.
If this command is not run, the protocol and encryption mode configured by running the ipv4-address command in the destination-group view take effect.
A source IP address and a port number are configured for UDP-based data sending.
In the same subscription view, either the source interface or the source IP address can be configured for packets to be sent.
A DSCP value is set for data packets to be sent.
An encoding format is configured for data packets to be sent.
Run quit
Return to the telemetry view.
Run cpu-usage max-percent usage
A maximum usage is configured for the main control board's CPU used when telemetry collects data.
The configuration is committed.