The protocol command configures a protocol and encryption mode for the target collector that is associated with the current subscription.
The undo protocol command deletes the protocol and encryption mode configured for the target collector that is associated with the current subscription.
By default, no protocol and encryption mode are configured for the target collector that is associated with the current subscription.
Parameter | Description | Value |
---|---|---|
grpc |
Specifies gRPC as the data reporting protocol. |
- |
no-tls |
Parameter indicating whether to use TLS encryption.
|
- |
udp |
Specifies UDP as the data reporting protocol. |
- |
Usage Scenario
To configure a protocol and encryption mode for the target collector associated with a created subscription, run the protocol command.
Precautions
Both this command and the ipv4-address port command or ipv6-address port command in the Destination-group view can configure a protocol and encryption mode for the target collector. If the target collector is associated with the subscription, command configurations take effect based on the following rules: