If the statistics function is not enabled on the interface, the statistics value in ethernetStatsTable
and historyControlTable of RMON is 0.
----End
2.2.3 Configuring the ethernetStatsTable
EthernetStatsTable records traffic information that RMON collects on interfaces.
Context
Do as follows on the router on which traffic statistics should be collected:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
ethernet
interface-number
The interface view is displayed.
Step 3
Run:
rmon statistics
entry-number
[
owner
owner-name
]
The ethernetStatsTable is configured.
To monitor the statistics of an interface on a device, a network administrator needs to create a
table entry for this interface and specify the interface OID, entry index, and entry state. The
network administrator can then read the corresponding entry to obtain the latest statistics.
----End
2.2.4 Configuring the HistoryControlTable
HistoryControlTable provides the historical data management function. With this function, you
can sample traffic of a certain interface, set the maximum number of items to be saved and the
sampling interval, collect traffic statistics on the specific interface periodically, and save the
statistics to etherHistoryTable for future use.
Context
As recommended by the RMON specifications, each monitored interface should be configured
with more than two history control entries. One entry is sampled every 30 seconds while another
entry is sampled every 30 minutes.
The short sampling interval enables a monitor to probe the sudden changes of traffic modes, and
the long sampling interval is applicable if the interface status is relatively stable.
Currently, the AR150/200 reserves up to 10 pieces of the latest records for each history control
entry.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
2 RMON Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
47