Configuring Telemetry on RoCE Networks
Telemetry is a technology for rapidly collecting data from remote devices. Devices proactively send their data to the collector in push mode, implementing real-time and high-speed data collection.
- The onsite network must be implemented based on the plan to ensure that all switches on the data center network and collectors can communicate with each other. Otherwise, Telemetry packets will fail to be reported. The Telemetry configuration on devices must be planned based on the network requirements. The configuration here is only for reference.
- For details about the version support and licensing requirements for Telemetry, see "Licensing Requirements and Limitations for Telemetry" in CloudEngine Series Switches Product Documentation.
<HUAWEI> system-view [~HUAWEI] telemetry [~HUAWEI-telemetry] sensor-group lowlatencynetwork //Create a sampling sensor group named lowlatencynetwork to collect RoCE network performance metrics. [*HUAWEI-telemetry-sensor-group-lowlatencynetwork] sensor-path huawei-qos:qos/qosPortEcnStats/qosPortEcnStat [*HUAWEI-telemetry-sensor-group-lowlatencynetwork] sensor-path huawei-qos:qos/qosIngPortQueBufStats/qosIngPortQueBufStat [*HUAWEI-telemetry-sensor-group-lowlatencynetwork] sensor-path huawei-qos:qos/qosPortPfcStats/qosPortPfcStat [*HUAWEI-telemetry-sensor-group-lowlatencynetwork] sensor-path huawei-qos:qos/qosQueueHdrmStats/qosQueueHdrmStat [*HUAWEI-telemetry-sensor-group-lowlatencynetwork] quit //Configure the sampling path for the Telemetry sensor to collect RoCE network performance metrics. [*HUAWEI-telemetry] destination-group fabricgroup3 //Create a target group named fabricgroup3 for receiving the collected data. [*HUAWEI-telemetry-destination-group-fabricgroup3] ipv4-address destip-address port 30003 protocol grpc [*HUAWEI-telemetry-destination-group-fabricgroup3] quit //Set the destination address for receiving the collected data to the iMaster NCE-FabricInsight data collection IP address specified by destip-address. (If both analyzers and collectors are deployed, use the collector's floating IP address. If only the analyzer is deployed, use the southbound floating IP address of the analyzer.) Set the port number to the default value 30003, which is the same as the port for receiving Telemetry data reported by CE switches in TLS authentication mode. [*HUAWEI-telemetry] subscription fabricsubscription3 [*HUAWEI-telemetry-subscription-fabricsubscription3] local-source-address ipv4 source-ip-address //Create a subscription named fabricsubscription, which is used to associate a sampling sensor group with a target group. source-ip-address indicates the source IP address for sending data using the gRPC protocol. [*HUAWEI-telemetry-subscription-fabricsubscription3] sensor-group lowlatencynetwork sample-interval 60000 [*HUAWEI-telemetry-subscription-fabricsubscription3] destination-group fabricgroup3 [*HUAWEI-telemetry-subscription-fabricsubscription3] quit [*HUAWEI-telemetry] quit //Associate the sampling sensor group lowlatencynetwork with the target group fabricgroup3 for the subscription fabricsubscription3. //The collection period is related to the precision of the collected data and the accuracy of data analysis. The recommended value must be used. It is recommended that the interval for collecting RoCE network performance metrics be set to 1 minute (60,000 ms). [*HUAWEI] commit