measure disable (Statistics task view)

Function

The measure disable command disables statistics counters of the instance bound to a performance statistics task.

The undo measure disable command restores the default configuration.

By default, all statistics counters of the instance bound to a performance statistics task are enabled.

Format

measure disable task-name

Parameters

Parameter Description Value
task-name

Specifies the name of a statistics counter in a performance statistics task. Each statistics counter is predefined in a specific feature.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

Views

Statistics task view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
perf-mgr write

Usage Guidelines

Usage Scenario

To disable one or more statistics counters of the instance bound to a performance statistics task, run the measure disable command.

Prerequisites

An instance has been bound to a performance statistics task using the binding instance-type instance-type-name instance instance-name command.

The performance statistics function has been enabled using the statistics enable command.

Example

# Disable statistics counter of in-errors
<HUAWEI> system-view
[~HUAWEI] pm
[~HUAWEI-pm] statistics enable
[*HUAWEI-pm] statistics-task huawei
[*HUAWEI-pm-statistics-huawei] binding instance-type interface instance GigabitEthernet0/1/1
[*HUAWEI-pm-statistics-huawei] measure disable in-errors
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >