< Home

rmon statistics

Function

The rmon statistics command adds an entry to the statistics table.

The undo rmon statistics command deletes an entry from the statistics table.

Format

rmon statistics entry-number [ owner owner-name ]

undo rmon statistics entry-number

Parameters

Parameter Description Value

entry-number

Indicates the row index corresponding to the entry to be added or deleted.

The value is an integer that ranges from 1 to 65535.

owner owner-name

Indicates the owner name.

The name is a string of 1 to 127 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To keep collecting statistics on the current interface, run the rmon statistics command to configure a statistics table and add an entry to the table. This command monitors usage of Ethernet interfaces and collects statistics on errors, including the number of collision packets, CRC error packets, undersize and large packets, timeout packets, fragments, broadcast packets, multicast packets, and unicast packets.

Prerequisites

The rmon-statistics enable command is executed to enable RMON statistics function on the interface. If the command is not executed, the statistics result is 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.

Example

# Configure a statistics table on GigabitEthernet0/0/1 and add an entry with index 20 to the table.

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