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.
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. |
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.
<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