![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 134](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487134.webp)
Procedure
Step 1
Run:
system-view
Step 2
Run:
rmon2 protocoldirtable protocoldirid
protocol-id
parameter
parameter-value
[
descr
description-string
] [
host
{
notsupported
|
supportedon
|
supportedoff
} ]
[
owner
owner-name
] [
status
{
active
|
inactive
} ]
The protocolDirTable is configured.
The RMON2 supports the traffic statistics of IP packets only on Ethernet interfaces. Since a
single protocol corresponds to an entry, this table currently has only one entry.
l
When an entry is created or the entry status (protocolDirStatus) is set to
active
, both
parameter
(equivalent to protocolDirDescr) and
host
(equivalent to
protocolDirHostConfig) must be set at the same time.
l
When the protocolDirStatus is set to
active
, the value in the protocolDirDescr cannot be
changed.
–
If the protocolDirHostConfig value is
notsupported
, it cannot be changed into other
values.
–
If the value is not
notsupported
, it can be switched between
supportedon
and
supportedoff
.
–
When the protocolDirHostConfig value changes from
supportedon
to
supportedoff
, the
corresponding entry in the hlHostControlTable is deleted.
l
When the protocolDirStatus is set to
inactive
, the corresponding entry in the hlHostTable is
deleted.
----End
2.4.4 Checking the Configuration
After configuring RMON2, you can view the traffic statistics collected by RMON2.
Prerequisite
The configurations of the RMON2 are complete.
Procedure
Step 1
Run the
display rmon2 protocoldirtable
command to view the information about the
protocolDirTable.
Step 2
Run the
display rmon2 hlhostcontroltable
[
index
ctrl-index
] command to view the
information about the hlHostControlTable.
Step 3
Run the
display rmon2 nlhosttable
[
hostcontrolindex
ctrl-index
] [
timemark
time-value
]
[
protocoldirlocalindex
protocol-local-index
] [
hostaddress
ip-address
] command to view
the information about the nlHostTable.
----End
2 RMON and RMON2 Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
2-14
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)