< Home

rmon-statistics enable

Function

The rmon-statistics enable command enables RMON statistics function on an interface.

The undo rmon-statistics command disables RMON statistics function on an interface.

By default, RMON statistics function is disabled on interfaces.

Format

rmon-statistics enable

undo rmon-statistics

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Port-Group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the statistics function is not enabled on an interface, statistics in the statistics table and history table are 0.

Precautions

In versions earlier than V200R019C00, this command cannot be configured on Eth-Trunk member interfaces. Starting from V200R019C00, this command can be configured on Eth-Trunk member interfaces.

After the interface mode is changed from Layer 2 to Layer 3 by using the undo portswitch command, the device does not support the rmon-statistics enable command.

Example

# Enable RMON statistics function on GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] rmon-statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >