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

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management
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 RMON

Configuring RMON

Configuring RMON helps to monitor network status and traffic.

Applicable Environment

RMON allows the NMS to remotely manage and monitor devices. It provides traffic statistics and alarm functions.

  • Statistics function

    Traffic statistics function enables a managed device to periodically or continuously collect traffic statistics on its connected network segment. The statistics include the total number of received packets and the number of received long packets.

  • Alarm function

    This function allows a managed device to generate a log and send a trap message to the NMS after the managed device finds that a bound variable of a MIB object exceeds the alarm threshold (for example, an interface rate or the percentage of broadcast packets reaches a specific value).

RMON can be used to monitor or collect statistics about traffic on a network segment.

There are no restrictions on the start time of RMON. It can be started to monitor a specific interface, or can be started when the traffic of the sub-network to which an interface connects is suspected of being abnormal. RMON provides two functions:

  • Traffic statistics function: is deployed on interfaces that have abnormal traffic.
  • Alarm function: is used to measure one or more indexes. After upper and lower thresholds are set for an index, an alarm is generated if the index exceeds the upper threshold or falls below the lower threshold.
NOTE:

RMON provides traffic statistics and information about abnormalities, but cannot prevent them. Other management methods are required to eliminate the abnormalities.

Pre-configuration Tasks

Before configuring RMON, complete the following task:

  • Configuring basic SNMP functions

Data Preparation

No.

Data

1

Name of the interface on which the traffic statistics function needs to be enabled and traffic statistics parameters

2

Alarm thresholds

Configuration Procedures

Perform one or more of the following configurations (excluding checking the configuration) as required.

Configuring the RMON Statistics Function

Configuring the RMON statistics function helps to collect and record statistics of an interface.

Context

RMON statistics can be divided into the Ethernet statistics function and historical sampling function.
  • Ethernet statistics function (corresponding to the statistics group in RMON MIB): The system collects the statistics about basic traffic on monitored interfaces.
  • Historical sampling function (corresponding to the history group in RMON MIB): The system samples the interface statuses on the network periodically and stores the information for later queries.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface on which traffic statistics are collected is specified and the view of the interface is displayed.

  3. Run rmon-statistics enable

    The RMON statistics function is enabled on the interface.

    If the RMON statistics function is not enabled, the Ethernet statistics and historical sampling functions cannot be enabled.

  4. Run rmon statistics entry-number [ owner owner-name ]

    The Ethernet statistics function is configured.

  5. Run rmon history entry-number buckets number interval sampling-interval [ owner owner-name ]

    The historical sampling function is configured.

    To reduce the impact of RMON on system performance, the sampling interval should be set to be longer than 10 seconds, and the historical sampling function should not be configured multiple times on an interface. RMON suggests that each monitored interface can be configured with more than two historical samples and the sampling interval should be 30 seconds.

  6. Run commit

    The configuration is committed.

Configuring the RMON Alarm Function

After the RMON alarm function is configured on a device, the device will generate a log or an alarm if the sampling value exceeds the alarm threshold.

Context

The RMON alarm function is implemented based on the event table and alarm table.
  • Event table (corresponding to the event group in RMON MIB): When an event occurs, the system generates a log or sends a trap message to the NMS.
  • Alarm table (corresponding to the alarm group in RMON MIB): A specified alarm variable identified by its OID is monitored at a specified sampling interval. A log or an alarm is generated when the monitored variable exceeds the defined threshold.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run rmon event entry-number [ description string ] { log | trap object | log-trap object | none } [ owner owner-name ]

    The event function is configured.

    The parameters in the command are described as follows:
    • log: The system only generates a log.

    • log-trap: The system generates a log and sends a trap message to the NMS.

    • none: The system does not take any action.

    • trap: The system only sends a trap message to the NMS.

  3. Run rmon alarm entry-number alarm-OID sampling-time { absolute | changeratio | delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 [ startup-alarm { falling | rising | risingorfalling } ] [ owner owner-name ]

    The alarm threshold function is configured.

    If the events corresponding to the upper and lower alarm threshold (event-entry1 and event-entry2) are not configured, no alarm is generated even if the alarm conditions are satisfied. At this time, the alarm is in the Undercreation state rather than in the Valid state.

    If the event corresponding to either the upper or lower alarm threshold is configured, an alarm is triggered once the alarm conditions are satisfied. At this time, the alarm is in the Valid state. If an incorrect monitored object is configured, for example, a nonexistent OID is specified, the alarm is in the invalid state and no alarm is generated.

  4. Run commit

    The configuration is committed.

Verifying the RMON Configuration

After configuring RMON, you can view the traffic statistics collected by RMON.

Prerequisites

RMON configuration has been completed.

Procedure

  • Run the display rmon statistics [ interface-type interface-number ] command to check RMON statistics.
  • Run the display rmon history [ interface-type interface-number ] command to check RMON historical sampling information.
  • Run the display rmon event [ entry-number ] command to check the RMON event processing mode: recording a log or sending a trap.
  • Run the display rmon eventlog [ entry-number ] command to check details about RMON logs.
  • Run the display rmon alarm [ entry-number ] command to check RMON alarm configurations.

Example

Run the display rmon statistics command to view the RMON statistics.

<HUAWEI> display rmon statistics
Statistics entry 1 owned by userA is valid.
  Interface : GigabitEthernet0/3/0<ifEntry.402653698>
  Received  :
  Octets              :4294966296, Packets          :265484
  Broadcast packets   :262490    , Multicast packets:568
  Undersize packets   :0         , Oversize packets :0
  Fragments packets   :0         , Jabbers packets  :0
  CRC alignment errors:0         , Collisions       :0
  Dropped packets (insufficient resources):0
  Packets received according to length (octets):
  64     :0         ,  65-127  :0         ,  128-255  :0
  256-511:0         ,  512-1023:0         ,  1024-1518:0

Run the display rmon history command to view the RMON historical sampling information.

<HUAWEI> display rmon history
History control entry 1 owned by Creator is VALID
  Sampled interface     : GigabitEthernet0/3/0
  Sampling interval     : 30(sec) with 10 buckets max
  Last Sampling time    : 0days 00h:09m:43s
  Latest sampled values :
  Octets               :645       , Packets           :7
  Broadcast packets    :7         , Multicast packets :0
  Undersize packets    :6         , Oversize packets  :0
  Fragments packets    :0         , Jabbers packets   :0
  CRC alignment errors :0         , Collisions        :0
  Dropped packets:      :0         , Utilization       :0
Run the display rmon event command to check the RMON event processing mode: recording a log or sending a trap.
<HUAWEI> display rmon event
Event table 1 owned by userA is valid.
  Description: null.                          
  Will cause log when triggered, last triggered at 0days 04h:24m:10s.75th
Run the display rmon eventlog command to view details about the RMON log.
<HUAWEI> display rmon eventlog
Event table 1 owned by null is valid.
  Generates eventLog 1.1 at 0days 04h:24m:08s.46th
  Description: The 1.3.6.1.2.1.2.2.1.4.3 defined in alarm table 1 is greater than or equal to 1000 with alarm value 1500. Alarm sample type is absolute.
Run the display rmon alarm command to view configurations of the RMON alarm function.
<HUAWEI> display rmon alarm 1
Alarm table 1 owned by creater is valid.
 Samples absolute value : 1.3.6.1.2.1.2.2.1.4.3
 Sampling interval    : 5(sec)
 Rising threshold     : 1000(linked with event 1)
 Falling threshold    : 100(linked with event 1)
 When startup enables : risingOrFallingAlarm
 Latest value         : 1500
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 14592

Downloads: 26

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