No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring RMON2 Statistics Collection

Configuring RMON2 Statistics Collection

Context

RMON2 collects statistics about traffic on a specified interface, including the source/destination hosts and traffic passing the interface from each host on the network.

RMON2 supported by the router can collect statistics on IP packets on the specified interfaces.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run rmon2 hlhostcontroltable index ctrl-index [ datasource interface interface-type interface-number ] [ maxentry maxentry-value ] [ owner owner-name ] [ status { active | inactive } ]

    A host control table is created and an entry is added to the table.

    If the host control table contains too many entries, system performance is degraded. The default settings of host control table are recommended. By default, a host control table contains a maximum of 50 entries.

    When creating an entry, specify the datasource interface parameter to identify the interface, which specifies the subnet. The parameter value, namely, the interface index, is the data source defining the entry. In the command, the data source is represented by interface type and number. Only one entry can be created for each interface in the host control table.

    The parameter status in the display rmon2 hlhostcontroltable command output matches the hlhostcontrolstatus value, which indicates the entry status.

    • When the hlhostcontrolstatus value is set to inactive, all related entries in the host table are deleted automatically.

    • When the hlhostcontrolstatus value is set to active, you cannot change the hlhostcontroldatasource and hlhostcontrolnlmaxdesiredentries values.

    • If an interface that corresponds to the hlhostcontroldatasource in an entry is deleted, the entry is deleted at the same time.

  3. Run rmon2 protocoldirtable protocoldirid protocol-id parameter parameter-value [ descr description-string ] [ host { notsupported | supportedon | supportedoff } ] [ owner owner-name ] [ status { active | inactive } ]

    A protocol directory table is created and an entry is added to the table.

    RMON2 collects only statistics on IP packets on an Ethernet interface. A protocol occupies an entry, so there is only one entry in the table.

    When running the rmon2 protocoldirtable command, you must set the description and protocols supported by the host. That is, the descr and host parameters are mandatory.

    The parameter status in the display rmon2 protocoldirtable command output matches the protocolDirStatus value, which indicates the entry status.

    • When the status parameter is set to active, the descr value cannot be modified. The value of host (corresponding to the protocolDirHostConfig value, indicating the protocol directory host configuration) can be modified. This parameter indicates whether to monitor the network-layer host table of the protocol.
      • If the host value is set to notsupported, the host value cannot be modified.
      • If the host value is not notsupported, the value can be switched between supportedon and supportedoff.
      • When the host value is changed from supportedon to supportedoff, the corresponding entry in the host control table is deleted.
    • When the status is inactive, all related entries in the host table are deleted.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 100310

Downloads: 332

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next