policy reset-when-start

Function

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.

Format

policy reset-when-start

undo policy [ reset-when-start ]

Parameters

None

Views

Sensor path view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
telemetry write

Usage Guidelines

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.

Example

# Clear the sampling path huawei-qos:qos/global-query/default-queue-statisticss/default-queue-statistics during initial configuration.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >