measure disable instance-type(Statistics task view)

Function

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

The undo measure disable instance-type command restores the default configuration.

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

Format

measure disable instance-type instance-type measure measure-name

undo measure disable instance-type instance-type measure measure-name

Parameters

Parameter Description Value
instance-type instance-type

Specifies the type of an instance bound to a performance statistics task. The instance type is predefined in each feature. Each instance type is defined in a feature.

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

measure-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-insensitive 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 command.

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

Example

# Disable statistics counter in-errors of the interface instance bound to the performance statistics task named huawei.
<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 instance-type interface measure in-errors
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >