The policy reset-when-start command clears a sampling path during initial configuration.
The undo policy reset-when-start command restores the default configuration.
By default, no sampling path is cleared during initial configuration.
Usage Scenario
To clear a sampling path during initial configuration, run the policy reset-when-start command. Only the sampling path huawei-qos:qos/global-query/default-queue-statisticss/default-queue-statistics can be cleared during initial configuration.
Prerequisites
A sampling path has been configured using the sensor-path command.
<HUAWEI> system-view [~HUAWEI] telemetry [~HUAWEI-telemetry] sensor-group 1 [~HUAWEI-telemetry-sensor-group-1] sensor-path huawei-qos:qos/global-query/default-queue-statisticss/default-queue-statistics [*HUAWEI-telemetry-sensor-group-1-path] policy reset-when-start